Rotating a postcard

BlitzMax Modules Forums/MiniB3D/Rotating a postcard

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

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?