Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No initial value set for camera_world_position #59

Open
rdb opened this issue Mar 24, 2024 · 0 comments
Open

No initial value set for camera_world_position #59

rdb opened this issue Mar 24, 2024 · 0 comments

Comments

@rdb
Copy link
Contributor

rdb commented Mar 24, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant