Changeset 156 for trunk/VUT/work


Ignore:
Timestamp:
07/06/05 02:36:16 (20 years ago)
Author:
mattausch
Message:
 
Location:
trunk/VUT/work
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/work/TestCullingTerrain/TerrainFrameListener.cpp

    r155 r156  
    453453                        ++nodesSize; 
    454454 
    455                         std::stringstream d; d << "Node visibility: " << vis; 
     455                        int id = sm->GetHierarchyInterface()->GetNodeId((*nodesIt).GetNode()); 
     456                        std::stringstream d; d << "Node " << id << " visibility: " << vis; 
    456457                        LogManager::getSingleton().logMessage(d.str()); 
    457458                }        
  • trunk/VUT/work/TestCullingTerrain/TestCullingTerrainApplication.cpp

    r155 r156  
    162162 
    163163                // the objects are generated on the whole terrain 
    164                 mTerrainContentGenerator->GenerateScene(1500, "robot"); 
    165                 //mTerrainContentGenerator->GenerateScene(1500, "athene"); 
     164                //mTerrainContentGenerator->GenerateScene(1500, "robot"); 
     165                mTerrainContentGenerator->GenerateScene(1500, "athene"); 
    166166                //mTerrainContentGenerator->GenerateScene(500, "ninja"); 
    167167        } 
  • trunk/VUT/work/ogre_changes/OgreMain/include/OgreRenderTarget.h

    r154 r156  
    268268 
    269269#ifdef GTP_VISIBILITY_MODIFIED_OGRE 
    270                 virtual uchar *getBufferContents(int &dimx, int &dimy) { return NULL; }; 
     270                virtual uchar *getBufferContents(int &dimx, int &dimy) = 0; 
    271271#endif // GTP_VISIBILITY_MODIFIED_OGRE 
    272272 
  • trunk/VUT/work/ogre_changes/RenderSystems/GL/src/OgreGLTexture.cpp

    r153 r156  
    440440        uchar *GLRenderTexture::getBufferContents(int &dimx, int &dimy) 
    441441        { 
    442                 ImageCodec::ImageData *imgData = new ImageCodec::ImageData(); 
    443442                dimx = mWidth; 
    444443                dimy = mHeight; 
  • trunk/VUT/work/ogre_changes/RenderSystems/GL/src/OgreWin32Window.cpp

    r153 r156  
    387387        uchar *Win32Window::getBufferContents(int &dimx, int &dimy) 
    388388        { 
    389                 ImageCodec::ImageData *imgData = new ImageCodec::ImageData(); 
    390389                dimx = mWidth; 
    391390                dimy = mHeight; 
Note: See TracChangeset for help on using the changeset viewer.