Changeset 183 for trunk/VUT/Ogre


Ignore:
Timestamp:
07/19/05 17:39:30 (19 years ago)
Author:
mattausch
Message:

added iv-reader library, testing code, and resources

Location:
trunk/VUT/Ogre
Files:
173 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/Ogre/include/OgreTerrainContentGenerator.h

    r161 r183  
    33 
    44#include "OgreSceneContentGenerator.h" 
    5 //#include <Ogre.h> 
    65 
    76#define MAX_HEIGHT 5000 // maximal possible height for object position 
     
    2120 
    2221protected: 
     22         
    2323        RaySceneQuery *mRaySceneQuery; 
    2424}; 
    2525 
    2626/**  
    27         Thsi class used to fill a terrain with content, 
    28         e.g., it randomly fills a terrain with objects of a specific type. 
     27        This class used to fill a terrain with content, e.g.,  
     28        it randomly fills a terrain with objects of a specific type. 
    2929*/ 
    3030class __declspec(dllexport) TerrainContentGenerator: public SceneContentGenerator 
  • trunk/VUT/Ogre/src/OgrePlatformHierarchyInterface.cpp

    r175 r183  
    9898        ro.srcRenderable = solidBox; 
    9999        mRenderSystem->_render(ro); 
    100  
    101         // Render two halfes of the bounding box (using triangle fans) 
    102         /*for(int halfIdx = 0; halfIdx < 2; ++halfIdx) 
    103         { 
    104                 solidBox->SetupBoundingBoxVertices(*box, halfIdx == 1); 
    105                                  
    106                 solidBox->getRenderOperation(ro); 
    107                 ro.srcRenderable = solidBox; 
    108                 mRenderSystem->_render(ro); 
    109         }*/ 
    110100} 
    111101//----------------------------------------------------------------------- 
Note: See TracChangeset for help on using the changeset viewer.