Changeset 97 for trunk/VUT/Ogre/src


Ignore:
Timestamp:
05/13/05 15:14:12 (20 years ago)
Author:
mattausch
Message:

ogre: changed from occlusion_query_nv to occlusion_query_arb (in ogre_changes)

Location:
trunk/VUT/Ogre/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/Ogre/src/OgreSolidBoundingBox.cpp

    r94 r97  
    119119void SolidBoundingBox::SetOcclusionQueryMaterial() 
    120120{ 
    121         m_pMaterial = MaterialManager::getSingleton().getByName("OcclusionQuery"); 
     121        m_pMaterial = MaterialManager::getSingleton().getByName("QueryMaterial"); 
    122122 
    123123        if(m_pMaterial.isNull()) 
    124124        { 
    125125                m_pMaterial = MaterialManager::getSingleton(). 
    126                         create("OcclusionQuery", ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME); 
     126                        create("QueryMaterial", ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME); 
    127127 
    128128                m_pMaterial->setColourWriteEnabled(false); 
     
    131131        } 
    132132 
    133         setMaterial("OcclusionQuery"); 
     133        setMaterial("QueryMaterial"); 
    134134} 
    135135 
  • trunk/VUT/Ogre/src/OgreSolidHalfBoundingBox.cpp

    r91 r97  
    8787void SolidHalfBoundingBox::SetOcclusionQueryMaterial( void ) 
    8888{ 
    89         m_pMaterial = MaterialManager::getSingleton().getByName("OcclusionQuery"); 
     89        m_pMaterial = MaterialManager::getSingleton().getByName("QueryMaterial"); 
    9090 
    9191        if(m_pMaterial.isNull()) 
    9292        { 
    9393                m_pMaterial = MaterialManager::getSingleton(). 
    94                         create("OcclusionQuery", ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME); 
     94                        create("QueryMaterial", ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME); 
    9595        } 
    9696 
     
    9999        m_pMaterial->setLightingEnabled(false); 
    100100 
    101         setMaterial("OcclusionQuery"); 
     101        setMaterial("QueryMaterial"); 
    102102} 
    103103 
Note: See TracChangeset for help on using the changeset viewer.