Sign in to follow this  
budipro

terrain scaling

Recommended Posts

Hi all, I have a question, if my terrain scale is 1 unit = 100 meters, then how to make my camera close enough to the terrain? Is it okay to set the PerspectiveFOVLh near plane with a value below 1.0? Cause if the value is 1.0, then the camera can not go any closer than 100 meters above the terrain. Am I right? Thanks for your attention.

Share this post


Link to post
Share on other sites
What's important is the ratio between the far and near clip planes. So if you set your far clip plane to 10, and your near clip plane to 0.015, this should still be reasonably ok.. At those settings and your scaling, you'll be seeing from 1.5 meters to 1 km, which is quite good, and it still allows you place the camera at eye level (approx. 1.6-1.9 meters). Although you should still paly around with the settings to see what gives you the optimum results.

Share this post


Link to post
Share on other sites
Quote:
Original post by budipro
Is it okay to set the PerspectiveFOVLh near plane with a value below 1.0?


The distance to the near plane can be be any number greater than 0 and there is nothing special about a distance of 1. However, the distance to the near plane affects Z-buffer precision, so you generally want it to be as high as possible (in relative terms).

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this