Dead Hackers Society
Other BBSes »
 
 
Demoscene   Coding   CT60   Buy/sell

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]

Topic Posted by  Date 
raycasting 3d Ragstaff May,19.2003-16:30
  Re: raycasting 3d earx May,20.2003-09:09
    Re: raycasting 3d PeyloW May,20.2003-16:51


Reply to this message
Name:
Topic:
Anti-troll code:

Message:

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.
© 1994-2025 Dead Hackers Society Contact: Anders Eriksson