Changeset 144 for trunk/VUT/work
- Timestamp:
- 06/22/05 00:38:49 (20 years ago)
- Location:
- trunk/VUT/work/TestCullingTerrain
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/work/TestCullingTerrain/TerrainFrameListener.cpp
r143 r144 353 353 } 354 354 //----------------------------------------------------------------------- 355 void TerrainFrameListener::ApplyVisibilityQuery(bool fromPoint, bool projectedPixels)355 void TerrainFrameListener::ApplyVisibilityQuery(bool fromPoint, bool relativeVisibility) 356 356 { 357 357 InfoContainer<GtpVisibility::NodeInfo> visibleNodes; … … 362 362 mVisibilityManager->GetQueryManager()-> 363 363 ComputeFromPointVisibility(mCamNode->getPosition(), &visibleNodes, 364 &visibleGeometry, projectedPixels);364 &visibleGeometry, relativeVisibility); 365 365 } 366 366 else 367 367 { 368 368 mVisibilityManager->GetQueryManager()->ComputeCameraVisibility(*mCamera, 369 &visibleNodes, &visibleGeometry, projectedPixels);369 &visibleNodes, &visibleGeometry, relativeVisibility); 370 370 } 371 371 … … 405 405 //-- visibility queries stats 406 406 int idx = fromPoint ? 1 : 0; 407 idx += projectedPixels? 2 : 0;407 idx += relativeVisibility ? 2 : 0; 408 408 409 409 sprintf(str, ": %s", queryTypeCaptions[idx].c_str()); -
trunk/VUT/work/TestCullingTerrain/TerrainFrameListener.h
r143 r144 120 120 visible pixels / projected pixels. 121 121 */ 122 void ApplyVisibilityQuery(bool fromPoint, bool projectedPixels);122 void ApplyVisibilityQuery(bool fromPoint, bool relativeVisibility); 123 123 124 124 void toggleShowQueryStats(); -
trunk/VUT/work/TestCullingTerrain/TestCullingTerrainApplication.cpp
r139 r144 71 71 bool result = ExampleApplication::setup(); 72 72 73 createRenderTargetListener(); 73 if (mWindow) 74 createRenderTargetListener(); 74 75 75 76 return result;
Note: See TracChangeset
for help on using the changeset viewer.