Changeset 183 for trunk/VUT/work
- Timestamp:
- 07/19/05 17:39:30 (20 years ago)
- Location:
- trunk/VUT/work
- Files:
-
- 21 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/work/TestCullingTerrain/TerrainFrameListener.cpp
r175 r183 42 42 { 43 43 0, 44 0,44 -0.1, 45 45 //7, 46 46 0 -
trunk/VUT/work/TestCullingTerrain/TestCullingTerrainApplication.h
r173 r183 156 156 Vector3 mTerrainMinPos; 157 157 Vector3 mTerrainMaxPos; 158 159 158 160 private: 159 161 void chooseSceneManager(void); -
trunk/VUT/work/ogre_changes/OgreMain/include/OgreSceneManager.h
r159 r183 161 161 */ 162 162 void _renderMovableObject(MovableObject *mov, const int leavePassesInQueue); 163 164 /** Renders a single renderable using pass 0 of the renderable. 165 */ 166 void _renderSingleRenderable(Renderable *rend); 163 167 164 168 /** Tells the scene manager that the frame ends (i.e., -
trunk/VUT/work/ogre_changes/OgreMain/src/OgreSceneManager.cpp
r139 r183 4248 4248 SceneManager::_renderVisibleObjects(); 4249 4249 } 4250 //----------------------------------------------------------------------- 4251 void SceneManager::_renderSingleRenderable(Renderable *rend) 4252 { 4253 Pass *pass = rend->getTechnique()->getPass(0); 4254 setPass(pass); 4255 renderSingleObject(rend, pass, false); 4256 } 4250 4257 #endif //GTP_VISIBILITY_MODIFIED_OGRE 4251 4258 } -
trunk/VUT/work/ogre_changes/Plugins/OctreeSceneManager/src/OgreOctreeNode.cpp
r166 r183 189 189 AxisAlignedBox box = mLocalAABB; 190 190 // HACK: scale should not be done here 191 box.scale(Vector3( 10,10,10));191 box.scale(Vector3(3, 3, 3)); 192 192 mWireBoundingBox->setupBoundingBox(box); 193 193 mWireBoundingBox->getRenderOperation(rend); -
trunk/VUT/work/ogre_changes/RenderSystems/Direct3D9/src/OgreD3D9RenderWindow.cpp
r171 r183 366 366 md3dpp.BackBufferHeight = mHeight; 367 367 #ifdef GTP_VISIBILITY_MODIFIED_OGRE 368 md3dpp.Flags |= D3DPRESENTFLAG_LOCKABLE_BACKBUFFER;368 //md3dpp.Flags |= D3DPRESENTFLAG_LOCKABLE_BACKBUFFER; 369 369 #endif 370 370 if (mVSync) … … 938 938 // this will be the dimensions of the front buffer 939 939 if (FAILED(hr = mpD3DDevice->GetDisplayMode(0, &dm))) 940 OGRE_EXCEPT(hr, "Can't get display mode!", "D3D9RenderWindow:: writeContentsToFile");940 OGRE_EXCEPT(hr, "Can't get display mode!", "D3D9RenderWindow::getBufferContents"); 941 941 942 942 desc.Width = dm.Width; … … 951 951 NULL))) 952 952 { 953 OGRE_EXCEPT(hr, "Cannot create offscreen buffer 1!", "D3D9RenderWindow:: writeContentsToFile");953 OGRE_EXCEPT(hr, "Cannot create offscreen buffer 1!", "D3D9RenderWindow::getBufferContents"); 954 954 } 955 955 … … 971 971 desc.Format = D3DFMT_A8R8G8B8; // this is what we get from the screen, so stick with it 972 972 973 // NB we can't lock the back buffer direct because it's no created that way973 // NB we can't lock the back buffer direct because it's not created that way 974 974 // and to do so hits performance, so copy to another surface 975 975 // Must be the same format as the source surface … … 983 983 { 984 984 SAFE_RELEASE(pSurf); 985 OGRE_EXCEPT(hr, "Cannot create offscreen buffer 2!", "D3D9RenderWindow:: writeContentsToFile");985 OGRE_EXCEPT(hr, "Cannot create offscreen buffer 2!", "D3D9RenderWindow::getBufferContents"); 986 986 } 987 987 … … 991 991 SAFE_RELEASE(pTempSurf); 992 992 SAFE_RELEASE(pSurf); 993 OGRE_EXCEPT(hr, "Cannot update surface!", "D3D9RenderWindow:: writeContentsToFile");993 OGRE_EXCEPT(hr, "Cannot update surface!", "D3D9RenderWindow::getBufferContents"); 994 994 } 995 995 … … 1003 1003 D3DLOCK_READONLY | D3DLOCK_NOSYSLOCK))) 1004 1004 { 1005 OGRE_EXCEPT(hr, "can't lock rect!", "D3D9RenderWindow:: writeContentsToFile");1005 OGRE_EXCEPT(hr, "can't lock rect!", "D3D9RenderWindow::getBufferContents"); 1006 1006 } 1007 1007
Note: See TracChangeset
for help on using the changeset viewer.