- Timestamp:
- 06/22/08 09:33:20 (17 years ago)
- Location:
- GTP/trunk/App/Demos/Vis/FriendlyCulling/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/SceneQuery.cpp
r2796 r2797 38 38 if (d > 0.0f) 39 39 { 40 pt.z = mSceneBox.M in().z +mSceneBox.Size().z * d;40 pt.z = mSceneBox.Max().z - mSceneBox.Size().z * d; 41 41 cout << "new depth " << pt.z << " (" << d << ")" << endl; 42 42 … … 64 64 orthoCam->SetPosition(pos); 65 65 66 glPixelStorei(GL_PACK_ROW_LENGTH, viewport[2]);66 //glPixelStorei(GL_PACK_ROW_LENGTH, viewport[2]); 67 67 68 68 // hack: should create offscreen buffer for this -
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/chcdemo.cpp
r2796 r2797 233 233 visualization = new Visualization(bvh, camera, NULL, &state); 234 234 235 sceneQuery = new SceneQuery(bvh->GetBox(), traverser);235 //sceneQuery = new SceneQuery(bvh->GetBox(), traverser); 236 236 237 237 glutMainLoop(); … … 495 495 496 496 Vector3 playerPos = camera->GetPosition(); 497 sceneQuery->CalcIntersection(playerPos);497 //sceneQuery->CalcIntersection(playerPos); 498 498 camera->SetPosition(playerPos); 499 499
Note: See TracChangeset
for help on using the changeset viewer.