Re: [JAVA3D] updateData causes GC delay when running with IndexedTriangle Geom etry

2003-03-24 Thread Richard Smith - Systems Engineer - Melbourne
One thing I noticed when running the example is that there appears to be a considerable amount of "garbage" getting promoted from Eden through survivor spaces into Old generation heap. Instead of using -verbose:gc I used the following to get more detailed analysis: -XX:+PrintGCDetails -XX:+PrintGC

Re: [JAVA3D] Linux issues

2003-03-24 Thread Juergen Kreileder
Daniel L. Pasco <[EMAIL PROTECTED]> writes: > Hello, all. I have been having trouble with 1) offscreen rendering > and 2) the jd3.org overlay package under linux. My code works fine > with these under Windows. > > Are there known issues with Linux? Any workarounds? I've been > using the Blackd

Re: [JAVA3D] updateData causes GC delay when running with IndexedTriangle Geom etry

2003-03-24 Thread Mark Hood
> Date: Mon, 24 Mar 2003 17:30:50 -0800 > From: Justin Couch <[EMAIL PROTECTED]> > Mark Hood wrote: > > > Indexed geometry is great for storage and convenient for > > representation, but terrible for rendering. Graphics hardware wants > > contiguous streams of vertex data for the best perf

Re: [JAVA3D] driver of GeForce 4

2003-03-24 Thread Justin Couch
GB Liu wrote: Every time when I delete the nv4_mini.sys from Windows\system32\driver\, this file reappears after several seconds. I have deleted every file with the same name from my harddisk. But it still appears! Do you know where it come from? The wonders of Microsoft's auto restore "feature"

[JAVA3D] driver of GeForce 4

2003-03-24 Thread GB Liu
Title: Network Blitz Hi Friends:   I have got a strange experience when I try to patch a driver of GeForce 4:  Every time when I delete the nv4_mini.sys from Windows\system32\driver\, this file reappears after several seconds.  I have deleted every file with the same name from my harddisk. 

Re: [JAVA3D] Error: No profile given. Using Interactive when using load method of X3DLoader

2003-03-24 Thread Justin Couch
kindy huang wrote: I downloaded some x3d files from the web to test my program, I am wondering if they caused the errors since if I use the test.wrl which comes with Xj3D LoaderDemo, the error won't occur, [snip] - Right here. There must be a profile attribute specified as part of the X3D eleme

Re: [JAVA3D] Error: No profile given. Using Interactive when using load method of X3DLoader

2003-03-24 Thread kindy huang
I downloaded some x3d files from the web to test my program, I am wondering if they caused the errors since if I use the test.wrl which comes with Xj3D LoaderDemo, the error won't occur, but I am not sure if these x3d files have anything wrong, please have a look at one of these files as the follow

Re: [JAVA3D] updateData causes GC delay when running with IndexedTriangle Geom etry

2003-03-24 Thread Justin Couch
Mark Hood wrote: Indexed geometry is great for storage and convenient for representation, but terrible for rendering. Graphics hardware wants contiguous streams of vertex data for the best performance. With indices you can skip around vertex data -- this destroys all locality of reference and cr

Re: [JAVA3D] updateData causes GC delay when running with IndexedTriangle Geom etry

2003-03-24 Thread Mark Hood
> Date: Mon, 24 Mar 2003 15:38:05 -0800 > From: Justin Couch <[EMAIL PROTECTED]> > > Basically, despite the BY_REFERENCE attribute, Java3D unindexes all your > geometry and turns it into it's own internal, non-indexed versions. Those are > then passed to the graphics card. This rather brain

Re: [JAVA3D] Is it a bug? java.lang.NullPointerException

2003-03-24 Thread Kelvin Chung
White Morph wrote: Hi, I did something like this: . GeometryInfo gi = new GeometryInfo(ga); ga = gi.getIndexedGeometryArray(); . ga is an IndexedGeometryArray object and has all its data, I got the following exception: java.lang.NullPointerException

Re: [JAVA3D] updateData causes GC delay when running with IndexedTriangle Geom etry

