I have a portability problem with may Java3D/OpenGL application due to the Graphics Configuration.
I have been developping my application on a machine with a GeForce FX450 and it works fine.
I tested it today on a machine using a Matrox Millemium G450 PCI and I have a "null GraphicsConfiguration" error.
Is there a bug with this graphics card or do I have to add some code to check and set the correct graphics configuration?
I use SimpleUniverse.getPreferedConfiguration(), but what is the difference with the following lines (taken form the j3DFly example) :
GraphicsEnvironment ge = GraphicsEnvironment.getLocalEnvironment();
GraphicsDevice gd = ge.getDefaultScreenDevice();
GraphicsConfigTemplate3D gct = new GraphicsConfigTemplate3D();
GraphicsConfiguration gx = gd.getBestConfiguration( gct);
Any explanation concerning graphics devices and configuration would be greatly appreciated...
Thanks.
JR
--
D'Amore Jean-Robert
IT Systems
Bell Geospace Ltd.
Unit 5A, Crombie Lodge
Aberdeen A.S.T.P
Balgownie Drive
Aberdeen AB228GU
Tel: +44(0)1224227703
Email: [EMAIL PROTECTED]
D'Amore Jean-Robert
IT Systems
Bell Geospace Ltd.
Unit 5A, Crombie Lodge
Aberdeen A.S.T.P
Balgownie Drive
Aberdeen AB228GU
Tel: +44(0)1224227703
Email: [EMAIL PROTECTED]
=========================================================================== 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".