Archived

This topic is now archived and is closed to further replies.

rm3

Polygons dissapearing...

Recommended Posts

I finally have my 3D engine to a point that isn''t bothering me too much, now I can start real work on it! The only problem I can find right now is that polygons dissapear if I get far away from them. This is okay except that I want to use a skybox which will be far away from the player, atleast the width/length of the game world. How can I control how far away it has to be for my polygons dissapear when I''m lookin at them? These are the OGL settings I''m using:
	glEnable(GL_TEXTURE_2D);					
	glClearColor(0.0,0.0,0.0,0.0);
	glEnable(GL_DEPTH_TEST);	
	glShadeModel(GL_FLAT);						
	glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_FASTEST);
 

Share this post


Link to post
Share on other sites