Changeset 135 for trunk/VUT/work/ogre_changes/OgreMain
- Timestamp:
- 06/16/05 18:13:33 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/work/ogre_changes/OgreMain/src/OgreSceneManager.cpp
r131 r135 779 779 void SceneManager::_renderScene(Camera* camera, Viewport* vp, bool includeOverlays) 780 780 { 781 LogManager::getSingleton().logMessage("***********RENDER SCENE************"); 782 Root::getSingleton()._setCurrentSceneManager(this); 781 Root::getSingleton()._setCurrentSceneManager(this); 783 782 // Prep Pass for use in debug shadows 784 783 initShadowVolumeMaterials(); … … 4200 4199 void SceneManager::_renderSceneNode(Camera *cam, SceneNode *node, bool leaveTransparentsInQueue) 4201 4200 { 4201 // delete previously rendered objects from renderqueue 4202 _deleteRenderedQueueGroups(leaveTransparentsInQueue); 4203 4202 4204 node->_findVisibleObjects(cam, getRenderQueue(), false, mDisplayNodes, false); 4203 4205 SceneManager::_renderVisibleObjects(); 4204 4205 // delete all rendered objects from renderqueue4206 _deleteRenderedQueueGroups(leaveTransparentsInQueue);4207 4206 } 4208 4207 //----------------------------------------------------------------------- … … 4248 4247 void SceneManager::_renderMovableObject(MovableObject *mov, const bool leaveTransparentsInQueue) 4249 4248 { 4249 // delete previously rendered objects from renderqueue 4250 _deleteRenderedQueueGroups(leaveTransparentsInQueue); 4251 4250 4252 mov->_updateRenderQueue(getRenderQueue()); 4251 4253 SceneManager::_renderVisibleObjects(); 4252 4253 // delete rendered objects from renderqueue4254 //TODO: should be first4255 _deleteRenderedQueueGroups(leaveTransparentsInQueue);4256 4254 } 4257 4255 #endif //GTP_VISIBILITY_MODIFIED_OGRE
Note: See TracChangeset
for help on using the changeset viewer.