- Timestamp:
- 07/11/05 17:47:47 (19 years ago)
- Location:
- trunk/VUT
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/Ogre/src/OgreItemBufferQueryManager.cpp
r164 r166 83 83 id += buf[idx + 2]; 84 84 85 std::stringstream d; d << "myid: " << (int)buf[idx] << " " << (int)buf[idx + 1] << " " << (int)buf[idx + 2];86 LogManager::getSingleton().logMessage(d.str());85 //std::stringstream d; d << "myid: " << (int)buf[idx] << " " << (int)buf[idx + 1] << " " << (int)buf[idx + 2]; 86 //LogManager::getSingleton().logMessage(d.str()); 87 87 88 88 // if valid id <= add visibility (id values start at 1) … … 157 157 158 158 subEnt->setId(id); 159 subEnt->setId((41 << 16) + (4 << 8) + 60);159 //subEnt->setId((41 << 16) + (4 << 8) + 60); 160 160 //subEnt->setId((2 << 16) + (4 << 8) + 60); 161 161 } -
trunk/VUT/Ogre/src/OgreVisibilityTerrainSceneManager.cpp
r164 r166 752 752 { 753 753 ent->getSubEntity(i)->setId(mCurrentEntityId); 754 ent->getSubEntity(i)->setId((41 << 16) + (4 << 8) + 60);754 //ent->getSubEntity(i)->setId((41 << 16) + (4 << 8) + 60); 755 755 //ent->getSubEntity(i)->setId((2 << 16) + (4 << 8) + 60); 756 756 } -
trunk/VUT/work/ogre_changes/Plugins/OctreeSceneManager/src/OgreOctreeNode.cpp
r153 r166 170 170 void OctreeNode::getRenderOperation( RenderOperation& rend ) 171 171 { 172 #ifdef GTP_VISIBILITY_MODIF ED_OGRE172 #ifdef GTP_VISIBILITY_MODIFIED_OGRE 173 173 /*static SubMesh* pSubMesh = 0; 174 174 -
trunk/VUT/work/ogre_changes/RenderSystems/Direct3D9/src/OgreD3D9RenderWindow.cpp
r153 r166 365 365 md3dpp.BackBufferWidth = mWidth; 366 366 md3dpp.BackBufferHeight = mHeight; 367 367 #ifdef GTP_VISIBILITY_MODIFIED_OGRE 368 md3dpp.Flags |= D3DPRESENTFLAG_LOCKABLE_BACKBUFFER; 369 #endif 368 370 if (mVSync) 369 371 md3dpp.PresentationInterval = D3DPRESENT_INTERVAL_ONE; … … 951 953 } 952 954 953 if (FAILED(hr = mpD3DDevice->GetFrontBufferData(0, pTempSurf))) 955 //if (FAILED(hr = mpD3DDevice->GetFrontBufferData(0, pTempSurf))) 956 if (FAILED(hr = mpD3DDevice->GetBackBuffer(0, 0, D3DBACKBUFFER_TYPE_MONO, &pTempSurf))) 954 957 { 955 958 SAFE_RELEASE(pTempSurf); 956 OGRE_EXCEPT(hr, "Can't get front buffer!", "D3D9RenderWindow::writeContentsToFile");959 OGRE_EXCEPT(hr, "Can't get back buffer!", "D3D9RenderWindow::getBufferContents"); 957 960 } 958 961 … … 1055 1058 } 1056 1059 1060 pTempSurf->UnlockRect(); 1057 1061 SAFE_RELEASE(pTempSurf); 1058 1062 SAFE_RELEASE(pSurf);
Note: See TracChangeset
for help on using the changeset viewer.