[vtkusers] VTK 8.0.0 OpenGL2 Invisible surfaces

Ken Martin ken.martin at kitware.com
Fri Jul 21 09:36:15 EDT 2017


VTK thinks your surface is translucent. The logic changed in OpenGL2 and so
something in your object indicates the possibility of transparency.  The
options include

- opacity < 1.0
- a lookup table/ color transfer function with some opacity values < 1.0
- a texture map with (< 1.0?) alpha values

You can force VTK to treat your object as Opaque using the ForceOpaqe
option on Actor/Property one of those I think.



On Fri, Jul 21, 2017 at 5:21 AM, Taron <taron2000 at gmx.de> wrote:

> Hi there,
>
> I have found a strange thing switching to the new Backend OpenGL2. When I
> render surfaces it seems that only one side of a face is rendered and the
> other is not. Front & Backface-Culling is off for those Actors.
> This worked perfectly fine with the old Backend. Strangely enough when I
> turn on Depth-Peeling in the renderer the faces are rendered correctly,
> although none of the actors has any transparency set to it.
> It is not driver related because I can reproduce this behaviour with mesa
> drivers as well.
> Everything takes place under Windows 10. It is an x64 Qt (5.9) app and im
> using the QVTKWidget.
> I also tried the QVTKOpenGLWidget, but it has the same issues.
>
> Any hints what goes wrong here?
>
>
>
>
>
> --
> View this message in context: http://vtk.1045678.n5.nabble.
> com/VTK-8-0-0-OpenGL2-Invisible-surfaces-tp5744093.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>



-- 
Ken Martin PhD
Distinguished Engineer
Kitware Inc.
28 Corporate Drive
Clifton Park NY 12065

This communication, including all attachments, contains confidential and
legally privileged information, and it is intended only for the use of the
addressee.  Access to this email by anyone else is unauthorized. If you are
not the intended recipient, any disclosure, copying, distribution or any
action taken in reliance on it is prohibited and may be unlawful. If you
received this communication in error please notify us immediately and
destroy the original message.  Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170721/0f342c2f/attachment.html>


More information about the vtkusers mailing list