[vtkusers] Depth Peeling VTK5.2 ATI Cars
Francois Bertel
francois.bertel at kitware.com
Fri Oct 3 12:24:14 EDT 2008
I don't want to discourage you but I just google "depth peeling ati
glsl". The first item is "Doesn't work quite right on ATI cards"...
And if it was that easy it would have been fixed in VTK.
But if you really want to focus on finding a solution to make it work
on some ATI card, feel free to ask me question about the algorithm
itself. I'll be happy to help you because
I'll be happy to see it working on something else than nVidia and Mesa.
In attachment, I have some version that use regular 2D texture (it
means the card has to support none-power-of-two (NPOT) textures
instead of rectangle textures. You can try it on your side if you
want.
BTW. If you want to move to an implementation question, you should
start a new thread on vtk-developers list instead.
On Fri, Oct 3, 2008 at 12:01 PM, Inigo Barandiaran
<ibarandiaran at vicomtech.org> wrote:
>
> Thanks goodwin for your reply.
> I tested depth peeling in both laptop and non-laptop PC. With an old ATI
> card and with a New ATI card with the lastest drivers installed (i used this
> tool http://www.driverheaven.net/modtool.php that allows to install the
> lastest ATI drivers for non-Laptop PC in any laptop).
>
> Depth peeling did not work nor in laptop neither in non-laptop PC.
>
> Francois, i don't know where is exactly the problem. In your code, you
> mention that the problem is the implementation in GLSL of some funtions in
> ATI's driver isnt it?
>
> I will try to find a solution, but, do you think is going to be difficult to
> solve? Thanks in advance, and thanks for your efforts in VTK :)
>
> Best,
>
>
>
> Goodwin Lawlor wrote:
>>
>> Francois Bertel wrote:
>>> Iñigo,
>>>
>>> No I don't have solution for VTK depth peeling on ATI cards.
>>>
>>> Goodwin,
>>>
>>> VTK depth peeling working on an old ATI laptop is break news for me!
>>>
>>> You are the first saying that VTK depth peeling is working with an ATI
>>> card.
>>> Can you send me your OpenGL profile please (any of the following
>>> methods allows you to save the result into a text file):
>>> http://www.vtk.org/Wiki/VTK_FAQ#How_do_I_check_which_OpenGL_versions_or_extensions_are_supported_by_my_graphic_card_or_OpenGL_implementation.3F
>>>
>>> What's the result of
>>>
>>> $ ctest -R TestTranslucentLUTDepthPeeling -V
>>>
>>> Does it fail or pass?
>>> Does it say: "depth peeling was used" or does it say "depth peeling
>>> was not used (alpha blending instead)"?
>>>
>>> The best is actually to submit this test on the vtk dahsboard as an
>>> experimental build:
>>>
>>> $ ctest -D ExperimentalTest -R
>>> "LoadOpenGLExtension|TestTranslucentLUTDepthPeeling"
>>>
>>> ... it will run LoadOpenGLExtension test (this test will display the
>>> OpenGL version and the list of OpenGL extensions,
>>> it will run TestTranslucentLUTDepthPeeling as well.
>>>
>>> Regards.
>>
>> Sorry - false alarm. That test fails.
>>
>> Looking at my app is falls back to sorting polys on the laptop.
>>
>> That reminds me that those omega drivers add accelerated 3d texture
>> volume rendering over the official drivers, not depth peeling :-(
>>
>> Goodwin
>>
>> _______________________________________________
>> This is the private VTK discussion list.
>> Please keep messages on-topic. Check the FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Depth-Peeling-VTK5.2-ATI-Cars-tp19796076p19800766.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
--
François Bertel, PhD | Kitware Inc. Suite 204
1 (518) 371 3971 x113 | 28 Corporate Drive
| Clifton Park NY 12065, USA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vtkOpenGLRenderer.cxx
Type: text/x-c++src
Size: 42305 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20081003/ede7c492/attachment.cxx>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vtkOpenGLRenderer_PeelingFS.glsl
Type: application/octet-stream
Size: 1789 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20081003/ede7c492/attachment.obj>
More information about the vtkusers
mailing list