- Timestamp:
- 01/12/07 09:13:47 (18 years ago)
- Location:
- GTP/trunk/Lib/Vis/Preprocessing/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/GlRenderer.cpp
r1969 r1971 85 85 mUseForcedColors = false; 86 86 mRenderBoxes = false; 87 mUseGlLists = true;88 //mUseGlLists = false;87 //mUseGlLists = true; 88 mUseGlLists = false; 89 89 90 90 Environment::GetSingleton()->GetIntValue("Preprocessor.pvsRenderErrorSamples", mPvsStatFrames); -
GTP/trunk/Lib/Vis/Preprocessing/src/GlobalLinesRenderer.cpp
r1970 r1971 877 877 } 878 878 879 //if (ray->mPass == 4)879 if (ray->mPass == 4) 880 880 outRays.push_back(ray); 881 881 } … … 990 990 ProcessDepthBuffer(rays, false, 0); 991 991 992 long renderTime = 0; 993 long bufferTime = 0; 994 992 995 for(; layers < mMaxDepth; ++ layers) 993 996 { 997 cout << "."; 998 const long startRenderTime = GetTime(); 999 994 1000 // Peel another layer 995 1001 // switch pointer between rendertextures … … 1012 1018 mNewTexture->EndCapture(); 1013 1019 1020 renderTime += TimeDiff(startRenderTime, GetTime()); 1021 1022 const long startBufferTime = GetTime(); 1023 1014 1024 // process the buffers for following layer 1015 1025 // jump out of loop for the first invalid buffer 1016 1026 if (!ProcessDepthBuffer(rays, true, layers)) 1017 1027 break; 1018 } 1019 1028 1029 bufferTime += TimeDiff(startBufferTime, GetTime()); 1030 } 1031 1032 Debug << "time spent in rendering: " << renderTime << endl; 1033 Debug << "time spent in buffer: " << bufferTime << endl; 1034 1020 1035 PrintGLerror("endpeeling"); 1021 1036
Note: See TracChangeset
for help on using the changeset viewer.