https://github.com/maeln/stuffy
smol 3d engine / playground in rust with python binding.
https://github.com/maeln/stuffy
3d-engine engine opengl rust shader
Last synced: 27 days ago
JSON representation
smol 3d engine / playground in rust with python binding.
- Host: GitHub
- URL: https://github.com/maeln/stuffy
- Owner: maeln
- Created: 2019-04-28T11:51:07.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-06-06T09:37:40.000Z (about 3 years ago)
- Last Synced: 2025-02-24T05:47:37.377Z (over 1 year ago)
- Topics: 3d-engine, engine, opengl, rust, shader
- Language: Rust
- Homepage:
- Size: 209 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# stuffy
## it's stuff
Stuffy is my little tool to quickly do experiment with shader.
Just run `cargo run` and run.
Since this is a pathtracer, the longer you let it run, the more the picture will converge (be less noisy).
## Control
You can move the camera around by clicking and dragging the mouse and with `W A S D` (sorry azerty user, no time to handle this properly).
The mouse wheel control the aperture (bigger aperture = more bokeh blur / depth of field), and clicking with the right button will set the focus
to whatever is on the cursor when clicked (note: since a bigger aperture will distort the image, focus the right object with a big aperture can be tricky).
To get the parameter of the camera, press `I` and it will show on the terminal. `R` will reset the image, holding `P` pause the rendering, `O` display the current number of sample rendered, and `V` zero-out the aperture as long as it is pressed.