Changeset 3220 for GTP/trunk/App/Demos/Vis/FriendlyCulling/src/chcdemo.cpp
- Timestamp:
- 12/10/08 15:57:06 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/chcdemo.cpp
r3219 r3220 122 122 int currentReplayFrame = -1; 123 123 124 string recordedFramesSuffix("frames"); 125 124 126 /// the walkThroughRecorder 125 127 WalkThroughRecorder *walkThroughRecorder = NULL; … … 416 418 env.GetFloatParam(string("ssaoKernelRadius"), ssaoKernelRadius); 417 419 env.GetFloatParam(string("ssaoSampleIntensity"), ssaoSampleIntensity); 418 419 420 env.GetBoolParam(string("ssaoUseFullResolution"), ssaoUseFullResolution); 421 422 env.GetStringParam(string("recordedFramesSuffix"), recordedFramesSuffix); 420 423 421 424 //env.GetStringParam(string("modelPath"), model_path); … … 446 449 cout << "kernel radius: " << ssaoKernelRadius << endl; 447 450 cout << "ssao full resolution: " << ssaoUseFullResolution << endl; 451 cout << "recorded frames suffix: " << recordedFramesSuffix << endl; 448 452 449 453 //cout << "model path: " << model_path << endl; … … 511 515 resourceManager = ResourceManager::GetSingleton(); 512 516 shaderManager = ShaderManager::GetSingleton(); 517 513 518 514 519 /////////// … … 1261 1266 deferredShader->SetUseTemporalCoherence(useTemporalCoherence); 1262 1267 deferredShader->SetSortSamples(sortSamples); 1263 deferredShader->SetSaveFrame( (recordFrames && replayPath) ? -1 : currentReplayFrame);1268 deferredShader->SetSaveFrame(recordedFramesSuffix, (recordFrames && replayPath) ? currentReplayFrame : -1); 1264 1269 1265 1270 ShadowMap *sm = showShadowMap ? shadowMap : NULL; … … 1490 1495 case 'u': 1491 1496 case 'U': 1497 // move light source instead of camera tilt 1492 1498 moveLight = !moveLight; 1493 1499 break;
Note: See TracChangeset
for help on using the changeset viewer.