|
|
Atari demoscene BBS
| Re: raycasting 3d |
|
Posted by: PeyloW
|
May,20.2003-16:51
|
Might have been :)
Anyway, Raycasting is good if you have completely vertical walls and the floors are allways totaly horizontal. Add a slope or tilted wall and it fails, well I think Duke Nukem 3d might have been sort of raycasted but in the end I think raycasting is only good for Wolfenstein like implementations.
For a more general and nice routine for avoiding overdraws with general polygons do a search for "span-buffer". The general ideas is to keep track of span of pixels on each row that has already been drawn. Quake uses this and the texts available on internet are many. It is fairly simple.
|
[All messages in this thread] [Start new thread]
What's the anti-troll code? That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
|