Sign in to follow this  
Weedfin

scale factor

Recommended Posts

Hi, I'm drawing objects (for example a textured cube) in a program that can switch between metric and imperial. When in imperial, the units are 4 times the size of the metric units. For example, when drawn in metric, a typical cube might be 100x100x100 units. The same object when drawn in imperial is 400x400x400 units. When in imperial, the object flickers between the back and front faces of the cube. It seems to be having a problem figuring out the depth of the faces. If I divide all of the geometry by 4, it looks nice and smooth again. Am I approaching some kind of limit with the size of my geometry? In general, should one try to keep the drawing units smaller than some maximum? Weedfin

Share this post


Link to post
Share on other sites
if youre seeing depth fighting then make the near z value 10 or 100x times larger.

WRT units typically ppl choose 1 units == 1 whatever,
I use 1unit==1meter, though for a flight simulator etc u may want 1==0.1km

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