RE: 2nd screen rendering problem!


Unfortunately, this is still an issue through Java3D 1.4.0_01.  Also
unfortunate is that the workaround referenced in the issue decription
doesn't appear to work.


-----Original Message-----
From: owner-visad@xxxxxxxxxxxxxxxx [mailto:owner-visad@xxxxxxxxxxxxxxxx]
On Behalf Of Curtis Rueden
Sent: Wednesday, September 20, 2006 11:22 AM
To: Antonio Benvenuti
Cc: visad@xxxxxxxxxxxxxxxx
Subject: Re: 2nd screen rendering problem!

Hi Antonio,

This is an issue with Java3D, so I did a quick search for related
issues, and found this from the Java3D 1.3-beta1 README file:

  Support for multiscreen-aware applications in virtual-screen

   With this release applications can use GraphicsConfigTemplate3D to
   a GraphicsConfiguration from a specific physical screen device even
when a
   virtual screen is being used to consolidate them.  The
   can then be used to create Canvas3D objects on that physical screen.

   This allows a separate Screen3D object to be associated with the
Canvas3D so
   that physical parameters such as the screen's position and
   relative to other screens in the viewing environment can be

   This support is only available when running JDK 1.4 or later.

So it sounds like Java3D version 1.3 and later provide a means to handle
additional screens in various configurations. You'll probably have to
experiment with GraphicsConfigurations to determine how best to make
things work. (My machine has only one screen, so I cannot test this
issue myself.)

If you find a solution, please inform the list, so that we can improve
VisAD's support for multiple screens.


On 9/18/06, Antonio Benvenuti <antonio.benvenuti@xxxxxxxxx> wrote:
> Hi
> I have problems using Visad on my second screen...
> I have tried solving the problem as explained in the following link:
> 446.html
> and this is my code:
>             GraphicsEnvironment ge
> GraphicsEnvironment.getLocalGraphicsEnvironment();
>             GraphicsDevice gd = ge.getDefaultScreenDevice();
>             GraphicsConfigTemplate3D template = new 
> GraphicsConfigTemplate3D();
>             GraphicsConfiguration gc = 
> gd.getBestConfiguration(template);
>             TwoDDisplayRendererJ3D tdr = new TwoDDisplayRendererJ3D();
>             display = new DisplayImplJ3D(displayName, tdr, gc);
> without any result! The exception persists if the display renders on 
> the second screen!
> Has anyone solved the problem?
> Thanks
> --
> Antonio Benvenuti
> Via Cardinale Giacomo Lercaro, 36
> 00123-Roma
> Tel. 340-1054802

To unsubscribe visad, visit:

NOTICE: These communications may contain privileged or other confidential 
information for the sole use of the designated recipients. If you have received 
it in error, please advise the sender by reply email and immediately delete the 
message and any attachments without reviewing, copying or disclosing the 

To unsubscribe visad, visit:

  • 2006 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: