[vtkusers] fix for large OpenGL Textures

Joris Vanden Wyngaerd Joris.VandenWyngaerd at esat.kuleuven.ac.be
Fri Aug 10 07:17:43 EDT 2001


Hi,

OpenGL has a maximum texture size (defined by GL_MAX_TEXTURE_SIZE), which
depends on your video card/drivers.
vtk resamples an image in vtkOpenGLTexture but does not take into account
this maximum. I include a fix that does take it into account.


================
Joris Vanden Wyngaerd
coordinates : http://www.esat.kuleuven.ac.be/~joris/personalia.html

"Quand les degoûtés s'en vont il ne restent que les degoûtants"

-------------- next part --------------
A non-text attachment was scrubbed...
Name: vtkPSIOpenGLTexture.cpp
Type: application/octet-stream
Size: 9617 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20010810/ddf753ac/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vtkPSIOpenGLTexture.h
Type: application/octet-stream
Size: 1280 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20010810/ddf753ac/attachment-0001.obj>


More information about the vtkusers mailing list