the latest commit to src/Main/CameraGroup.cxx changed the value of
zNear from .1 to .4 and this causes strange artifacts to show up when
panning around (like holes in the cockpit, etc.). the following patch
changes it back:
--- src/Main/CameraGroup.cxx 27 Dec 2008 14:35:33 -0000 1.9
+++ src/Main/CameraGroup.cxx 29 Dec 2008 06:58:41 -0000
@@ -446,7 +446,7 @@
cgroup->buildGUICamera(pNode);
}
}
- bindMemberToNode(gnode, "znear", cgroup, &CameraGroup::_zNear, .4f);
+ bindMemberToNode(gnode, "znear", cgroup, &CameraGroup::_zNear, .1f);
bindMemberToNode(gnode, "zfar", cgroup, &CameraGroup::_zFar, 120000.0f);
bindMemberToNode(gnode, "near-field", cgroup, &CameraGroup::_nearField,
100.0f);
any reason for the change?
--alex--
--
| I believe the moment is at hand when, by a paranoiac and active |
| advance of the mind, it will be possible (simultaneously with |
| automatism and other passive states) to systematize confusion |
| and thus to help to discredit completely the world of reality. |
------------------------------------------------------------------------------
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel