Images, Quads and Textures

BlitzMax Forums/BlitzMax Programming/Images, Quads and Textures

Richard Betson(Posted 2004) [#1]
I'm thinking of doing a "Tile Style" based game, so I will needing access to a single surface quad that I can multitexture. Can we modify the image quad made with CreatImage()? Like a layered image.

If not has anyone made a simple quad MOD or sorce code? I could use the example.

L8r,


ImaginaryHuman(Posted 2004) [#2]
I don't know that multitexturing is supported in BlitzMax's implementation of OpenGL 1.2. ... unless in 2D you are drawing one thing on top of another.


Richard Betson(Posted 2005) [#3]
unless in 2D you are drawing one thing on top of another.

Which will not due:)

I'm thinking that a modification of the Image-MOD might allow multitexturing to exist. Or prhaps writing somthing to modify image quads. Ideas?

If no one is building a quad library, then I may have to write it myself. BMAX's image quads are useful but I need somthing much more robust.

L8r,


ImaginaryHuman(Posted 2005) [#4]
I dont know if OpenGL 1.2 has multitexturing support at all. There might be extension libraries to do it though.

if you just want to do 2D quants with no rotation you could just draw more than one image on top of each other with blending.