I don't quite understand how the "AttribFromVolumn&quot

   2746   4   0
User Avatar
Member
10 posts
Joined: 6月 2014
オフライン
Hi, I'm new to houdini. I don't understand how “AttribFromVolumn” work. Which attribute of the volumn does it take?
User Avatar
Member
8110 posts
Joined: 7月 2005
オフライン
It uses the points from the first input as positions to sample into the volume primitives in the second input. It then puts the result into an attribute on the points (of the first input). The tuple/components size of the attribute should match the volumes that you set in the Volume parameter. Since Houdini Volume primitives are always scalar fields, then you should specify 1 volume for each component of your attribute.
User Avatar
Member
10 posts
Joined: 6月 2014
オフライン
edward
It uses the points from the first input as positions to sample into the volume primitives in the second input. It then puts the result into an attribute on the points (of the first input). The tuple/components size of the attribute should match the volumes that you set in the Volume parameter. Since Houdini Volume primitives are always scalar fields, then you should specify 1 volume for each component of your attribute.
Thank you for your reply!! But I still wonder, coz there's no parameter that specifys which attribute of the volume does it take. For example, what if there're more than on attribute that are stored on the volume, eg. density, temperature, pressure…
User Avatar
Member
8110 posts
Joined: 7月 2005
オフライン
A volume primitive does not have multiple attributes per voxel. So density is a separate volume primitive from temperature, for example.
User Avatar
Member
10 posts
Joined: 6月 2014
オフライン
edward
A volume primitive does not have multiple attributes per voxel. So density is a separate volume primitive from temperature, for example.
Got it! Thanks so much
  • Quick Links