jalberse / shimmer

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

Primitive #28

Closed jalberse closed 8 months ago

jalberse commented 8 months ago

Adds a basic Primitive interface (primitives wrap shapes), along with a SimplePrimitive (just attached material info) and a TransformedPrimitive (enabled instancing)

We'll want other primitives later - including acceleration structures - but this is sufficient for the moment.