Avokadoen / zig_vulkan

Toying with vulkan and zig
45 stars 2 forks source link

ray traversal is incorrect in the x axis #87

Closed Avokadoen closed 2 years ago

Avokadoen commented 2 years ago

As a scene becomes larger and more complex, an issue with ray x traversal becomes more transparent.

Image shows how rays that has a non zero x value tend to do the wrong lookup

image

Avokadoen commented 2 years ago

Resolved after port to brickmap