Eilef Sandnæs

Heileif

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Solaris Ocean Workflow and Renderman May 1, 2024, 5:34 p.m.

From the tests I did with Karma I only needed to write the foam out from "houdinioceanprocedural1/ocean_geometry/ocean_surface/bake_foam" and activate "Foam Particles" on the "houdinioceanprocedural1" node.

Looking at the result in Karma, it only seems to be a point cloud transfer onto the displacement ocean mesh.

Are you 100% sure you don't get the foam primvar read into the shader using the same workflow as cusp?

Solaris Ocean Workflow and Renderman May 1, 2024, 10:01 a.m.

Regarding the interior do you need it? In Redshift at least you can get something similar just tweaking the shader on the ocean surface.

I have not tried to get foam working in Redshift only cusp, but a quick look inside the mtlxoceansurface shader it just looks for the foam primvar same as cusp.

Does Renderman read the cusp primvar?

SOP Intrinsic: usdViewportPurpose April 29, 2024, 4:54 a.m.

The intrinsic attributes was indeed not useful.

But as a workaround this python code can work.

node = hou.pwd()
geo = node.geometry()
stage = hou.node("../../..").inputs()[0].stage()
geo.addAttrib(hou.attribType.Prim, 'purpose', 'value')

for prim in geo.prims():
    path = prim.stringAttribValue('path')
    UsdPurpose = stage.GetObjectAtPath(path).GetAttribute('purpose').Get()
    prim.setAttribValue('purpose', UsdPurpose)