Changeset 3292 for GTP/trunk/App/Demos/Vis/FriendlyCulling/src/chcdemo.cpp
- Timestamp:
- 01/27/09 16:29:45 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/chcdemo.cpp
r3291 r3292 388 388 void LoadOrUpdatePVSs(const Vector3 &pos); 389 389 390 390 string envFileName = "default.env"; 391 391 392 392 float pvsTotalSamples = .0f; … … 435 435 Vector3 lightDir(-0.8f, 1.0f, -0.7f); 436 436 437 cout << "=== reading environment file ===" << endl << endl; 438 439 const string envFileName = "default.env"; 437 if (argc > 1) envFileName = argv[1]; 438 439 cout << "=== reading environment file " << envFileName << " ===" << endl << endl; 440 440 441 if (!env.Read(envFileName)) 441 442 { … … 2392 2393 { 2393 2394 sprintf(msg[7], "%s: %6.1f fps", alg_str[renderMode], fps); 2394 myfont.DrawString(msg[7], 1.3f, winWidth - 3 00, winHeight - 10.0f);2395 myfont.DrawString(msg[7], 1.3f, winWidth - 330, winHeight - 10.0f); 2395 2396 2396 2397 //int mrays = (int)shotRays / 1000000; 2397 2398 //sprintf(msg[7], "%s: %04d M rays", alg_str[renderMode], mrays); 2398 //myfont.DrawString(msg[7], 1.3f, winWidth - 3 00, winHeight - 60.0f);2399 //myfont.DrawString(msg[7], 1.3f, winWidth - 330, winHeight - 60.0f); 2399 2400 } 2400 2401 } … … 2402 2403 { 2403 2404 sprintf(msg[7], "%s: %6.1f ms", alg_str[renderMode], rTime); 2404 myfont.DrawString(msg[7], 1.3f, winWidth - 3 00, winHeight - 10.0f);2405 myfont.DrawString(msg[7], 1.3f, winWidth - 330, winHeight - 10.0f); 2405 2406 } 2406 2407
Note: See TracChangeset
for help on using the changeset viewer.