Floyd Gillis
fgillis
About Me
CG Generalist with over 40 years experience.
EXPERTISE
Generalist
INDUSTRY
Advertising / Motion Graphics | Film/TV
Houdini Skills
ADVANCED
Procedural Modeling | Motion Editing | Animation | Mantra | Lighting
INTERMEDIATE
Environments | Karma | VEX
BEGINNER
Solaris
Availability
Not Specified
Recent Forum Posts
Using hscript to control display of objects Dec. 26, 2023, 10 p.m.
This is a follow-up to my previous post, "Update parameters scripting syntax", that was solved by mtucker.
I'm now using an object's Render Geometry Settings node with hscript to control render display using the following line:
opparm object_RGS `encodeparm("primvars:karma:object:rendervisibility")` ( " " )
This works great, but it means any object I want to separately control the display of needs it's own Render Geometry Settings node.
Instead, is there another (simpler) way, using hscript, to set the visibility of a primitive?
Would be convenient if there was something similar to the Scene Graph's "Toggle scene graph primitive's visibility" parameter for render display.
I'm now using an object's Render Geometry Settings node with hscript to control render display using the following line:
opparm object_RGS `encodeparm("primvars:karma:object:rendervisibility")` ( " " )
This works great, but it means any object I want to separately control the display of needs it's own Render Geometry Settings node.
Instead, is there another (simpler) way, using hscript, to set the visibility of a primitive?
Would be convenient if there was something similar to the Scene Graph's "Toggle scene graph primitive's visibility" parameter for render display.
Update parameters scripting syntax Dec. 22, 2023, 12:09 a.m.
Thank you Mark.
Works great, and much easier than hunting through opscript outputs for (bizarre) variable names.
Works great, and much easier than hunting through opscript outputs for (bizarre) variable names.
Update parameters scripting syntax Dec. 20, 2023, 9:30 p.m.
Am modifying simple rendering scripts previously used with Sops/Mantra, but cannot find the correct syntax for Lops/Karma.
For example:
To change the render visibility of an object to "phantom" in a Render Geometry Settings LOP, (primvars:karma:object:rendervisibilty), I've been reduced to using...
opparm RGS_lop_for_object xn__primvarskarmaobjectrendervisibility_4xbfg ( "-primary" )
It works, but it's nasty.
What is the proper syntax to set this example parameter?
Should I be using something other than "opparm" in LOPs?
For example:
To change the render visibility of an object to "phantom" in a Render Geometry Settings LOP, (primvars:karma:object:rendervisibilty), I've been reduced to using...
opparm RGS_lop_for_object xn__primvarskarmaobjectrendervisibility_4xbfg ( "-primary" )
It works, but it's nasty.
What is the proper syntax to set this example parameter?
Should I be using something other than "opparm" in LOPs?