Speaking of which, is it looking good to have the DirectX Java 3D 1.2
out by the end of the month as previously mentioned?
Lee
-----Original Message-----
From: Kelvin Chung [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 22, 2000 2:00 PM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] Multiple Canvas3D's
Hi,
There is a bug that we have filed before:
4315038 - Only one canvas is animated under windows98 for MultiCanvas
But this bug is closed later because it is opengl driver bug.
I think you are using windows98 and nvidia card and
the problem is caused by the opengl driver implementation
did not handle multiple thread correctly under win98
(You can reproduce the same problem using J3d 1.1.3).
Using windowsNT or the upcoming Java3D D3D version under
windows98 did not produce the same problem.
Alternative, you may try to download the latest nvidia
driver Detonator 2.0 which seems fix the problem.
Thanks.
- Kelvin
------------
Java 3D Team
Sun Microsystems Inc.
>MIME-Version: 1.0
>Date: Thu, 22 Jun 2000 16:48:05 +0800
>From: #LAW YEE WEI# <[EMAIL PROTECTED]>
>Subject: [JAVA3D] Multiple Canvas3D's
>To: [EMAIL PROTECTED]
>
>Dear all,
>
>I'm using JDK1.3 and Java3D 1.2. I have problem with displaying
multiple
>canvases. In the code below, 2 canvases, i.e. "canvas3D" and
"anotherCanvas"
>are created, and added to the same Frame and the same View object,
however
>only the LAST ADDED canvas will render -- seems that View doesn't
traverse
>ALL the canvases. In this case, the last added canvas is anotherCanvas.
If I
>were to make the first canvas, canvs3D, render, then I have to do
>"anotherCanvas.stopRenderer(); canvas3d.startRenderer();" How do I
actually
>make ALL THE CANVASES RENDER?
>
>I appreciate any advice, thank you very very much.
>
>
> setLayout(new BoxLayout(this, BoxLayout.X_AXIS));
>
> GraphicsConfigTemplate3D template = new
GraphicsConfigTemplate3D();
> template.setStereo(GraphicsConfigTemplate3D.PREFERRED);
> GraphicsConfiguration bestConfig
> =
>GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevic
e().g
>etBestConfiguration(template);
> Canvas3D canvas3D = new Canvas3D(bestConfig);
> Canvas3D anotherCanvas = new Canvas3D(bestConfig);
> add(canvas3D);
> add(anotherCanvas);
>
> BranchGroup scene = createSceneGraph(args.length>0);
>
> // SimpleUniverse is a Convenience Utility class
> SimpleUniverse simpleU = new SimpleUniverse(canvas3D);
> View view = simpleU.getViewer().getView();
> view.addCanvas3D(anotherCanvas);
> System.out.println("numCanvas3Ds="+view.numCanvas3Ds()+",
>isViewRunning()="+view.isViewRunning());
>
> // This will move the ViewPlatform back a bit so the
> // objects in the scene can be viewed.
> simpleU.getViewingPlatform().setNominalViewingTransform();
>
> simpleU.addBranchGraph(scene);
>
>
>
>Best regards,
>Law, Yee Wei
>CAMTech, NTU, Singapore
>http://www.ntu.edu.sg/camtech <http://www.ntu.edu.sg/camtech>
>Tel: +65 790 4201
>
>
========================================================================
===
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".