[Sidefx-houdini-list] Transfering normal to a volume
andy at andynicholas.com
Mon Nov 10 18:28:07 EST 2008
I think you need to use the IsoSurface node with it set to "Build Volume".
In the Implicit Function parameter just put $NX. Make two more IsoSurface
nodes but with them set to $NY and $NZ. You can then just use a Merge SOP
to merge them in X, Y, Z order, and extract them using the primitive
number in your SHOP.
> Is there a way to put normals to a volume. I want to generate a cloud pass
> with each bunch inside it being lit only on one side by a directional
> I thought of a normal information per voxel so I can have my shader to
> compute the the dot product with I but if there's an other way to it, I'm
> open to suggestion.
> One way I'm going to try is to have get the normal for the equivalent sdf
> surface but I still don't know how to transfer that attribute to each
> voxel on the volume.
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
More information about the Sidefx-houdini-list