- Timestamp:
- 08/24/06 14:17:44 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src/OgreKdTreeSceneManager.cpp
r1264 r1273 13 13 #include <OgreLogManager.h> 14 14 #include <OgreStringConverter.h> 15 16 #include <OgreTerrainPage.h>17 #include <OgreTerrainVertexProgram.h>18 #include <OgreHeightmapTerrainPageSource.h>19 15 20 16 #include "OgreKdTreeSceneManager.h" … … 293 289 } 294 290 // options for CHC 295 if (strKey == "UseDepthPass")291 else if (strKey == "UseDepthPass") 296 292 { 297 293 mUseDepthPass = (*static_cast<const bool *>(pValue)); 298 294 return true; 299 295 } 300 if (strKey == "PrepareVisualization")296 else if (strKey == "PrepareVisualization") 301 297 { 302 298 mShowVisualization = (*static_cast<const bool *>(pValue)); 303 299 return true; 304 300 } 305 if (strKey == "RenderNodesForViz")301 else if (strKey == "RenderNodesForViz") 306 302 { 307 303 mRenderNodesForViz = (*static_cast<const bool *>(pValue)); 308 304 return true; 309 305 } 310 if (strKey == "RenderNodesContentForViz")306 else if (strKey == "RenderNodesContentForViz") 311 307 { 312 308 mRenderNodesContentForViz = (*static_cast<const bool *>(pValue)); 313 309 return true; 314 310 } 315 if (strKey == "SkyBoxEnabled")311 else if (strKey == "SkyBoxEnabled") 316 312 { 317 313 mSkyBoxEnabled = (*static_cast<const bool *>(pValue)); 318 314 return true; 319 315 } 320 if (strKey == "SkyPlaneEnabled")316 else if (strKey == "SkyPlaneEnabled") 321 317 { 322 318 mSkyPlaneEnabled = (*static_cast<const bool *>(pValue)); 323 319 return true; 324 320 } 325 if (strKey == "SkyDomeEnabled")321 else if (strKey == "SkyDomeEnabled") 326 322 { 327 323 mSkyDomeEnabled = (*static_cast<const bool *>(pValue)); 328 324 return true; 329 325 } 330 if (strKey == "VisualizeCulledNodes")326 else if (strKey == "VisualizeCulledNodes") 331 327 { 332 328 mVisualizeCulledNodes = (*static_cast<const bool *>(pValue)); 333 329 return true; 334 330 } 335 if (strKey == "DelayRenderTransparents")331 else if (strKey == "DelayRenderTransparents") 336 332 { 337 333 mDelayRenderTransparents = (*static_cast<const bool *>(pValue)); … … 339 335 } 340 336 341 if (strKey == "DepthWrite")337 else if (strKey == "DepthWrite") 342 338 { 343 339 mEnableDepthWrite = (*static_cast<const bool *>(pValue)); 344 340 return true; 345 341 } 346 if (strKey == "UseItemBuffer")342 else if (strKey == "UseItemBuffer") 347 343 { 348 344 mUseItemBuffer = (*static_cast<const bool *>(pValue)); 349 345 return true; 350 346 } 351 if (strKey == "ExecuteVertexProgramForAllPasses")347 else if (strKey == "ExecuteVertexProgramForAllPasses") 352 348 { 353 349 mExecuteVertexProgramForAllPasses = (*static_cast<const bool *>(pValue)); 354 350 return true; 355 351 } 356 if (strKey == "RenderTransparentsForItemBuffer")352 else if (strKey == "RenderTransparentsForItemBuffer") 357 353 { 358 354 mRenderTransparentsForItemBuffer = (*static_cast<const bool *>(pValue));
Note: See TracChangeset
for help on using the changeset viewer.