Pseudo 3d (2.5d) scaling

Started by
0 comments, last by Rockoon1 16 years, 5 months ago
Well, just for fun I've been working on a 2.5d engine, similar to Doom 1&2, The Ishar Series and Eye of the Beholder... However, I've been having trouble figuring out how to scale/rotate the image as to present the view properly - my current idea is something like: -Scaling: iterate through horizontal lines and cut out every x pixels from the previous, drawing the image centred onto a Bitmap. Where x is an undefined variable I'm likely to screw around with. I'm also guessing this is possibly a post-processing effect done on a bitmap with a very large height, with the bottom being "at your feet". -Rotating/turning: I really have no idea. I thought of doing a tile-based aproach for different angles (similar, I believe, to Ishar) however I don't really have time to create dozens of images and would kind of like "fluid" movement anyway. Forgive me if this is a simple question, however I'm not really a graphics programmer so your help would be appreciated ;) Cheers.
Advertisement

You will probably want to sink your teeth into these first:

http://www.permadi.com/tutorial/raycast/

http://student.kuleuven.be/~m0216922/CG/raycasting.html

then dive into:

http://www.gamedev.net/reference/articles/article872.asp

This topic is closed to new replies.

Advertisement