I guess www.j3d.org is out of date. In Java 1.4 you can do "proper" full
screen mode. Which incidently is faster for certain graphics cards, like
the Voodoo series which can only do 3d acceleration in full screen mode.

There is an example to download of how to do hardward full screen mode at:

http://www.computerbooth.com/j3d/


Kev

Silvio Simone wrote:

taken from www.j3d.org <http://www.j3d.org>

I wrote an Applications which uses fullscreen with OpenGL with the
effect, that it doesnt work on every machine.
I think it deepends on the OpenGL support of the graphic card.
Bye the way, it was not faster!

*9. How do I get Java 3D in fullscreen mode? *

*There are two ways of accomplishing this. The first is to use JDK 1.4
or later. These have API calls for creating fullscreen windows
directly. If you need to use an earlier version of the JDK, then
follow these instructions: *

*For DirectX 6.1, you can set the Java property, j3d.fullscreen to one
of the following values: *

    * *REQUIRED - fullscreen mode is required. Abort program if full
      screen mode cannot be initiated. *
    * *PREFERRED - fullscreen mode is preferred. Try to initiate
      fullscreen mode but if that fails, use a regular window instead. *
    * *UNNECESSARY - fullscreen is not necessary for this application. *

*For instance, to run the HelloUniverse example program in fullscreen
mode if it is available, the following command would be used: *

* java -Dj3d.fullscreen=PREFERRED HelloUniverse
*

*For OpenGL, there is a workaround to make J3D look like it is
operating in fullscreen by subclassing java.awt.Window. Essentially
you create a new window instance that is exactly the same size as the
current screen size. Window does not have all the borders that you
normally get with Frame and Dialog. *

*  Toolkit tk = Toolkit.getDefaultToolkit();
 Dimension d = tk.getScreenSize();
 Frame f = new Frame();
 Window w = new Window(f);
 w.setSize(d);
 Canvas3D canvas = new Canvas3D();
 w.add(canvas);
 w.setVisible(true);
*

    ----- Original Message -----
    *From:* Vincent <mailto:[EMAIL PROTECTED]>
    *To:* [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>
    *Sent:* Tuesday, February 18, 2003 9:36 PM
    *Subject:* [JAVA3D] how to set full screen at compile time?

    Hello all,


    I'm new to Java3d and it's probably trivial, but does anyone have
    an idea of how to set a Java3D
    app to fullscreen size in the code?

    I don't want my users to have to enter that command line sentence.
    Also, it makes the look consistent if I could do that at compile time.


    Thanks!
    Vince



    ------------------------------------------------------------------------
    *No banners. No pop-ups. No kidding.*
    Introducing My Way - http://www.myway.com


    ---
    Outgoing mail is certified Virus Free.
    Checked by AVG anti-virus system (http://www.grisoft.com).
    Version: 6.0.449 / Virus Database: 251 - Release Date: 27.01.2003


--
Jose UML - http://www.newdawnsoftware.com/jose
Pondering RPG - http://pondering.newdawnsoftware.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".

Reply via email to