• Advertisement
Sign in to follow this  

Pseudo 3d (2.5d) scaling

This topic is 3825 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement