Bevy-Rust-GPU / rust-gpu-sdf

Signed distance field library usable on both CPU and GPU.
Apache License 2.0
12 stars 1 forks source link

Implement segment tracing #14

Open Shfty opened 1 year ago

Shfty commented 1 year ago

As presented in this paper, the segment tracing algorithm produces significant performance gains over regular sphere tracing by adapting step size to SDF geometry.

This requires the ability to calculate extra data about a given SDF, namely its falloff function, and consequently its lipschitz bound with respect to a ray or segment - this should be feasible to encode as a custom attribute.