View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007774VTK(No Category)public2008-10-02 15:122009-05-22 14:18
ReporterFrançois Bertel 
Assigned ToFrançois Bertel 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0007774: Depth peeling not working on nVidia GeForce 8 series under Linux
DescriptionnVidia Quadro FX3600M and GeForce 8800 GTX are both GeForce 8 series.
Depth peeling works fine on nVidia GeForce 6800 on Linux.

The machine with the nVidia Quadro FX3600M is dual-boot Linux/Windows.
Depth peeling works fine on Windows. It fails on Linux. Same machine.

By default, on Linux (glx), a context is created with a multisample buffer.
Even if the depth peeling algorithm takes care of disabling multisampling
rasterization, the multisample buffer is still there and the OpenGL spec
states that rasterization should behave like a single sample buffer.

VTK does not support multisample buffer on Windows, that's why we don't see
the problem on Windows.

A workaround for Linux is to build a vtkRenderWindow with MultiSamples set to 0 (default is 8).

I reported a detailed bug description to nVidia:

http://www.nvnews.net/vbulletin/showthread.php?t=120387 [^]

VTK failing tests:

 TestTranslucentLUTDepthPeeling
 TestTranslucentLUTTextureDepthPeeling
 TestOpacity
TagsNo tags attached.
Project
Type
Attached Filesbz2 file icon bug_vtk_depth_peeling_quadrofx3600m.tar.bz2 [^] (104,384 bytes) 2008-10-02 15:14

 Relationships

  Notes
(0013714)
François Bertel (developer)
2008-10-02 15:15

For future reference, I attached the file I sent to the nVidia forum.
(0016553)
François Bertel (developer)
2009-05-22 14:03

Apparently, it was working on GeForce 6 by luck.

http://www.nvnews.net/vbulletin/showpost.php?p=2006108&postcount=2 [^]

The solution is really to call SetMultiSamples(0) on the vtkRenderWindow before it is initialized.
(0016554)
François Bertel (developer)
2009-05-22 14:11

Change doc of UseDepthPeeling in vtkRenderer.h in revision 1.144
(0016556)
François Bertel (developer)
2009-05-22 14:17

Update wiki page, move workaround for GeForce 8 as a required step for any case:

http://www.vtk.org/Wiki/VTK/Depth_Peeling [^]
(0016557)
François Bertel (developer)
2009-05-22 14:18

SetMultiSamples(0) is required

 Issue History
Date Modified Username Field Change
2008-10-02 15:12 François Bertel New Issue
2008-10-02 15:13 François Bertel Status backlog => tabled
2008-10-02 15:13 François Bertel Assigned To => François Bertel
2008-10-02 15:14 François Bertel File Added: bug_vtk_depth_peeling_quadrofx3600m.tar.bz2
2008-10-02 15:15 François Bertel Note Added: 0013714
2009-05-22 14:03 François Bertel Note Added: 0016553
2009-05-22 14:11 François Bertel Note Added: 0016554
2009-05-22 14:17 François Bertel Note Added: 0016556
2009-05-22 14:18 François Bertel Note Added: 0016557
2009-05-22 14:18 François Bertel Status tabled => closed
2009-05-22 14:18 François Bertel Resolution open => fixed
2011-06-16 13:11 Zack Galbreath Category => (No Category)


Copyright © 2000 - 2018 MantisBT Team