Camera for Ortho

Blitz3D Forums/Blitz3D Programming/Camera for Ortho

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.

Thanks.

But, why does this not work? All I see is a thick green line in the middle of the screen.

Graphics3D 800,600,32,1
SetBuffer BackBuffer()

; Create camera
camera=CreateCamera()
CameraProjMode camera,2

;lights
light=CreateLight()

AmbientLight 255,255,255

;ground
Global ground		= LoadTerrain("art\ground_hm.png")
Global groundtex	= LoadTexture("art\grass001.png")
EntityTexture ground, groundtex
TerrainDetail ground, 4000, True


While Not KeyDown( 1 )

	UpdateWorld
	RenderWorld

	Text 0,0,"Pitch: " + EntityPitch(camera)
	Text 0,14,"Yaw: " + EntityYaw(camera)
	Text 0,28,"Roll: " + EntityRoll(camera)


	Flip
Wend

End