I'm using the “measure” node to calculate the volume of a extruded polygon.
However, after I chose the “Volume” in the “Type” parameter of the measure node, it gives me a series of values, one for each primitive, rather than a singel volume value. I think the volume of this geometry should equals to the area of the base polygon times the magnitude of extrusion.
See the attached image.
Please help me to point out my mistakes and tell me the correct way to measure the volume of whatever geometry.
BTW, the help file for the “measure” node doesn't even mention the “volume” option in the “Type” parameter. Can Houdini developer help to clarify this issue?
Thanks!
measure node does NOT produce a single volume value
6697 4 1- oat
- Member
- 479 posts
- Joined: Dec. 2009
- Offline
- midorime
- Member
- 31 posts
- Joined:
- Offline
After the Measure SOP, add an AttributePromote SOP with:
original name: volume
original class: primitive
new class: detail
promotion method: sum
…then you should have the volume of your object stored in an attribute at the Detail level.
I tried with some objects and it seems to work fine.
I believe the Measure SOP stores partial volume for each primitive, so the sum should be the right thing to do.
Cheers,
Emanuele
original name: volume
original class: primitive
new class: detail
promotion method: sum
…then you should have the volume of your object stored in an attribute at the Detail level.
I tried with some objects and it seems to work fine.
I believe the Measure SOP stores partial volume for each primitive, so the sum should be the right thing to do.
Cheers,
Emanuele
- oat
- Member
- 479 posts
- Joined: Dec. 2009
- Offline
Thank you very much for your kind help, midorime!
It works according to your suggestion.
But I still want to ask the developer of Houdini why the explanation for the option of “Volume” in the “Type” parameter is not presented in the Houdini help file?
Maybe graham can help on this? thank you in advance!
It works according to your suggestion.
But I still want to ask the developer of Houdini why the explanation for the option of “Volume” in the “Type” parameter is not presented in the Houdini help file?
Maybe graham can help on this? thank you in advance!
- jlait
- Staff
- 6413 posts
- Joined: July 2005
- Offline
- oat
- Member
- 479 posts
- Joined: Dec. 2009
- Offline
-
- Quick Links