From: <mk...@us...> - 2003-02-21 08:01:10
|
Update of /cvsroot/csp/APPLICATIONS/CSPSim/Include In directory sc8-pr-cvs1:/tmp/cvs-serv627/Include Modified Files: Sky.h TerrainObject.h VirtualBattlefield.h Log Message: fixed moon billboard for high latitudes, restructured terrain node in scene in anticipation of shadow mapping Index: Sky.h =================================================================== RCS file: /cvsroot/csp/APPLICATIONS/CSPSim/Include/Sky.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Sky.h 19 Feb 2003 21:24:16 -0000 1.2 --- Sky.h 21 Feb 2003 08:00:29 -0000 1.3 *************** *** 201,205 **** virtual void updatePosition(double); void updateScene(double h, double A, Color const &color, float intensity, float background); ! void _updateLighting(float x, float y, float z, Color const &color, float intensity, float background); }; --- 201,205 ---- virtual void updatePosition(double); void updateScene(double h, double A, Color const &color, float intensity, float background); ! void _updateLighting(float x, float y, float z, float h, Color const &color, float intensity, float background); }; Index: TerrainObject.h =================================================================== RCS file: /cvsroot/csp/APPLICATIONS/CSPSim/Include/TerrainObject.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** TerrainObject.h 26 Jan 2003 23:34:13 -0000 1.2 --- TerrainObject.h 21 Feb 2003 08:00:30 -0000 1.3 *************** *** 79,82 **** --- 79,83 ---- int getTerrainPolygonsRendered() const; + osg::Node *getNode() { return m_TerrainNode; } Index: VirtualBattlefield.h =================================================================== RCS file: /cvsroot/csp/APPLICATIONS/CSPSim/Include/VirtualBattlefield.h,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** VirtualBattlefield.h 19 Feb 2003 22:57:58 -0000 1.4 --- VirtualBattlefield.h 21 Feb 2003 08:00:31 -0000 1.5 *************** *** 138,142 **** osg::ref_ptr<osg::Transform> m_EyeTransform; ! osg::Node * m_pTerrainNode; ObjectList objectList; --- 138,143 ---- osg::ref_ptr<osg::Transform> m_EyeTransform; ! osg::ref_ptr<osg::Node> m_TerrainNode; ! osg::ref_ptr<osg::Group> m_ShadowGroup; ObjectList objectList; |