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.

FOr combining max2d, Look at his post http://www.blitzbasic.com/Community/posts.php?topic=69542

you will need to recompile minib3d mod (you know how to do that?)
...and here is an example:
Import sidesign.minib3d

Graphics3D 640,480,32,2

Local mycube:TEntity=Createcube()
PositionEntity mycube,0,0,5

Local cam:TCamera=CreateCamera()
CameraViewport cam,100,100,400,300
CameraClsColor cam,0,0,255

Local light=CreateLight()

While Not KeyHit(KEY_ESCAPE)
'everything 3D goes here
	TurnEntity mycube,1,1,0
	RenderWorld()

	TGlobal.BeginMax2D
'put 2D in between BeginMax2D and EndMax2D
	SetColor 255,255,0
	DrawRect 0,0,100,100
	TGlobal.EndMax2D
	Flip

Wend

End