Advertisement

Distance

Started by February 24, 2003 12:09 PM
1 comment, last by Marty666 22 years ago
Hi, I''m still busy with the landscape program. My landscape is huge (not only the amount of vertexes, but also the distance between them) I have to set the far plane to 2000 to be able to see the entire landscape. Should I scale the entire landscape down for quicker rendering? Untill now it all seems to be going fine, but I don''t know if it really matters, I can set it to 2000 and make my models 100 high if i want or set it to 200 and make the models 10 high... Is there a difference for openGL? thanx, Marty
_____ /____ /|| | || MtY | ||_____|/Marty
There shouldn''t be a performance difference, however you do lose z-buffer precision, although the near plane has much more of an impact on this. The main suggestion I would make is that you design all your models to the scale that you decide upon. You don''t want to be performing scaling operations if you can help it, because scaling can mess up your normals (unless you enable GL_NORMALIZE which has a performance hit).

Hope that helps.
----------------Amusing quote deleted at request of owner
Advertisement
it doesn''t matter, a meter in your program can be 1.0f or 100.0f .. a larger scale won''t slow your program down.

This topic is closed to new replies.

Advertisement