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
Set normals to point at camera, VEX July 8, 2024, 2:04 a.m.
BabaJ
So..as far as doing it by vex..this seems to be the simplest.
The following if put in a point wrangle will have normals point at camera.matrix Op_Matrix;
Op_Matrix = optransform('op:../../cam1/');
@N = (Op_Matrix * (@P - @P)) - @P;
So, here we are, five years later, and I was looking for a way to project points onto a plane so their locations matched when viewed from the same perspective camera.
Added normals using your code above, then used a ray sop to project the points onto the grid.
Worked like a charm. Thank you!
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.