> Date:         Thu, 21 Nov 2002 13:41:54 -0500
> From: Mojtaba <[EMAIL PROTECTED]>
>
>  As mentioned in my last email, we have Java3D working on SGI ONYX
> machines for a CAVE configuration. However, we've only been able to work
> with SINGLE pipe. It would be a great improvement if we could run our
> Java3D application in MULTIPIPE mode. Does anyone have any idea on how
> to do this?
>
> > Date:         Thu, 21 Nov 2002 14:39:15 -0500
> > From: Jack Gundrum <[EMAIL PROTECTED]>
> >
> > GraphicsDevice[] allScreenDevices =
> > GraphicsEnvironment.getLocalGraphicsEnvironment().getScreenDevices();
> > System.out.println("Found " + allScreenDevices.length + " screen devices");
> >
> > for (int i = 0; i < setScreens; i++) {graphicsDevices[i] =
> > allScreenDevices[i];}

Jack's response is correct for Java 3D 1.3 with JDK 1.4 or later.

Unfortunately, the above doesn't work in a virtualized multi-screen
environments such as Xinerama with versions of the JDK earlier than 1.4 or Java
3D earlier than 1.3.  Although JDK 1.3 has support for Xinerama and virtual
screens in the API, you will only get separate physical screen devices from
getScreenDevices() in JDK 1.4 or later.  Consequently versions of Java 3D
earlier than 1.3 won't handle multi-pipe in Xinerama properly either.

If you're running the Onyx with Xinerama you'll have to disable it to run
multi-pipe with Java 3D 1.2.1.  Once Xinerama is disabled you can get the
separate physical ScreenDevices as Jack posted, and then get separate
GraphicsConfigurations from each screen for each Canvas3D you create.

We'll need to investigate further if Xinerama is disabled and you're still not
getting multi-pipe rendering with the above technique.

-- Mark Hood

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to