Warping an image by adjusting verts

BlitzMax Forums/BlitzMax Programming/Warping an image by adjusting verts

Craig H. Nisbet(Posted 2010) [#1]
I'm not sure if this is possible. I imagine that Blitz Max's loadimage and drawimage commands are using open-gl polys under the hood. Am I right with line of thought? Is there a way to get at those verts to modify their positions to make it appear like the drawn image is warping?


ImaginaryHuman(Posted 2010) [#2]
You gotta write your own OpenGL code or use a textured polygon routine.


therevills(Posted 2010) [#3]
Zeke managed something like it with DirectX:

http://www.blitzbasic.co.nz/Community/posts.php?topic=86336#986451


slenkar(Posted 2010) [#4]
check my codearchive entries i made my own version of the blitzmax graphics library specifically to warp images in this way. its opengl only though. i used it to?display a texture so it would look isometric, which saves on fillrate which speeds up rendering on intel graphics cards.