Ignore:
Timestamp:
09/27/06 15:24:39 (18 years ago)
Author:
szydlowski
Message:

Added support for BvHierarchy? Scene Manager to test app

Location:
GTP/trunk/App/Demos/Vis/KdTreeDemo/OGRE
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Vis/KdTreeDemo/OGRE/include/TestKdTreeAppListener.h

    r1304 r1516  
    9292                SM_KDT, 
    9393                SM_KTE, 
     94                SM_BVH, 
    9495                SM_OCM, 
    9596                SM_OCT, 
  • GTP/trunk/App/Demos/Vis/KdTreeDemo/OGRE/src/TestKdTree.cpp

    r1312 r1516  
    615615        // set params for kdtree scene manager 
    616616        if (mOptions.mSceneManager == KdTreeAppListener::SM_KDT ||  
    617                 mOptions.mSceneManager == KdTreeAppListener::SM_KTE) 
     617                mOptions.mSceneManager == KdTreeAppListener::SM_KTE || 
     618                mOptions.mSceneManager == KdTreeAppListener::SM_BVH) 
    618619        { 
    619620                mSceneMgr->setOption("BuildMethod", &mOptions.mBuildMethod); 
  • GTP/trunk/App/Demos/Vis/KdTreeDemo/OGRE/src/TestKdTreeAppListener.cpp

    r1312 r1516  
    1919const String KdTreeAppListener::BUILDMETHOD[] = { "RE", "PQ" }; 
    2020const String KdTreeAppListener::BUILDMETHODCAPTION[] = { "Recursive", "Priority Queue" }; 
    21 const String KdTreeAppListener::SCENEMANAGER[] = { "KDT", "KTE", "OCM", "OCT", "TER", "GEN" }; 
     21const String KdTreeAppListener::SCENEMANAGER[] = { "KDT", "KTE", "BVH", "OCM", "OCT", "TER", "GEN" }; 
    2222const String KdTreeAppListener::SCENEMANAGERNAME[] = 
    2323{ 
    2424        "KdTreeSceneManager", 
    2525        "KdTreeTerrainSceneManager", 
     26        "BvHierarchySceneManager", 
    2627        "OcclusionCullingSceneManager", 
    2728        "OctreeSceneManager", 
Note: See TracChangeset for help on using the changeset viewer.