Getting a 24 bit window

Erik Sobel erik.sobel at alphatech.com
Tue May 30 12:13:30 EDT 2000


Under Windows-NT with OpenGL and 24 bit display I seem to automatically get 
a 24 bit vtkRenderWindow.  However, on my Sun (Solaris 2.5.2 with MESA) I 
seem to get a 16 bit window even though the X-Window configuration 
(m64config) is setup for 24 bits.  How can I specify that vtkRenderWindow 
should use a 24 bit window?  (This is vtk 3.1.1 on both systems)

renWin GetDesiredDepth returns 24
renWin GetDepthBufferSize returns 16

Thanks,
Erik

---------------------------------------------------------------------------- 
------------------------------
Erik Sobel
esobel at alphatech.com
erik.sobel at alphatech.com
---------------------------------------------------------------------------- 
------------------------------
--------------------------------------------------------------------
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