Changeset 3252
- Timestamp:
- 01/07/09 02:01:47 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/chcdemo.cpp
r3251 r3252 1190 1190 glEnableClientState(GL_VERTEX_ARRAY); 1191 1191 1192 if ( 0&& usePvs)1192 if (1 && usePvs) 1193 1193 { 1194 1194 if (!viewCellsTree) LoadVisibilitySolution(); … … 1275 1275 else 1276 1276 { 1277 if (usePvs)1278 {1279 if (!viewCellsTree) LoadVisibilitySolution();1280 LoadPvs();1281 }1282 else1283 1277 // actually render the scene geometry using the specified algorithm 1284 1278 traverser->RenderScene(); … … 2590 2584 { 2591 2585 SceneEntity *ent = viewCell->mPvs.GetEntry(i); 2592 2593 2586 ent->SetVisibleId(globalVisibleId); 2594 ent->Render(&renderState);2587 //ent->Render(&renderState); 2595 2588 2596 2589 numTriangles += ent->CountNumTriangles();
Note: See TracChangeset
for help on using the changeset viewer.