This is extracted from my World Generator
, just felt like i should share them. And for future use.
This is the Bare Bones of a FPS cam.
You are free to use, redistribute and delete these files after you downloaded them.
Just remember who to give the credits to...
there is probably a lot of crap variables and code, but i can't do everything for you Download
-in Render(), after Graphics.make3D() is where you put your 3d opengl code, and after Graphics.make2D() put your 2d opengl code.
it includes a ScreenShot function: F9 to capture screenbuffer.