pyro2 noise volume vop context

   5013   4   1
User Avatar
Member
284 posts
Joined:
Offline
I'm getting two errors when I try to use the unified noise VOP in a volume VOP context:

call to undefined function float_pyro_vopfw_VOP_CTXT()
invalid type on right side of assignment: undefined

Do the pyro nodes not work in this context? In my view this is an area where the new noise functions in particular would be most useful.
-Jon
User Avatar
Member
941 posts
Joined: July 2005
Offline
Ah!
An oversight. Thanks for catching this.
I'll be submitting a few fixes soon, but if you need it to work “right now” and you're feeling adventurous, you can insert the following in $HH/vex/include/pyro_utils.h at line 660:


float pyro_vopfw_VOP_CTXT (float p) { return 0; }
float pyro_vopfw_VOP_CTXT (vector p) { return 0; }
float pyro_vopfw_VOP_CTXT (vector4 p) { return 0; }



Alternatively, you can replace that file with the one I'm attaching here (which has those 4 extra lines in it).

Cheers.

Attachments:
pyro_utils.h (24.8 KB)

Mario Marengo
Senior Developer at Folks VFX [folksvfx.com] in Toronto, Canada.
User Avatar
Member
284 posts
Joined:
Offline
Ah great, thanks for the patch.

FWIW I think it's great that you can use these outside of a SHOP context. I do a lot of volume density manipulation testing in COPs because it's a lot faster and easier to test things out there first before I commit to large render times. So these new nodes will really come in handy!

-Jon
User Avatar
Member
941 posts
Joined: July 2005
Offline
Glad to hear it.
(and yes, they're meant to work in all contexts, though I clearly missed at least one of them :roll: )
Mario Marengo
Senior Developer at Folks VFX [folksvfx.com] in Toronto, Canada.
User Avatar
Member
941 posts
Joined: July 2005
Offline
UPDATE: I've been informed that this will be fixed in tomorrow's build.
Mario Marengo
Senior Developer at Folks VFX [folksvfx.com] in Toronto, Canada.
  • Quick Links