Avokadoen / zig_vulkan

Toying with vulkan and zig
45 stars 1 forks source link

Optimize normal calculation #149

Closed Avokadoen closed 2 years ago

Avokadoen commented 2 years ago

Use fast slab intersection method to calculate normal (http://jcgt.org/published/0007/03/04/) Any subsequent traversal of the grid can then be used to compute a normal by looking at previous position delta in the DDA traversal.

Avokadoen commented 2 years ago

Resolved in 55ae336