2003-03-24 Thread Kelvin Chung
Justin Couch wrote: Tarlton Mark-CMT041 wrote: Without the call to "updateData" the app runs smoothly. I've only seen the problem appear with _Indexed_ geometry. I took a look through the bug data base and didn't see anything that looked relevant. We noticed the same thing in Xj3D. I spent

Re: [JAVA3D] Error: No profile given. Using Interactive when using load method of X3DLoader

2003-03-24 Thread Justin Couch
kindy huang wrote: The code can load vrml/x3d file successfully, while it always gives the following output: Error: No profile given. Using Interactive It didn't affect loading, just wondering what it means. can anyone please give some explains? The X3D specification requires that you provide a pro

Re: [JAVA3D] updateData causes GC delay when running with IndexedTriangle Geom etry

2003-03-24 Thread Justin Couch
Tarlton Mark-CMT041 wrote: Without the call to "updateData" the app runs smoothly. I've only seen the problem appear with _Indexed_ geometry. I took a look through the bug data base and didn't see anything that looked relevant. We noticed the same thing in Xj3D. I spent quite a bit of time dec

[JAVA3D] updateData causes GC delay when running with IndexedTriangle Geom etry

2003-03-24 Thread Tarlton Mark-CMT041
Title: updateData causes GC delay when running with IndexedTriangle Geometry I'm working on an application that is constantly updating vertex coordinates in a triangle mesh.  The geometry is an IndexedTriangleArray and I've configured it with for update  "BY_REFERENCE" I implemented the Geom

[JAVA3D] Capacity of Java 3D

2003-03-24 Thread hwu
Hi, everyone, As I want to show as more objects as possible in Java3D, the compile process becomes more and more slowly. Maybe there is some other issues Java3d dealing with internally. Some times it takes 10 minutes. So, 1) How to measure the capacity of Java 3D? 2) How can I predict whether the

[JAVA3D] Error: No profile given. Using Interactive when using load method of X3DLoader

2003-03-24 Thread kindy huang
I am using load method of X3DLoader,(based on LoaderDemo of Xj3D m7). The code snippet is like this: X3DLoader loader = new X3DLoader(flag); Scene scene = null; ... scene = loader.load(url); The code can load vrml/x3d file successfully, while it always gives the following output: Error: No

[JAVA3D] Java 3D FAQ Weekly Posting (24 Mar 2003)

2003-03-24 Thread The Java 3D FAQ
The Java 3D Frequently Asked Questions list for Monday March 24 2003 This is a posting of topics covered in the Java 3D FAQ. The answers to these questions are kept at: http://www.j3d.org/faq Please consult this list and the web site before asking questions on the mailing list. If ther

[JAVA3D] Texture Attribute problem

2003-03-24 Thread Jack Bowie
I'm sure there's a simple answer to this, but ... I have a Group Node that contains 12 Shape3Ds. Each Shape3D is a face of a dodecahedron and has an independent TFA geometry with coordinates, colors, normals, and texture coords. I am using separate Shape3Ds because I want to associate transparency

Re: [JAVA3D] Multi-texture bugs by the bucket-load

2003-03-24 Thread Justin Couch
Kelvin Chung wrote: The text does not show up using NormalMap, only Reflection map can see it. All the stages are download to OGL correctly so I believe this is not a bug but the region just map to an area without text. Could be. Depends on the viewing angle. Other normal map stuff seems to work O

Re: [JAVA3D] A Good Timer Alpha

2003-03-24 Thread Alessandro Borges
Hi ! Thanks for all reports. The greatest improve is on Win98, where Alpha resolution goes from 50ms to 1-2 ms. On Win2K the resolution goes from 10ms to 1-2 ms. In other words, AlphaGT enhances just if your application has: * Win98 more than 19FPS (~1000/50) ; * Win2K more than 100FPS (~1000/1

Re: [JAVA3D] A Good Timer Alpha

2003-03-24 Thread John Wright
Alessandro, looks good on my machine (Win98SE). Definitely smoother. On WinNT/XP/2000 (or Linux) I wouldn't expect to be able to visually notice the difference. - John Wright Starfire Research > Alessandro Borges wrote: > > Hi ! > > I like to share with you a very simple version of Alpha with a

Re: [JAVA3D] AW: [JAVA3D] A Good Timer Alpha

2003-03-24 Thread White Morph
The left one rotates quite faster than the right one in my machine(P3 800, Win2K, jdk1.4.0_03, j3d 1.3.1beta, IE 6.0, no graphics accelerating card) Same thing when run as standalone applications. why??? ---white >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA1 > >Florin Herinean wrote: >| Hi Al

[JAVA3D] Linux issues

2003-03-24 Thread Daniel L. Pasco
Hello, all.  I have been having trouble with 1)  offscreen rendering and 2)  the jd3.org overlay package under linux.  My code works fine with these under Windows. Are there known issues with Linux?  Any workarounds?  I've been using the Blackdown 1.3.1 beta for java3d and the Sun 1.4 jre. -D

