You can see how this is done at the top of the ConfiguredUniverse file:
// NOTE: The GraphicsDevice order in the array is specific to the local
// site and display system. These assignments may need to be adjusted.
//
(NewScreen left 1)
(NewScreen center 0)
(NewScreen right 2)
(NewScreen floor 3)
// Note from Paul, read the above comment carefully
// As each Screen object was defined, so is the X screen was associated
// with it. i.e. :0.1 for left, :0.0 for center, etc. if your $DISPLAY is
// :0
// The Expert3Ds are in fact setup in the Xservers file so that :0.0 is
// the front, etc., and the Java just jibes with that.
// Set screen attributes (height, width, tracker base to image plate) here
// appropriately for each screen to show the correct part of the space,
// then attach the screens to the view...
(NewView view0)
(ViewAttribute view0 Screen left)
(ViewAttribute view0 Screen center)
(ViewAttribute view0 Screen right)
(ViewAttribute view0 Screen floor)
Hope this helps!
Paul
On Thu, 21 Nov 2002, Jack Gundrum wrote:
> GraphicsDevice[] allScreenDevices =
> GraphicsEnvironment.getLocalGraphicsEnvironment().getScreenDevices();
> System.out.println("Found " + allScreenDevices.length + " screen devices");
>
> for (int i = 0; i < setScreens; i++) {graphicsDevices[i] =
> allScreenDevices[i];}
>
>
> At 01:41 PM 11/21/2002 -0500, you wrote:
> >Hello,
> > 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?
> > The Java3D documentation explains how attaching multiple canvas3Ds to
> >the same View object is the way to go for multi-screen projections. This
> >doesn't ensure Multi-pipe rendering though.
> > The team at the University of Calgary who also have a Java3D
> >application running in a CAVE use 4 Expert3D cards to drive each of
> >their displays. Any hint on how each Canvas3D is assigned its own
> >Expert3D card?
> > Any suggestion or comment in this matter would be helpful.
> >
> > Mojtaba Hosseini
> >
> >===========================================================================
> >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".
>
> ********************
> Jack S. Gundrum
> Visualization Group
> Research Support
> Academic Services and Emerging Technology Systems
> Information Technology Services
> Penn State University
>
> ===========================================================================
> 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".
>
===========================================================================
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".