Problems with vtkPanel on SGI
Maura
attnb4 at sirio.cineca.it
Thu Jul 8 06:10:15 EDT 1999
Hi,
I'm trying to use Java (1.2) with Vtk (nightly version) on SGI
platforms (IRIX 6.5). Everything seems to work quite well except
vtkPanel. When I render something in a vtkPanel it behaves like there
was not Z-buffer.
I noticed that vtkPanel code makes some calls to the sun.awt.motif
class. In particular this call (in the code beneath) might be
responsible for right parameters setting of Z-buffer:
public int getWindowID()
{
........
// X windows support in the next three lines
X11DrawingSurface wds =
(X11DrawingSurface)surfaceInfo.getSurface();
-------> int hWnd = wds.getDrawable();
..........
}
I use the same version of Java and Vtk on a WindowsNt PC and vtkPanel
works well.
As for I couldn't find any public documentation on Java sun.* package, I
really don't know how to solve this problem. So, any suggestion will be
greatly appreciate.
Thank you.
Maura
-----------------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>. For help, send message body containing
"info vtkusers" to the same address. Live long and prosper.
-----------------------------------------------------------------------------
More information about the vtkusers
mailing list