panda3d-simplepbr icon indicating copy to clipboard operation
panda3d-simplepbr copied to clipboard

No initial value set for camera_world_position

Open rdb opened this issue 3 months ago • 0 comments

When directly using base.graphicsEngine.renderFrame() after simplepbr init (eg. to force a single frame to be rendered during a loading screen), an error is shown regarding a missing camera_world_position input.

To work around this problem, the task manager can be stepped.

It would be good if simplepbr.init applied a default value for this variable so that this use case does not result in an error.

rdb avatar Mar 24 '24 10:03 rdb