2D Image Perspective

BlitzMax Forums/BlitzMax Programming/2D Image Perspective

Redspark(Posted 2008) [#1]
Does anyone know if there is a function that takes a Rectangle image and can project it to 4 points? I don't want to deal with 3D but I need it to fake perspective of wall images. Thanks.


Dreamora(Posted 2008) [#2]
Look for textured polygon routines


Redspark(Posted 2008) [#3]
Thanks. I've been looking for one but I can only find DrawPoly in Max2D.


Perturbatio(Posted 2008) [#4]
http://www.blitzbasic.com/Community/posts.php?topic=66775#745965


Redspark(Posted 2008) [#5]
Thanks!


MGE(Posted 2008) [#6]
RedSpark, if you find something that works reliably, could you take the time to post the code/module here in this thread for easy referencing? I'm going to need something like this soon and it would help to locate it if it was in this thread. ;) Thanks for your time.


Redspark(Posted 2008) [#7]
Sure thing.


MGE(Posted 2008) [#8]
Thanks RedSpark, much appreciated. :)


Warpy(Posted 2008) [#9]
I found this code archive entry by Proger which does exactly what you need - draws a textured polygon, nothing more, nothing less.