clovers
clovers copied to clipboard
Signed Distance Field function rendering
It would be nice to be able to render SDF functions in addition to regular object-based scenes.
Todo:
- Start with implementing a new hit function
- Write some objects - potentially port things over from
hg_sdf - Figure out a serialization & deserialization method: ability to have scene files for SDFs as well
Possibly interesting library to use: https://crates.io/crates/saft
See also https://jcgt.org/published/0011/03/06/paper-lowres.pdf