I need some advice here.
I have a 2D user interface (1024x768 fullscreen graphics window). Part of that interface is an area (let's say 400x300px) representing a postcard. If you click on the edge of the postcard it'll turn around to show the back side. This animation must have a 3D look.
I first tried to solve this in pure BlitzMax code (using some 3D math) to visualize a 3D box in a 2D area. But then I found out that BlitzMax can't do any quad transformations with bitmaps.
So I thought I must use MiniB3D to make a cube (size 10, 10, 0.1) with textures. But then I have two questions:
1) how do you make a cube with different textures on each side? (examples are welcome ;)
2) how can I make a 3D viewport within a 2D interface?
Or... is there a much better solution for this?
I have a 2D user interface (1024x768 fullscreen graphics window). Part of that interface is an area (let's say 400x300px) representing a postcard. If you click on the edge of the postcard it'll turn around to show the back side. This animation must have a 3D look.
I first tried to solve this in pure BlitzMax code (using some 3D math) to visualize a 3D box in a 2D area. But then I found out that BlitzMax can't do any quad transformations with bitmaps.
So I thought I must use MiniB3D to make a cube (size 10, 10, 0.1) with textures. But then I have two questions:
1) how do you make a cube with different textures on each side? (examples are welcome ;)
2) how can I make a 3D viewport within a 2D interface?
Or... is there a much better solution for this?