Quantcast
Channel: stardot.org.uk
Viewing all articles
Browse latest Browse all 3262

new projects and releases: demoscene • Re: Ray Caster Demo

$
0
0
Yes, totally agree that the "correct" way is to shoot rays at non-equally spaced angles (they end up more spaced out at the centre and more bunched up at the edges). I don't know how much difference it makes to the visuals in practice, but that's how I did it in the Doom-inspired portal renderer I started work on ages ago, but never get time to continue. In that, I generated a quadrant of a sine table (where 0-256 indexed 0-90 degrees) which gave me the sufficient precision to be able to get that kind of angle resolution.

Statistics: Posted by Rich Talbot-Watkins — Wed Feb 19, 2025 9:56 pm



Viewing all articles
Browse latest Browse all 3262

Trending Articles