32-bit textures

David Gobbi dgobbi at irus.rri.on.ca
Wed Feb 23 13:39:08 EST 2000


Hi All,

I've added some new methods to vtkTexture, but would like to check them
by everyone before committing them:

vtkTexture::SetQualityToDefault() 
vtkTexture::SetQualityTo16Bit()
vtkTexture::SetQualityTo32Bit()

These methods are needed on some systems to force VTK to use 
32-bit texture maps.  It can also be very useful to force VTK
to use 16-bit texture maps to save memory e.g. when using 
textures for volume rendering.

I'm also considering a SetQualityToIndex() method, which would
allow VTK to transfer the texture to OpenGL as set of colormap 
indices [0,255] as well as the texture's lookup table.  This would 
only be worthwhile on OpenGL implementations that can do color 
mapping in hardware, though -- is this a common feature of 
OpenGL video cards?  

 - David

--
  David Gobbi, MSc                    dgobbi at irus.rri.on.ca
  Advanced Imaging Research Group
  Robarts Research Institute, University of Western Ontario

--------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------



More information about the vtkusers mailing list