[vtk-developers] vtkOpenGLImageActor doesn't support non-power of two textures

David Gobbi david.gobbi at gmail.com
Sat Mar 12 08:52:17 EST 2011


Hi Roger,

The new image mapper classes that I recently posted on gerrit
use non power-of-two textures on all hardware that supports it,
including my new version of vtkOpenGLImageActor.  They will
hopefully be merged into VTK next week.

 - David


On Sat, Mar 12, 2011 at 3:08 AM, Roger Bramon Feixas
<rogerbramon at gmail.com> wrote:
> Hi,
> I have some problems rendering large 2D images (4728 x 5928 pixels) with VTK
> 5.6.1. I've noticed that vtkOpenGLImageActor makes a texture of 8192x8192 to
> allocate an image of 4728 x 5928. Therefore, vtkOpenGLImageActor isn't
> working with non-power of two textures.
> I know that vtkOpenGLTexture supports non-power of two textures if graphics
> card supports OpenGL 2 and I would like to know if vtkOpenGLImageActor could
> support it too. Perhaps, could vtkOpenGLImageActor use vtkOpenGLTexture
> class instead of loading the texture itself?
> Thanks for your attention,
> Roger



More information about the vtk-developers mailing list