Changeset 1962 for GTP/trunk/Lib/Vis/Preprocessing
- Timestamp:
- 01/10/07 10:12:51 (18 years ago)
- Location:
- GTP/trunk/Lib/Vis/Preprocessing/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/GlobalLinesRenderer.cpp
r1961 r1962 29 29 GlobalLinesRenderer *globalLinesRenderer = NULL; 30 30 31 //static int texWidth = 32; 32 //static int texHeight = 32; 31 33 static int texWidth = 256; 32 34 static int texHeight = 256; … … 304 306 for (oit = mPreprocessor->mObjects.begin(); oit != oit_end; ++ oit) 305 307 { 306 cout << (*oit)->GetId() << " ";308 //cout << (*oit)->GetId() << " "; 307 309 RenderObject(*oit); 308 310 } … … 679 681 } 680 682 681 //exporter->ExportRays(vssRays);683 exporter->ExportRays(vssRays); 682 684 683 685 delete exporter; … … 829 831 { 830 832 // Peel another layer 831 SwitchRenderTextures(); // switch pointer between rendertextures 833 // switch pointer between rendertextures 834 SwitchRenderTextures(); 832 835 833 836 mNewTexture->BeginCapture(); … … 853 856 mNewTexture->EndCapture(); 854 857 858 CLEAR_CONTAINER(rays); 855 859 // process the buffers for following layer 856 860 ProcessDepthBuffer(rays, true); -
GTP/trunk/Lib/Vis/Preprocessing/src/depth_peeling2d.cg
r1950 r1962 6 6 float zold = tex2D(depthTex, pos.xy / 256.0); 7 7 8 if(pos.z < (zold + 0. 1))8 if(pos.z < (zold + 0.00001)) 9 9 discard; 10 10 else;
Note: See TracChangeset
for help on using the changeset viewer.