Map a texture or pixmap image to a quad
BlitzMax Forums/BlitzMax Programming/Map a texture or pixmap image to a quad
| ||
I want to be able to draw a texture and separately define each corner in 2D space and have the texture stretch and skew appropriately (but without blurring) Possible? |
| ||
doh math fail, will have another go when I get back |
| ||
You want a `textured poly` routine, or write your own GL commands... e.g. glBegin/glEnd, glVertex, glColor, glTexCoord, etc.. |
| ||
I want to create an extraordinarily simple 3D graphics engine for a retro-style game I want to make; all I need to do is create quads and put a texture onto them, uvmapped according to position in 3D space. This is what it's for, if it helps. Dang I hate 3D coding, it's harder for me to do a single piece of graphics code than everything else together. |