Skip to content
This repository was archived by the owner on Jan 12, 2026. It is now read-only.
This repository was archived by the owner on Jan 12, 2026. It is now read-only.

"No scene camera is selected" in batch mode despite valid .sg structure #41

@JindrichNikodem

Description

@JindrichNikodem

Environment:

OSPRay Studio version: 1.1.0

Platform: Windows 11

Mode: Batch mode (--batch)

I'm trying to render a scene in batch mode using a custom .sg file. The file includes a properly defined camera node with cameraToWorld, and it's connected via a frame node that includes camera, renderer, and world as children.

Despite this, OSPRay Studio fails with:

No scene camera is selected.
using default camera...

and scene has still default camera.

As a result, the scene still uses the default camera.

OSPRay Studio
OpenImageDenoise is available
Batch mode
!!! When loading a scene file (.sg), fewer command-line arguments are permitted.
!!! If the application exits unexpectedly, please check below for errors,
!!! remove any 'not expected' arguments and try again.
...importing files!
Importing a scene
Importing: C:\OBJ\export.obj
... found 170185 triangles and 0 quads.
...finished import!
No scene camera is selected.
using default camera...
frame 1 variance inf
frame 1 variance inf
frame 2 variance 0.275454
Warning: saving a 32-bit float buffer as PNG; color space will be limited.
Saved to C:\obj\render_output.png.00000.png
...finished!

The attached file contains my .sg scene for batch mode.

Question: How should I define the camera node in the .sg file so that it is correctly recognized in --batch mode?

scene3.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions