Skip to main content

Weird back clip distance

No replies
gzdillon
Offline
Joined: 2010-10-18

The back clip distance will prune the objects far away viewpoint. However, it is based on the resolution of screen. I made a test to find the maximal distance in each resolution, and find the width and the back clip distance has a relation on inverse proportion. See the data below.

width height DistText DistCube Constant
600 800 118.11 119.11 70866
768 1024 92.26 93.26 70855.68
800 1280 88.58 89.57 70864
800 600 88.58 89.57 70864
1024 768 69.2 70.2 70860.8
1280 800 55.36 56.36 70860.8

So what role does width of screen plays in the back clip distance?

Because the size of loaded objects is so large that back clip distance will prune far part of them, I have to find the actual size of object or enlarge the back clip distance.

Message was edited by: gzdillon

Note:
DistText is the distance of a TEXT2D at (0,0,0);
DistCube is the distance of a ColorCube at (0,0,0);
Constant is the width multiplying DistText;
Constant shows the relation between width and DistText.

Message was edited by: gzdillon