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

Loading scenes from files at runtime #6

Closed
Walther opened this issue Jul 7, 2020 · 0 comments · Fixed by #31
Closed

Loading scenes from files at runtime #6

Walther opened this issue Jul 7, 2020 · 0 comments · Fixed by #31
Labels
enhancement New feature or request

Comments

@Walther
Copy link
Owner

Walther commented Jul 7, 2020

Currently, all the scenes are defined as code in the src/scenes directory as .rs files. To render a different scene, a whole recompile of the project has to happen.

It should be possible to run clovers --input scene and get a render of the specified scene, or helpful error messages pointing out mistakes in the scene file.

Open questions:

  • which format? TOML? JSON? Other, what?
  • what should a scene contain?
    • objects
    • camera
    • priority objects (used for probability sampling; e.g. lights, glass objects)
  • optional future pondering: how to specify change over time, for rendering video / multiple frames?
@Walther Walther added the enhancement New feature or request label Jul 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant