View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007236VTK(No Category)public2008-06-25 04:182013-04-05 19:57
ReporterJulian Ibarz 
Assigned ToDavid Cole 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0007236: vtkOpenGLRenderWindow::SetRGBACharPixelData overwrite into the z-buffer
DescriptionWhen using vtkInteractorStyleRubberBandHelper3D (see example
attached) the z-buffer is set entirely to the value 0.

The reason is that vtkInteractorStyleRubberBandHelper3D use
vtkOpenGLRenderWindow::SetRGBACharPixelData which do not only modify
color as expected but also zbuffer. The write on z-buffer and the z-test
must be desactivated (to be sure to overwrite on the color buffer) using :

glDepthMask(GL_FALSE);
 glDisable(GL_DEPTH_TEST);

I made a patch that fix this problem adding this two lines on the begin of the method and their opposites on the end.

Best Regards.
TagsNo tags attached.
Project
Type
Attached Filespatch file icon zbuffer.patch [^] (831 bytes) 2008-06-25 04:18 [Show Content]
? file icon BugZBuffer.java [^] (3,542 bytes) 2008-06-25 04:19

 Relationships

  Notes
(0012522)
Dave DeMarle (administrator)
2008-06-25 10:16

Applied patch.

[kalimdor:ParaView/develPV3/ParaView3] demarle% cvs commit -m "BUG: Don't clear z buffer during an area pick for consistancy with point pick. See bug 7236. Thanks: Julian Ibarz for the patch." VTK/Rendering/vtkOpenGLRenderWindow.cxx
Commit to directory "ParaView3/VTK/Rendering" lies in external project VTK
/cvsroot/ParaView3/ParaView3/VTK/Rendering/vtkOpenGLRenderWindow.cxx,v <-- VTK/Rendering/vtkOpenGLRenderWindow.cxx
new revision: 1.98; previous revision: 1.97

Watching dashboards now...
(0012992)
David Cole (developer)
2008-08-12 14:35

Merged to VTK-5-2 also:

    /cvsroot/VTK/VTK/Rendering/vtkOpenGLRenderWindow.cxx,v <-- Rendering/vtkOpenGLRenderWindow.cxx
    new revision: 1.95.2.2; previous revision: 1.95.2.1

 Issue History
Date Modified Username Field Change
2008-06-25 04:18 Julian Ibarz New Issue
2008-06-25 04:18 Julian Ibarz File Added: zbuffer.patch
2008-06-25 04:19 Julian Ibarz File Added: BugZBuffer.java
2008-06-25 10:16 Dave DeMarle Note Added: 0012522
2008-08-12 14:34 David Cole Status backlog => tabled
2008-08-12 14:34 David Cole Assigned To => David Cole
2008-08-12 14:35 David Cole Status tabled => @80@
2008-08-12 14:35 David Cole Resolution open => fixed
2008-08-12 14:35 David Cole Note Added: 0012992
2011-06-16 13:11 Zack Galbreath Category => (No Category)
2013-04-05 19:57 Berk Geveci Status customer review => closed


Copyright © 2000 - 2018 MantisBT Team