Haai all!
i was wondering if there exists a full VEX language description,
not the only the http://www.sidefx.com/docs/houdini9.5/vex/lang [sidefx.com]
i'm looking for a list of the MACRO's -
in particular the equivalent of MINFILTWIDTH from renderman
and the equivalent of filterwidth() (also renderman)
':wink:'
if anyone could point me ina direction pls,
it'll b much appreciated!
VEX language description
3043 2 0- suz
- Member
- 5 posts
- Joined: Oct. 2008
- Offline
- Mario Marengo
- Member
- 941 posts
- Joined: July 2005
- Offline
suz
Haai all!
i was wondering if there exists a full VEX language description,
not the only the http://www.sidefx.com/docs/houdini9.5/vex/lang [sidefx.com]
i'm looking for a list of the MACRO's -
in particular the equivalent of MINFILTWIDTH from renderman
and the equivalent of filterwidth() (also renderman)
':wink:'
if anyone could point me ina direction pls,
it'll b much appreciated!
These macros are not part of either language (VEX or RSL). They are all user-defined. The ones you mention sound like the stuff from Larry Gritz's filterwidth.h header (from waaaaay back during the Blue Moon days, I think) which have become sort-of standard-ish in the PRMan camp.
Similar macros (similarly named) can be found for VEX in the bundled header $HH/vex/include/voplib.h, which defines VOP_MIN_FILTER_SIZE and the wrappers FILTERSIZE and AREA. Another place where you can find vex versions of those Gritz macros is in the odWiki's “Writing Shaders” section [odforce.net].
Alternatively, you can write your own and improve on all of the above
A (probably incomplete) list of symbolic constants that are part of the VEX language:
__vex is set to 1
__vex_major is set to the major number of the Houdini release
__vex_minor is set to the minor number of the Houdini release
And inside the Vex Builder environment:
VOP_OP is defined for Sop, Cop, Chop, and Pop networks
VOP_SHADING is defined for all shading vop nets
VOP_DISPLACE is defined for the displacement context
VOP_FOG is defined for the volume/fog context
VOP_LIGHT is defined for the light context
VOP_PHOTON is defined for the (now deprecated) photon context
VOP_SHADOW is defined for the shadow context
VOP_SURFACE is defined for the surface context
… and I'm probably missing quite a few
- suz
- Member
- 5 posts
- Joined: Oct. 2008
- Offline
-
- Quick Links