Camera Switcher in LOPs

Normally to get a camera set up from the OBJ context into the Solaris context a Scene Import node can pull in the cameras with no other setup required.

However, the Switcher node, which can be treated as a camera in the OBJ context does not have a way to import into LOPs, you will get an error.

A solution is to recreate the switcher inside your lopnet with a standard switch node, and copy over the switcher’s channel as a relative reference. Then you can import your cameras and plug them into the switch in the same order as the OBJ level.

error message for switcher import

example switch set up in lops

You can use the Camera Import node and exclude all other cameras in order to isolate the one camera in the import

scene import cameras parameters, the exclude objects ensures only one camera is imported

The stage manager nodes are also required to rename each camera to have the same USD prim path name. This way the Karma Render Settings Node can read this one unified camera name (just double-click in the node on the name to rename it), and when looking for it, it will find the one made available by the switch when rendering.

If you are including cameras made in lops, then the prim name can be changed in the camera node.

stage manager parameters used along side the scene import cameras, make sure to use the same name for each camera

location in the parameters for the camera where the prim name is changed. If you keep the /cameras/ prefix, make sure all other camera names also include this, and make sure it is in the render settings

With my example screenshots and in the scene file below, I used the name /cam for my camera, so my Karma Render Settings look like this.

Previous
Previous

glTF from Houdini Demo

Next
Next

3D Wave Interference