Warping an image by adjusting verts
BlitzMax Forums/BlitzMax Programming/Warping an image by adjusting verts
| ||
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? |
| ||
You gotta write your own OpenGL code or use a textured polygon routine. |
| ||
Zeke managed something like it with DirectX: http://www.blitzbasic.co.nz/Community/posts.php?topic=86336#986451 |
| ||
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. |