[vtkusers] Python no vtkVolumeTextureMapper3D
Windes, Grant
Grant.Windes at smith-nephew.com
Tue Apr 7 14:22:56 EDT 2015
Thanks for the reply David.
I found vtkSmartVolumeMapper to work in place of the vtkVolumeTextureMapper3D.
Oddly, I had enabled the rendering_backend to opengl2 but I reverted that back to opengl. Not sure why it still caused it to not build the textureMapper3D. Is there a way to see which rendering engine is actually being used via python?
Thanks,
Grant
From: David Gobbi [mailto:david.gobbi at gmail.com]
Sent: Monday, April 06, 2015 6:59 PM
To: Windes, Grant
Cc: vtkusers at vtk.org
Subject: Re: [vtkusers] Python no vtkVolumeTextureMapper3D
Hi Grant,
The vtkVolumeTextureMapper3D is still there, it's still part of the default VTK build, and it's still usable through the python wrappers.
However, it is disabled if you set VTK_RENDERING_BACKEND:STRING=OpenGL2.
- David
On Mon, Apr 6, 2015 at 4:22 PM, Windes, Grant <Grant.Windes at smith-nephew.com<mailto:Grant.Windes at smith-nephew.com>> wrote:
I've been converting our software from vtk 5.10 to vtk 6.2 and ran into an interesting bug where it's saying the AttributeError: 'module' object has no attribute 'vtkVolumeTextureMapper3D'
Anyone have any idea on why this would be? My research shows that vtkVolumeTextureMapper3D is still in the vtk library and hasn't been removed. Maybe something in my build of vtk messed it up?
Any insight to this would be great.
Thanks,
-Grant
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150407/60f21bf9/attachment.html>
More information about the vtkusers
mailing list