New answers tagged

2 votes

Why is the z coordinate simply set to 1 for setting up direction of a ray in ray marching

It depends on your setup. Of course you can normalize the direction to have length 1, but it is usually unnecessary. The following figure depicts the differences: Round frustum end face Flat frustum ...
Enigmatisms's user avatar

Top 50 recent answers are included