Polygons dissapearing...

Started by
1 comment, last by rm3 21 years, 3 months ago
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);
 
Advertisement
Hiya,

check the value that your frustum far plane is set to - that''ll probably help
Thank you! Problem fixed.

This topic is closed to new replies.

Advertisement