Jump to content

volume of an object affect on your effect


amin.khormaei

Recommended Posts

hey guys ,

how can I calculate the volume of an object in VEX ,

I want to write something like this one below:

the line of your script * volume of a specific object

I used getbbox_size but the result is a scalar.

I want everything in the object to have the effect.

what should I do?

best regards

Edited by amin.khormaei
Link to comment
Share on other sites

you can use Measure SOP to get volume of a polygonal geo per piece for example or for the whole detail

as long as it's manifold, watertight and geometry normals point outside the volume value should be correct

then you can use it in your wrangle

 

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...