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

Roger Bramon Feixas rogerbramon at gmail.com
Sat Mar 12 11:00:17 EST 2011


Hi David,

It sounds really good! I'll have a look. I suppose you're referring to that
review: http://review.source.kitware.com/1163

<http://review.source.kitware.com/1163>Thanks,

Roger

On Sat, Mar 12, 2011 at 2:52 PM, David Gobbi <david.gobbi at gmail.com> wrote:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20110312/195c90ed/attachment.html>


More information about the vtk-developers mailing list