• Advertisement
Sign in to follow this  

scale factor

This topic is 3396 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
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
Sign in to follow this  

  • Advertisement