Hi FBEpyon,
I found a few problems just by adding Strict at the top of main.bb.
You have used Width instead of SWidth in the glViewport( ) function, and you have used TTERRAINSCALE instead of TERRAINSCALE in your Render( ) function.
Apart from that, I think the only problem is that you're not translating the terrain into a position where it is in view of the camera..
If you want the terrain to be centered you will need to do something like this:
Best Regards,
Chris
I found a few problems just by adding Strict at the top of main.bb.
You have used Width instead of SWidth in the glViewport( ) function, and you have used TTERRAINSCALE instead of TERRAINSCALE in your Render( ) function.
Apart from that, I think the only problem is that you're not translating the terrain into a position where it is in view of the camera..
If you want the terrain to be centered you will need to do something like this:
glTranslatef(Terrain.X-TERRAIN_SIZE/2.0,-60.0,Terrain.Z-TERRAIN_SIZE/2.0)This should make the terrain visible at least, but I would also lower the maximum height of the terrain to something less than 50.
Best Regards,
Chris