[vtkusers] QVTKWidget and Depth Peeling Revisited

Matt Sutton matt.sutton at padtinc.com
Thu Mar 31 19:32:24 EDT 2016


Folks,
   Sorry for the noise.  It looks like you actually have to have an actor that *is* transparent included in the renderer for depth peeling to be used, even if you've requested it to be activated.  Looks like I was bumping up against an somewhat obvious optimization.  Once I included an actor that was not fully opaque the rendering code reported that depth peeling was activated.
Regards,



  Matt Sutton
  Senior Engineer
  PADT, Inc.
  www.PADTINC.com<http://www.padtinc.com/>
  480.813.4884 x106
  matt.sutton at padtinc.com<mailto:matt.sutton at padtinc.com>

  Simulation - Product Development - Rapid Prototyping

CONFIDENTIALITY NOTICE: This e-mail message and any attachments are for the sole use of the intended recipient(s) and may contain confidential and/or privileged information.  Unless you are the intended recipient, you are hereby notified that copying, forwarding, printing or otherwise disseminating the information contained in or attached to this e-mail is strictly prohibited. If you are not the intended recipient, please notify the sender by telephone, and immediately and permanently delete and destroy all copies and printouts of this e-mail message and/or attachments.

From: vtkusers [mailto:vtkusers-bounces at vtk.org] On Behalf Of Matt Sutton
Sent: Thursday, March 31, 2016 4:04 PM
To: Miroslav Drahos <mdrahos at aurisrobotics.com>; vtkusers at vtk.org
Subject: Re: [vtkusers] QVTKWidget and Depth Peeling Revisited

Miro,
  Yes, I have seen that example.  It is what I've used as a reference implementation.  The only thing different, that I can tell, with my implementation and this is that I am using the QVTKWidget inside a Qt application.   I found this post:

http://www.vtk.org/pipermail/vtk-developers/2013-July/029487.html

Which is virtually identical to my situation, but I don't see a resolution anywhere.  Thanks for the suggestion, though!
Matt


  Matt Sutton
  Senior Engineer
  PADT, Inc.
  www.PADTINC.com<http://www.padtinc.com/>
  480.813.4884 x106
  matt.sutton at padtinc.com<mailto:matt.sutton at padtinc.com>

  Simulation - Product Development - Rapid Prototyping

CONFIDENTIALITY NOTICE: This e-mail message and any attachments are for the sole use of the intended recipient(s) and may contain confidential and/or privileged information.  Unless you are the intended recipient, you are hereby notified that copying, forwarding, printing or otherwise disseminating the information contained in or attached to this e-mail is strictly prohibited. If you are not the intended recipient, please notify the sender by telephone, and immediately and permanently delete and destroy all copies and printouts of this e-mail message and/or attachments.

From: Miroslav Drahos [mailto:mdrahos at aurisrobotics.com]
Sent: Thursday, March 31, 2016 3:04 PM
To: Matt Sutton <matt.sutton at padtinc.com<mailto:matt.sutton at padtinc.com>>; vtkusers at vtk.org<mailto:vtkusers at vtk.org>
Subject: Re: QVTKWidget and Depth Peeling Revisited


Matt,

have you seen this example?

http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/CorrectlyRenderTranslucentGeometry



HTH,

Miro



________________________________
From: vtkusers <vtkusers-bounces at vtk.org<mailto:vtkusers-bounces at vtk.org>> on behalf of Matt Sutton <matt.sutton at padtinc.com<mailto:matt.sutton at padtinc.com>>
Sent: Thursday, March 31, 2016 1:14 PM
To: vtkusers at vtk.org<mailto:vtkusers at vtk.org>
Subject: [vtkusers] QVTKWidget and Depth Peeling Revisited


Hello,

   I'm trying to use depth peeling within a QVTKWidget based application.  Currently, my renderer always returns 0 for GetLastRenderingUsedDepthPeeling().  I'm using VTK 6.3 with a NVIDIA K6000 GPU and the latest NVIDIA driver.  I've configured VTK to use the OpenGL2 rendering backend during the CMAKE configure step.  I've searched online and found a few messages from 2013 regarding a similar issue, but I can't seem to find the solution?  Any help or insight would be appreciated.

Regards,

Matt





  Matt Sutton

  Senior Engineer

  PADT, Inc.

  www.PADTINC.com<http://www.padtinc.com/>

  480.813.4884 x106

  matt.sutton at padtinc.com<mailto:matt.sutton at padtinc.com>



  Simulation - Product Development - Rapid Prototyping



CONFIDENTIALITY NOTICE: This e-mail message and any attachments are for the sole use of the intended recipient(s) and may contain confidential and/or privileged information.  Unless you are the intended recipient, you are hereby notified that copying, forwarding, printing or otherwise disseminating the information contained in or attached to this e-mail is strictly prohibited. If you are not the intended recipient, please notify the sender by telephone, and immediately and permanently delete and destroy all copies and printouts of this e-mail message and/or attachments.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160331/5437821a/attachment.html>


More information about the vtkusers mailing list