scale factor
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
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
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
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement