jalberse / shimmer

Physically based rendering in Rust
Apache License 2.0
33 stars 0 forks source link

Scene creation #47

Closed jalberse closed 5 months ago

jalberse commented 5 months ago

The framework for loading in .pbrt files is all set up.

It supports everything I have currently implemented in terms of marterials, shapes, etc.

Some aspects like #include directives as part of the .pbrt format are still not included, but we can fully define scenes.

As more variants (materials, shapes, samplers, etc) are added, we'll want to add them to the create() functions, but the parsing should basically be handled for us already now.