Changeset 370 for trunk/VUT/Ogre
- Timestamp:
- 11/02/05 17:57:29 (19 years ago)
- Location:
- trunk/VUT/Ogre
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/Ogre/include/OgreOcclusionQueriesQueryManager.h
r316 r370 39 39 void CollectGeometryVisibility(GtpVisibility::QueryList::iterator &visQueryIt, 40 40 GtpVisibility::QueryList::iterator &projQueryIt, 41 GtpVisibility::Geometry List*geometryList,41 GtpVisibility::GeometryVector *geometryList, 42 42 GtpVisibility::MeshInfoContainer *visibleGeometry, 43 43 bool relativeVisibility); … … 45 45 void CollectNodeVisibility(GtpVisibility::QueryList::iterator &visQueryIt, 46 46 GtpVisibility::QueryList::iterator &projQueryIt, 47 GtpVisibility:: HierarchyNodeList*nodeList,47 GtpVisibility::NodeVector *nodeList, 48 48 GtpVisibility::NodeInfoContainer *visibleNodes, 49 49 bool relativeVisibility); 50 50 51 51 void CollectRelativeGeometryVisibilityForItemBuffer(GtpVisibility::QueryList::iterator &projQueryIt, 52 GtpVisibility::Geometry List*geometryList,52 GtpVisibility::GeometryVector *geometryList, 53 53 GtpVisibility::MeshInfoContainer *visibleGeometry); 54 54 55 55 void CollectRelativePatchVisibilityForItemBuffer( 56 56 GtpVisibility::QueryList::iterator &projQueryIt, 57 GtpVisibility::Patch List*patchList,57 GtpVisibility::PatchVector *patchList, 58 58 GtpVisibility::PatchInfoContainer *visiblePatches); 59 59 60 60 void CollectPatchVisibility(GtpVisibility::QueryList::iterator &visQueryIt, 61 61 GtpVisibility::QueryList::iterator &projQueryIt, 62 GtpVisibility::Patch List*patchList,62 GtpVisibility::PatchVector *patchList, 63 63 GtpVisibility::PatchInfoContainer *visiblePatches, 64 64 bool relativeVisibility); … … 73 73 */ 74 74 virtual void GetNodePatchList(GtpVisibility::HierarchyNode *node, 75 GtpVisibility::Patch List*patchList);75 GtpVisibility::PatchVector *patchList); 76 76 77 77 int mItemBufferMode; -
trunk/VUT/Ogre/include/OgreOctreeHierarchyInterface.h
r345 r370 48 48 49 49 void GetNodeGeometryList(GtpVisibility::HierarchyNode *node, 50 GtpVisibility::Geometry List*geometryList,50 GtpVisibility::GeometryVector *geometryList, 51 51 bool includeChildren); 52 52 -
trunk/VUT/Ogre/include/OgreSceneNodeHierarchyInterface.h
r345 r370 43 43 44 44 void GetNodeGeometryList(GtpVisibility::HierarchyNode *node, 45 GtpVisibility::Geometry List*geometryList,45 GtpVisibility::GeometryVector *geometryList, 46 46 bool includeChildren); 47 47 -
trunk/VUT/Ogre/resources/materials/scripts/natFX_Tree1_LOD2.material
r183 r370 31 31 ambient 1 1 1 1 32 32 diffuse 1 1 1 1 33 specular 0.15 0.107 0.039 2033 34 34 emissive 0 0 0 35 35 … … 52 52 ambient 1 1 1 1 53 53 diffuse 1 1 1 1 54 specular 0.15 0.107 0.039 2054 55 55 emissive 0 0 0 56 56 -
trunk/VUT/Ogre/src/OgreOcclusionQueriesQueryManager.cpp
r318 r370 65 65 66 66 // rendered visibile hierarchy nodes from previous rendering 67 GtpVisibility:: HierarchyNodeList*visNodes = mHierarchyInterface->GetVisibleNodes();68 GtpVisibility:: HierarchyNodeList::iterator visNodesIt, visNodesIt_end = visNodes->end();69 70 GtpVisibility:: HierarchyNodeListnodeList;67 GtpVisibility::NodeVector *visNodes = mHierarchyInterface->GetVisibleNodes(); 68 GtpVisibility::NodeVector::iterator visNodesIt, visNodesIt_end = visNodes->end(); 69 70 GtpVisibility::NodeVector nodeList; 71 71 72 72 if (mQueryModes & NODE_VISIBILITY) … … 78 78 } 79 79 80 GtpVisibility:: HierarchyNodeList::iterator nodeIt, nodeIt_end = nodeList.end();80 GtpVisibility::NodeVector::iterator nodeIt, nodeIt_end = nodeList.end(); 81 81 82 82 // vector for storing entities of meshes 83 GtpVisibility::Geometry ListgeometryList;83 GtpVisibility::GeometryVector geometryList; 84 84 85 85 // store geometry of the hierarchy nodes in a geometry list … … 93 93 94 94 // geometry list iterator 95 GtpVisibility::Geometry List::iterator geometryIt, geometryIt_end = geometryList.end();95 GtpVisibility::GeometryVector::iterator geometryIt, geometryIt_end = geometryList.end(); 96 96 97 97 // vector for storing subentities of meshes 98 GtpVisibility::Patch ListpatchList;98 GtpVisibility::PatchVector patchList; 99 99 100 100 // store patchges of the geometries in a patch list … … 107 107 } 108 108 109 GtpVisibility::Patch List::iterator patchIt, patchIt_end = patchList.end();109 GtpVisibility::PatchVector::iterator patchIt, patchIt_end = patchList.end(); 110 110 111 111 // to obtain the correct number of projected pixels, depth write must be disabled … … 229 229 GtpVisibility::QueryList::iterator &visQueryIt, 230 230 GtpVisibility::QueryList::iterator &projQueryIt, 231 GtpVisibility:: HierarchyNodeList*nodeList,231 GtpVisibility::NodeVector *nodeList, 232 232 GtpVisibility::NodeInfoContainer *visibleNodes, 233 233 bool relativeVisibility) 234 234 { 235 GtpVisibility:: HierarchyNodeList::iterator nodeIt;235 GtpVisibility::NodeVector::iterator nodeIt; 236 236 237 237 //-- queries for nodes … … 263 263 void OcclusionQueriesQueryManager::CollectRelativeGeometryVisibilityForItemBuffer( 264 264 GtpVisibility::QueryList::iterator &projQueryIt, 265 GtpVisibility::Geometry List*geometryList,265 GtpVisibility::GeometryVector *geometryList, 266 266 GtpVisibility::MeshInfoContainer *visibleGeometry) 267 267 { 268 GtpVisibility::Geometry List::iterator geometryIt;268 GtpVisibility::GeometryVector::iterator geometryIt; 269 269 270 270 //-- queries for geometry … … 287 287 void OcclusionQueriesQueryManager::CollectRelativePatchVisibilityForItemBuffer( 288 288 GtpVisibility::QueryList::iterator &projQueryIt, 289 GtpVisibility::Patch List*patchList,289 GtpVisibility::PatchVector *patchList, 290 290 GtpVisibility::PatchInfoContainer *visiblePatches) 291 291 { 292 GtpVisibility::Patch List::iterator patchIt;292 GtpVisibility::PatchVector::iterator patchIt; 293 293 294 294 //-- queries for geometry … … 312 312 GtpVisibility::QueryList::iterator &visQueryIt, 313 313 GtpVisibility::QueryList::iterator &projQueryIt, 314 GtpVisibility::Geometry List*geometryList,314 GtpVisibility::GeometryVector *geometryList, 315 315 GtpVisibility::MeshInfoContainer *visibleGeometry, 316 316 bool relativeVisibility) 317 317 { 318 GtpVisibility::Geometry List::iterator geometryIt;318 GtpVisibility::GeometryVector::iterator geometryIt; 319 319 320 320 //-- queries for geometry … … 347 347 GtpVisibility::QueryList::iterator &visQueryIt, 348 348 GtpVisibility::QueryList::iterator &projQueryIt, 349 GtpVisibility::Patch List*patchList,349 GtpVisibility::PatchVector *patchList, 350 350 GtpVisibility::PatchInfoContainer *visiblePatches, 351 351 bool relativeVisibility) 352 352 { 353 GtpVisibility::Patch List::iterator patchIt;353 GtpVisibility::PatchVector::iterator patchIt; 354 354 355 355 //-- queries for patch … … 464 464 //----------------------------------------------------------------------- 465 465 void OcclusionQueriesQueryManager::GetNodePatchList(GtpVisibility::HierarchyNode *node, 466 GtpVisibility::Patch List*patchList)467 { 468 GtpVisibility::Geometry ListgeomList;466 GtpVisibility::PatchVector *patchList) 467 { 468 GtpVisibility::GeometryVector geomList; 469 469 mHierarchyInterface->GetNodeGeometryList(node, &geomList, false); 470 470 471 471 // geometry list iterator 472 GtpVisibility::Geometry List::iterator geomIt, geomIt_end = geomList.end();472 GtpVisibility::GeometryVector::iterator geomIt, geomIt_end = geomList.end(); 473 473 474 474 for (geomIt = geomList.begin(); geomIt != geomIt_end; ++geomIt) -
trunk/VUT/Ogre/src/OgreOctreeHierarchyInterface.cpp
r346 r370 157 157 //----------------------------------------------------------------------- 158 158 void OctreeHierarchyInterface::GetNodeGeometryList(GtpVisibility::HierarchyNode *node, 159 GtpVisibility::Geometry List*geometryList,159 GtpVisibility::GeometryVector *geometryList, 160 160 bool includeChildren) 161 161 { -
trunk/VUT/Ogre/src/OgreSceneNodeHierarchyInterface.cpp
r345 r370 137 137 //----------------------------------------------------------------------- 138 138 void SceneNodeHierarchyInterface::GetNodeGeometryList(GtpVisibility::HierarchyNode *node, 139 GtpVisibility::Geometry List*geometryList,139 GtpVisibility::GeometryVector *geometryList, 140 140 bool includeChildren) 141 141 {
Note: See TracChangeset
for help on using the changeset viewer.