Try the following:

GraphicsDevice dev =
GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice() ;

Canvas3D c3d = new Canvas3D( dev.getDefaultConfiguration()) ;

Hope this helps!

Good luck

-----Original Message-----
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED]]On Behalf Of Thomas Gilbert Giusepe
Sent: Wednesday, July 18, 2001 10:28 AM
To: [EMAIL PROTECTED]
Subject: [JAVA3D] Help: Canvas3D configuration for VirtualUniverse

Hi there,

In the J3D API Specification Chapter 1 - point (1.6.3.2) UniverseBuilder
Class, there is:

Canvas3D c = new Canvas3D(graphicsConfig);

But anyhow specification on how I have to setup "graphicsConfig"

I have tryed with:

GraphicsConfiguration graphicsConfig =
SimpleUniverse.getPreferredConfiguration();

But it doesn't work... what is natural, once that I am trying to figure out
a VirtualUniverse instead of a SimpleUniverse.

Any clue !????      �:@)
Thnx in advance...
Thomas
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

===========================================================================
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".

Reply via email to