volesamplefile VOP and op:/ syntax fails in shader?

   1338   2   1
User Avatar
Member
34 posts
Joined: April 2015
Offline
It seems using a volumesamplefile VOP in an attributeVOP and pointing the geometry file to a SOP using something like op:/obj/myvolume/vdbfrompolygons works just fine to sample the volume. But when the same VOP is used inside a material it fails to sample the volume. It seems in the material context it will only sample the volume correctly if it is read from an actual file on disk.

Is this true? I thought the op:/ syntax should work almost anywhere ?
User Avatar
Member
8539 posts
Joined: July 2007
Offline
Mantra doesn't have access to houdini network, only to whatever geo is currently in ifd

You can use op: syntax to point to any SOP that has Render flag on whose Object is included in render

Typical workflow is to make such object not renderable, but still in Forced Objects, just to get it to .ifd
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
23 posts
Joined: Nov. 2012
Offline
Oh wow I've been working with for Houdini for 7 years and I just would frequently have issues with the op: syntax. I never knew you needed to have the object mentioned in the render node >.<

You just helped me with the XYZ Distance node. Adding this comment for some SEO.
  • Quick Links