[vtk-developers] Texture handling: display subtexture vs. resample to power of two
David Thompson
dcthomp at sandia.gov
Mon Sep 8 11:33:27 EDT 2003
> ...
> Over the weekend I patched vtkOpenGLImageActor to use glTexSubImage2D,
> so that the second time around only the image-size region of the texture
> is loading, eliminating the need to pad to a power of two. This improves
> the performance enormously for non-power-of-two images.
> ...
> What do people think?
What about adding support for OpenGL texture extensions like
ARB_texture_non_power_of_two
(http://oss.sgi.com/projects/ogl-sample/registry/ARB/texture_non_power_of_two.txt)
or NV_texture_rectangle
(http://oss.sgi.com/projects/ogl-sample/registry/NV/texture_rectangle.txt)?
More information about the vtk-developers
mailing list