Update of /cvsroot/csp/APPLICATIONS/CSPFlightSim/Source
In directory sc8-pr-cvs1:/tmp/cvs-serv8486
Modified Files:
VirtualBattlefield.cpp
Log Message:
Add a texture skydome and osg::TimeStamp
Index: VirtualBattlefield.cpp
===================================================================
RCS file: /cvsroot/csp/APPLICATIONS/CSPFlightSim/Source/VirtualBattlefield.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** VirtualBattlefield.cpp 13 Dec 2002 01:20:58 -0000 1.4
--- VirtualBattlefield.cpp 14 Dec 2002 18:58:21 -0000 1.5
***************
*** 130,134 ****
#endif
! osgDB::setDataFilePathList("." + sep + "Images" + sep + "Models" + sep + "Fonts");
// we don't need this on Linux since libs are usually
--- 130,134 ----
#endif
! osgDB::setDataFilePathList("../Data" + sep + "../Data/Images" + sep + "../Data/Models" + sep + "../Data/Fonts");
// we don't need this on Linux since libs are usually
***************
*** 154,159 ****
osg::ClearNode* earthSky = osgNew osg::ClearNode;
! //earthSky->setRequiresClear(false); // we've got base and sky to do it.
! earthSky->setRequiresClear(true); // we've got base and sky to do it.
// use a transform to make the sky and base around with the eye point.
--- 154,158 ----
osg::ClearNode* earthSky = osgNew osg::ClearNode;
! earthSky->setRequiresClear(false); // we've got base and sky to do it.
// use a transform to make the sky and base around with the eye point.
***************
*** 739,743 ****
float xPatch = 35000 + 448000;
! float yPatch = 5000 + 500000;
if (m_pActiveTerrainObject)
--- 738,742 ----
float xPatch = 35000 + 448000;
! float yPatch = 6000 + 500000;
if (m_pActiveTerrainObject)
|