[vtk-developers] glCopyTexImage2D errors + black windows when porting QVTKWidget -> QVTKOpenGLWidget

Róbert Špir spir.robert at gmail.com
Tue May 16 13:01:52 EDT 2017


for me, msaa works for polydata but not for volume rendering. Volume rendering does not show with samples>0

I have entire black screen with msaa and FXAA

With only FXAA, volume rendering works ok.

 

 

From: Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com] 
Sent: Tuesday, May 16, 2017 6:43 PM
To: Elvis Stansvik <elvis.stansvik at orexplore.com>
Cc: vtkdev <vtk-developers at vtk.org>; RobertS <spir.robert at gmail.com>
Subject: Re: [vtk-developers] glCopyTexImage2D errors + black windows when porting QVTKWidget -> QVTKOpenGLWidget

 

Regarding setting max samples to 0, does this mean I will no longer be able to use MSAA? I wasn't actually doing that in the old code (setting it to 0), just hadn't ported that part so it was commented when I ported to the new widget. But I was using MSAA at one point and it was working fine (samples set to 8). Will this no longer be possible with the new widget?

 

MSAA works fine with QVTKOpenGLWidget. We use it in ParaView for 2D chart views. It's worth also trying out the `vtkGUISupportQtCxx-TestQVTKOpenGLWidgetWithMSAA` test.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20170516/17448015/attachment-0001.html>


More information about the vtk-developers mailing list