3D OpenGL Engine

BlitzPlus Forums/BlitzPlus Programming/3D OpenGL Engine

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.

In my little ogl tests, I use this drawscene framework...

Function DrawScene()
	UserControl()

	xClear(CLR_COLOR_BUFFER_BIT Or CLR_DEPTH_BUFFER_BIT);// Clear Screen And Depth Buffer
	xMatrixMode(MATRIXMODE_MODELVIEW)	
	xLoadIdentity();// Reset The Current Modelview Matrix
	xEntityLook(mycamera);

...
Render the 3d stoof here
...
	xFlip()
End Function



ahh... trying something now...