Floyd Gillis

fgillis

About Me

CG Generalist with over 40 years experience.
専門知識
Generalist
INDUSTRY
Advertising / Motion Graphics  | Film/TV

Connect

LOCATION
Osaka / Kobe, Japan
ウェブサイト

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 2023年12月26日22:00

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.

Update parameters scripting syntax 2023年12月22日0:09

Thank you Mark.

Works great, and much easier than hunting through opscript outputs for (bizarre) variable names.

Update parameters scripting syntax 2023年12月20日21:30

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?