ela1995 Posted March 8, 2021 Share Posted March 8, 2021 I learn how to find the center point on internet, but seem like it doesn't apply in this situation. How do I find the exact center point for these primitive? center point for custom primitive.hip random primitive.obj Quote Link to comment Share on other sites More sharing options...
Librarian Posted March 8, 2021 Share Posted March 8, 2021 (edited) Maybe ..you have Here in Forum diif Approach I think . float bound[] = primintrinsic(@OpInput1, "bounds", @primnum); vector min = set(bound[0], bound[2], bound[4]); vector max = set(bound[1], bound[3], bound[5]); addpoint(geoself(),avg(min,max)); removeprim(geoself(),@primnum,1); Vbbb.hiplc Edited March 9, 2021 by Librarian Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.