Changeset 3290 for GTP/trunk/App/Demos/Vis/FriendlyCulling/src/chcdemo.cpp
- Timestamp:
- 01/22/09 18:45:22 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note: See TracChangeset
for help on using the changeset viewer.