How do I get 3D in front of 2D?

Blitz3D Forums/Blitz3D Programming/How do I get 3D in front of 2D?

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.

While gvIsDone = 0

	TurnEntity lvCube,0,0.1,0
	TurnEntity lvSphere,0,-0.1,0

	
	HideEntity lvSphere
	ShowEntity lvCube
	

	UpdateWorld
	
	CameraClsMode gvCamera,True,True
	RenderWorld


	DrawImage lvSprite,imgX,imgY


	HideEntity lvCube
	ShowEntity lvSphere

	CameraClsMode gvCamera,False,True
	RenderWorld
		

	If KeyDown(205) Then imgX = imgX + 2
	If KeyDown(203) Then imgX = imgX - 2
	
	If KeyHit(1) Then gvIsDone = 1
	Flip
Wend