[Sidefx-houdini-list] Transfering normal to a volume

Andy Nicholas andy at andynicholas.com
Mon Nov 10 18:28:07 EST 2008

Hi François,

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.



> Hello,
> 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
> light.
> 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.
> Thanks
> François
> _______________________________________________
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list

More information about the Sidefx-houdini-list mailing list