Jump to content
Sign in to follow this  
tagosaku

measure volume by VEX or attributeVOP

Recommended Posts

Hi, I am looking for measuring volume by VEX and/or attributeVOP, instead of measureSOP node. Basically I have mega voronoi fracture model. After that, I want to apply for volume calculation with loop node and compile node. Key is that I cannot use hscript expression in measure>center with compile node. That's why I am looking for another method. 

Share this post


Link to post
Share on other sites

can you use the intrinsic:measuredvolume ?

float volume = primintrinsic(0,'measuredvolume',@primnum);

Share this post


Link to post
Share on other sites

Thanks, John!! that wrangle is even simpler and better because it does not require center value like a measure sop node.  And I succeeded to create compile version of measure volume.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×