I am using Java 3d 1.2.1, OpenGL version; all of the quads are used to create solid 3d shapes, in POLYGON_FILL mode, with CULL_NONE ( I set this for the Appearance which is then used for all shapes) - without this the look is terrible - colors are off and shading is incorrect.
I calculate quad normals myself when the Shape3d is created. Are quads supported for OpenGL ? Is it card-dependent ?? Is there way to troubleshoot OpenGL - layer to the card - and card performance? I searched WEB a lot but was not able to find specific about this card that would have more about details above. Thanks! Zoran ----- Original Message ----- From: "Kelvin Chung" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, July 16, 2002 11:28 AM Subject: Re: [JAVA3D] Performance Experience > > >Date: Tue, 16 Jul 2002 08:08:41 -0700 > >From: Zoran Krunic <[EMAIL PROTECTED]> > >Subject: Re: [JAVA3D] Performance Experience > >To: [EMAIL PROTECTED] > >MIME-version: 1.0 > >X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 > >Content-transfer-encoding: 8BIT > >X-Priority: 3 > >X-MSMail-priority: Normal > >Delivered-to: [EMAIL PROTECTED] > > > >Thanks! > > > >Last night I tried similar code that I got from another member, with some > >mods. Looks > >similar to this one though. I am getting about 10 FPS - way low for the > >hardware I just installed - > >DELL 2GHz / 1GB RAM / GeForce 4600 128 MB ?? The CPU is running at 50-60% > >with or without > >FPS behavior. But as I added FPS behavior ( I also have another more > >elaborate behavior for > >picking ) it shoots up to 100% - but the speed of the rotations (and thus I > >believe the FPS itself) is > >not visibly affected. > > > >I upgraded from the old system - DELL 500 MHz / 256 RAM with old graphics > >card where I was getting > >one jerky move every 2-3 seconds - so it seems like a good 10-20x > >improvement in speed. Current rotation > >is real-time, but not smooth. > > > >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. > > This is only valid for DirectX version of Java3D. > Nothing is output for OpenGL version. > > > Is there a > >sure way to tell what the card is doing ? My scene has some 5000 quads (not > >triangles) with indexed geometry, > >no textures. Is there a issue with card not supporting quads, but only > >triangles in hardware acceleration mode ?? I > >think I read that somewhere that it could be an issue ... > > > >I am also getting strange white line in the middle of the scene - which I > >did not have on the old machine. > > > > If you are using v1.2.1_0x directx version, performance of QuadArray > is slow. Switching to v1.3 Directx version would get better > performance. > > However in both case using QuadArray in Polygon line mode will > seriously affect performance. Quad is not support by DirectX > and we can't use two triangles to draw Quad in polygon line > mode without showing the diagonal line. We can't use line > array either without showing the back face together. > As a result we evaluate each face to to cull the back > face and use line array in current release for this > particular polygon mode. > > - Kelvin > ------------ > Java 3D Team > Sun Microsystems Inc. > > > > =========================================================================== 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".