help function

BlitzMax Forums/BlitzMax OpenGL Programming/help function

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.

the thing is that unless I use glloadidentity, the image flicks on in the beginning, then never seen again.

currently I also use setorigin to make it so that my "camera" focuses on the centre of the screen where my ship is. i tried viewports before but the viewport always moved off the screen if i set it like so

setviewport (ship.x,ship.y, width, height)

and rightly so, cause thats what i did, create a moving viewport.

however if i created it fixed, then the ship flew out of the view port lol. it would STAY with the ship.