jalberse / shimmer

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

Cameras, Film #22

Closed jalberse closed 9 months ago

jalberse commented 9 months ago

This isn't so thoroughly tested right now, but the project is still in "move fast and break fast" mode, so we can move on for now.

It implements Cameras and Film, and necessary work to get there (including the Filter interface with a simple Box filter).

main.rs will now output a red-blue gradient image to stdout in ppm format. This is a nice validation that our Film, Color, and Spectral implementations are behaving reasonably. More testing will of course need to come later.