From: "Zoran Krunic" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: Re: [JAVA3D] Performance Experience


> After searching through the old emails and FAQs I found the
> "java -Dj3d.debug=true" which I added to the
> command line - but I still do not get any info on the hardware/software
> acceleration from the card. Is there a
> sure way to tell what the card is doing ?
> Thanks,
> Zoran

I think the option -Dj3d.debug=true only work in Java3D Direct3D version
see http://www.j3d.org/implementation/properties.html


Snipplet to retrieve Canvas Info:
There is more info below ;)
/************************************************************/
 GraphicsConfiguration config = SimpleUniverse.getPreferredConfiguration();
 Canvas3D canvas = new Canvas3D(config);

  System.out.println("\n Info about Canvas3D / Hardware \n");
 Map props = canvas.queryProperties();
 Iterator it = props.entrySet().iterator();
 while(it.hasNext())
{
     Map.Entry entry = (Map.Entry) it.next();
     System.out.println(entry.getKey() + " = " + entry.getValue());
 }
 System.out.println("The End Info\n");
/**************************************************************/

 Users usully report better performance under OpenGL, but I never could
check it by myself.

 If you use both Canvas info sniplet above and Java3D D3D you will have the
following tipical output:

Info about Canvas3D / Hardware
compressedGeometry.minorVersionNumber = 0
texture3DAvailable = false
doubleBufferAvailable = true
textureColorTableSize = 0
sceneAntialiasingAvailable = false
compressedGeometry.minorMinorVersionNumber = 2
stereoAvailable = false
compressedGeometry.majorVersionNumber = 1
The End Info


Java 3D 1.2.1_04 release, Windows version is 5.0 Build: 2195, Windows NT
Service Pack 2
[Display Driver] display, Driver de vídeo primário
  [Device] RGB Emulation
  [Device] Direct3D HAL
  [Device] Reference Rasterizer (AA)
Current display mode: 32 bit  1024 x 768
Use Driver de vídeo primário, Direct3D HAL
Back buffer 32 bit: r=00ff0000 g=0000ff00 b=000000ff a=00000000
Z buffer depth = 16 bit, mask = 0000ffff
Max Texture Unit Stage support : 2
Max Simultaneous Texture unit support : 2
Texture memory format found :
16 bit: r=0000f800 g=000007e0 b=0000001f a=00000000
16 bit: r=00007c00 g=000003e0 b=0000001f a=00008000
16 bit: r=00000f00 g=000000f0 b=0000000f a=0000f000
32 bit: r=00ff0000 g=0000ff00 b=000000ff a=00000000
32 bit: r=00ff0000 g=0000ff00 b=000000ff a=ff000000
Texture memory used : 32 bit r=00ff0000 g=0000ff00 b=000000ff a=ff000000

Thats all
Alessandro Borges


_______________________________________________________________________
Yahoo! Encontros
O lugar certo para encontrar a sua alma gêmea.
http://br.encontros.yahoo.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