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

Add ability to load scene from file #6

Open
Morozov-5F opened this issue Dec 29, 2020 · 1 comment
Open

Add ability to load scene from file #6

Morozov-5F opened this issue Dec 29, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@Morozov-5F
Copy link
Owner

This is a big one. It would be cool to make the scene a separate entity that is not built into a source code. It's possible to come up with some kind of binary format or use a JSON for a start. For example, Cornell Box scene could be represented as a JSON object in the attached file.

@Morozov-5F Morozov-5F added the enhancement New feature or request label Dec 29, 2020
@Morozov-5F Morozov-5F self-assigned this Dec 29, 2020
@Morozov-5F
Copy link
Owner Author

There are also several options for scene format. It is possible to utilize common 3D scene formats such as:

  • pbrt-v3 Input File. This format is used by a Physically-based Ray Tracer and there are several scenes available.
  • COLLADA intermediate format by Khronos Group. Advantage of this format is that the scene could be modeled in Blender.

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

No branches or pull requests

1 participant