• Welcome to Dark Bit Factory & Gravity.
 

Dungeon Crawlers-Before true 3d.

Started by Pixel_Outlaw, March 20, 2008

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Stonemonkey

That's for clipping to the screen plane, it calculates the x and u values at the point the wall crosses the plane (z=z_clip)

Pixel_Outlaw

As long as this topic is on top again, I found some really simple point conversion code on flipcode. Not nearly as good as yours.

http://www.flipcode.com/archives/Plotting_A_3D_Point_On_A_2D_Screen.shtml

Challenge Trophies Won:

Shockwave

Stonemonky, you just got Karma'ed

Really nice stuff (as usual). I was expecting something good when I saw your post but that ran unbelievably smooth.

It didn't drop a single frame!
Shockwave ^ Codigos
Challenge Trophies Won:

Stonemonkey

While I don't think this has much use in modern computing, it might be a useful alternative to raycasting on older platforms, thinking Amiga or possibly even older and after seeing the discussion elsewhere about the 6502 I might give it a go on the Electron. I doubt pixel by pixel, maybe make each column 1 byte wide which would probably mean 40 columns and the framerate probably won't be that great.

va!n

i am not sure if this is for you or someone else here a help. you can download the full source of the legend 3d caster wolfenstein here:

ftp://ftp.idsoftware.com/idstuff/source/
- hp EliteBook 8540p, 4 GB RAM, Windows 8.1 x64
- Asus P5Q, Intel Q8200, 6 GB DDR2, Radeon 4870, Windows 8.1 x64
http://www.secretly.de
Challenge Trophies Won: