- Timestamp:
- 01/22/09 18:45:22 (16 years ago)
- Location:
- GTP/trunk/App/Demos/Vis/FriendlyCulling
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/MainApp.vcproj
r3274 r3290 155 155 IgnoreAllDefaultLibraries="false" 156 156 IgnoreDefaultLibraryNames="LIBCMT" 157 GenerateDebugInformation=" false"157 GenerateDebugInformation="true" 158 158 SubSystem="1" 159 159 LargeAddressAware="2" -
GTP/trunk/App/Demos/Vis/FriendlyCulling/default.env
r3289 r3290 13 13 #filename=mypompeii 14 14 #bvhname=mypompeii 15 filename=pompeii/pompeii_full15 #filename=pompeii/pompeii_full 16 16 #filename=pompeii/pompeii_part 17 #filename=city18 #bvhname=city17 filename=city 18 bvhname=city 19 19 useLODs=1 20 20 # shadow map size … … 75 75 76 76 # initial camera position 77 #camPosition=483.398f 242.364f 186.078f77 camPosition=483.398f 242.364f 186.078f 78 78 # pompeii view point 79 camPosition=1300.0f -2500.0f 10.0f79 #camPosition=1300.0f -2500.0f 10.0f 80 80 # pompeii problematic 81 81 #camPosition=627.003 -1725.33 25.2 … … 152 152 153 153 # static geometry 154 filename=PowerPlantM155 bvhname=PowerPlantM156 keyForwardMotion=500.0f157 mouseMotion=10.0f158 visibilitySolution=power-plant-2c-xx-1000b-pgv2154 #filename=PowerPlantM 155 #bvhname=PowerPlantM 156 #keyForwardMotion=500.0f 157 #mouseMotion=10.0f 158 #visibilitySolution=power-plant-2c-xx-1000b-pgv2 159 159 #visibilitySolution=power-plant-2c-xx-1000d-pgv 160 visibilitySolution=power-plant-2c-xx-1000b-spgvu161 camPosition=-1320.57 -6306.34 3603162 camDirection=0.292156 0.9556 0.0383878163 viewCellsScaleFactor=0.05f160 #visibilitySolution=power-plant-2c-xx-1000b-spgvu 161 #camPosition=-1320.57 -6306.34 3603 162 #camDirection=0.292156 0.9556 0.0383878 163 #viewCellsScaleFactor=0.05f 164 164 165 camPosition=763.554 -10254.5 2604166 camDirection=-0.0975121 0.994494 0.0383878167 useSkylightForIllum=1168 skyDomeScaleFactor=1000.0f165 #camPosition=763.554 -10254.5 2604 166 #camDirection=-0.0975121 0.994494 0.0383878 167 #useSkylightForIllum=1 168 #skyDomeScaleFactor=1000.0f 169 169 170 camPosition=1145.31 413.602 186.678171 camDirection=-0.917729 -0.397207 -0170 #camPosition=1145.31 413.602 186.678 171 #camDirection=-0.917729 -0.397207 -0 172 172 #lightDirection=0.509293 0.784034 -0.35484 173 lightDirection=0.360937 0.0267167 -0.932207173 #lightDirection=0.360937 0.0267167 -0.932207 174 174 175 175 #walkThroughSuffix=path_pp 176 walkThroughSuffix=walkthrough_pp_1176 #walkThroughSuffix=walkthrough_pp_1 -
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/VisibilitySolutionLoader.cpp
r3289 r3290 156 156 157 157 BvhNodeContainer nodes; 158 //CreateIdSortedList2(bvh->GetStaticRoot(), nodes);159 CreateIdSortedList(bvh, nodes);158 CreateIdSortedList2(bvh->GetStaticRoot(), nodes); 159 //CreateIdSortedList(bvh, nodes); 160 160 161 161 const int tenpercent = number / 10; -
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/chcdemo.cpp
r3289 r3290 616 616 //LoadModel("sibenik.dem", dynamicObjects); 617 617 618 if ( 1) LoadPompeiiFloor();619 620 #if 0618 if (0) LoadPompeiiFloor(); 619 620 #if 1 621 621 const Vector3 sceneCenter(470.398f, 240.364f, 181.7f); 622 622 //const Vector3 sceneCenter(470.398f, 240.364f, 180.3); … … 630 630 for (int i = 0; i < 10; ++ i) 631 631 { 632 cout << "here3" << endl; 632 633 SceneEntity *ent = new SceneEntity(*buddha); 633 634 resourceManager->AddSceneEntity(ent); … … 1119 1120 void MainLoop() 1120 1121 { 1121 if ( buddha)1122 if (0)//buddha) 1122 1123 { 1123 1124 Matrix4x4 oldTrafo = buddha->GetTransform()->GetMatrix(); … … 1141 1142 #endif 1142 1143 1143 /*1144 1144 ///////////////////////// 1145 1145 //-- update animations … … 1152 1152 1153 1153 motionPath->Move(0.01f); 1154 */1155 1154 } 1156 1155 … … 2394 2393 { 2395 2394 sprintf(msg[7], "%s: %6.1f fps", alg_str[renderMode], fps); 2396 myfont.DrawString(msg[7], 1.3f, winWidth - 3 50, winHeight - 30.0f);2395 myfont.DrawString(msg[7], 1.3f, winWidth - 300, winHeight - 10.0f); 2397 2396 2398 2397 //int mrays = (int)shotRays / 1000000; 2399 2398 //sprintf(msg[7], "%s: %04d M rays", alg_str[renderMode], mrays); 2400 //myfont.DrawString(msg[7], 1.3f, winWidth - 3 50, winHeight - 60.0f);2399 //myfont.DrawString(msg[7], 1.3f, winWidth - 300, winHeight - 60.0f); 2401 2400 } 2402 2401 } … … 2404 2403 { 2405 2404 sprintf(msg[7], "%s: %6.1f ms", alg_str[renderMode], rTime); 2406 myfont.DrawString(msg[7], 1.3f, winWidth - 3 50, winHeight - 30.0f);2405 myfont.DrawString(msg[7], 1.3f, winWidth - 300, winHeight - 10.0f); 2407 2406 } 2408 2407 -
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaderenv.h
r3285 r3290 8 8 //#define NUM_SAMPLES 8 9 9 //#define NUM_SAMPLES 16 10 #define NUM_SAMPLES 2411 //#define NUM_SAMPLES 4810 //#define NUM_SAMPLES 24 11 #define NUM_SAMPLES 48 12 12 13 13 #define MIN_SAMPLES 8 … … 63 63 64 64 65 //#define USE_GTX65 #define USE_GTX 66 66 67 67 #endif // __SHADERENV_H
Note: See TracChangeset
for help on using the changeset viewer.