I'm having an issue rendering certain materials. I am new to Houdini.
Everything renders fine in the render viewport. When I render through the python shell, several objects do not render or they render very dark. I seem to have narrowed it down to any custom material not rendering. Does that mean it can't find the material? I don't see any errors pop up.
Attached is a sample file where the volume renders locally, but not in the python shell, or at least not correctly.
This is actually an issue with colorspace. The mantra node is writing out JPEG files. JPEG files expect sRGB colors, but currently, mantra is outputting linear color to the images. This is why outputted image is dark.
When you render to MPlay from the GUI, it's not writing out JPEG files. That's why the color seems fine.
You should be able to workaround the issue by writing out .exr or .pic files.