Re: [JAVA3D] AW: [JAVA3D] A Good Timer Alpha

2003-03-24 Thread Jeremy Booth
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Florin Herinean wrote: | Hi Alessandro, | | I've tested on my machines and there is no detectable difference between | left and right. Win2K, p3 800 / p3 600, GeForce2 MX 200 / s3 savage, 768 MB | / 256 mb ram, jdk 1.4.1, j3d 1.3 ogl / 1.3.1 beta ogl, I

[JAVA3D] AW: [JAVA3D] A Good Timer Alpha

2003-03-24 Thread Florin Herinean
Hi Alessandro,   I've tested on my machines and there is no detectable difference between left and right. Win2K, p3 800 / p3 600, GeForce2 MX 200 / s3 savage, 768 MB / 256 mb ram, jdk 1.4.1, j3d 1.3 ogl / 1.3.1 beta ogl, IE 6. Couldn't test other configurations.   Cheers,   Florin -Ur

[JAVA3D] A Good Timer Alpha

2003-03-24 Thread Alessandro Borges
Hi !   I like to share with you a very simple version of  Alpha with a better timer. This one uses J3DTimer instead System.currentTimeMillis. It is a good performer in Win98 as well Win2K. I didnot test it under Linux, so any report will be welcome. I call it AlphaGT - Alpha Good Timer ;-)

Re: [JAVA3D] OpenGL Depth Test in Java3D

2003-03-24 Thread Alessandro Borges
Hi Can someone explain how to use Depth Test alpha properly ? I am think about multi-texturing on vcards with only 2 Texture Units, by using same geometry several times but each one with a different texture(s) Thanks Alessandro - Original Message - From: "David Yazel" <[EMAIL PROTECTE

[JAVA3D] Is it a bug? java.lang.NullPointerException

2003-03-24 Thread White Morph
Hi, I did something like this: . GeometryInfo gi = new GeometryInfo(ga); ga = gi.getIndexedGeometryArray(); . ga is an IndexedGeometryArray object and has all its data, I got the following exception: java.lang.NullPointerException at com.sun.j

[JAVA3D] PickRotateBehavior

2003-03-24 Thread Christopher Lindinger
Hello all! I want to use the pickRotateBehavior to turn objects, but I only want to use it in one direction. So that the y coordinate of the mouse is not used. Does anyone know a solution to this? Thanks Christopher N‹§²æìr¸›zǧu隊[h–+-±êڲéܢf§v)[EMAIL PROTECTED] LDDI1h®§z¶¥…éi±éÝzf¢–Ú%ŠËlz»ãj

[JAVA3D] UNSUBSCRIVE

2003-03-24 Thread Francesco De Muro
UNSUBSCRIVE ==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".

Re: [JAVA3D] How to wake up different Shape3Ds at different times?

2003-03-24 Thread Kevin Glass
You could either use 2 behaviours, each with different timings that wake up seperate elements, or you could add two different wake up criterion and replace your instanceof check with a check against the criteria. HTH Kev A. Murat Tanyer wrote: Dear all, I sent this message to the

[JAVA3D] How to wake up different Shape3Ds at different times?

2003-03-24 Thread A. Murat Tanyer
Dear all, I sent this message to the list but couldn't get a response. I am trying to make an animation of my scene. I have thousands of Shape3D objects. I want to wake up different Shape3Ds at different times. I attached a sample program that tries to do this. As you see there are four cu