Skewing an image

BlitzMax Forums/BlitzMax Beginners Area/Skewing an image

Mickey Crocker(Posted 2007) [#1]
Is it possible (easy?) to skew an image within BlitzMax without using OpenGL?

for example, I want to take this image:



and do this to it:



Any help would be great.


tonyg(Posted 2007) [#2]
Could you use setuv method to do this?


Mickey Crocker(Posted 2007) [#3]
what's setuv method?


tonyg(Posted 2007) [#4]
Hmm, thought I'd done this before and found it easy but can't find the original source and can't get setuv working again. Search in brl mod for setuv or xyzuv and it'll show you the vertex array used to draw an image.
It's hardly beginners stuff though.
<edit> Alternatively, search for texturedpoly in these forums.


Mickey Crocker(Posted 2007) [#5]
ok, thanks for the help