Re: [JAVA3D] Memory problems in J3D App; No Stack Trace Available

2002-04-10 Thread Pasi Paasiala
You said that you have finalize methods in your major classes. Do you have plenty of instances of these classes? I used to have the finalize methods also, but learned that taking them out reduced my memory consumption a lot. In the book "Java Platform Performance" by Steve Willson, it is wri

Re: [JAVA3D] Java3d Memory Consumption

2002-04-10 Thread Kapil Joshi
Thank You very much. i was awaiting the release of your book. it's a very good source to learn Java3d. Thanks again. Kapil Joshi - Original Message - From: "Daniel Selman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 09, 2002 8:00 PM Subject: Re: [JAVA3D] Java3d Memor

Re: [JAVA3D] Texture.setLodOffset(float r, float s, float t)

2002-04-10 Thread Doug Twilleager
Go to Nvidia's web site for their latest drivers. Doug. John Barrus wrote: 01c1e0e0$5c477e90$320a50c0@mersey"> Where can I get a driver that works?John B.-Original Message-From: Doug Twilleager [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 10, 2002 3:02 PMTo: [EMAIL PROTECTED

Re: [JAVA3D] InputDevice for a HMD

2002-04-10 Thread Satoshi Konno
>I'm working on a project to create a virtual laboratory of >digital systems and I need help to implement the InputDevice >for a HMD. So if somebody have been worked on this... >Can I write a generical code for any HMD ? Check my input drivers for Java3D if you want. Do you have any trackers for

Re: [JAVA3D] InputDevice for a HMD

2002-04-10 Thread Mark Hood
> Date: Wed, 10 Apr 2002 16:28:10 -0300 > From: Paul Gordon <[EMAIL PROTECTED]> > > > > Dipl. Ing. Paul Szawlowski wrote: > > > (Also there was quite recently a post on this list mentioning a joystick > > > package using I think JNI ?). > > > > Yes, mine. http://www.hardcode.de/jxinput mig

Re: [JAVA3D] Memory problems in J3D App; No Stack Trace Available

2002-04-10 Thread Scott Mobile
Still digging into the source of the outofmemoryerrors, but since I increased the heap to 128 it happens less frequently.  But what happens if you specify a 128MB heap size on a machine with less than 128MB? (Realizing that's not neccessarily a question for this group).   Using a manual /gc

Re: [JAVA3D] Texture.setLodOffset(float r, float s, float t)

2002-04-10 Thread John Barrus
Where can I get a driver that works? John B. -Original Message- From: Doug Twilleager [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 10, 2002 3:02 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [JAVA3D] Texture.setLodOffset(float r, float s, float t) I just tried this on

Re: [JAVA3D] Texture.setLodOffset(float r, float s, float t)

2002-04-10 Thread Doug Twilleager
I just tried this on my Dell 8000 with a Geforce2Go 2, and it returned a max degree of 2.0. So, maybe it is the driver you are using. Doug. >Subject: RE: [JAVA3D] Texture.setLodOffset(float r, float s, float t) >To: Doug Twilleager <[EMAIL PROTECTED]>, [EMAIL PROTECTED] >MIME-version: 1.0 >X-M

Re: [JAVA3D] GeometryInfo - CoordIndexOnly and other problems

2002-04-10 Thread Artur Biesiadowski
Raj Vaidya wrote: > Hi Artur, > > When you are *retrieving* the IndexedGeometryArray from the > GeometryInfo, are you specifying the flag "USE_COORD_INDEX_ONLY" > as a parameter to geomInfo.getIndexedGeometryArray( flag..) ? > IIRC, it also takes other flags such as NIO, ByRef, etc. Yes, I'm doin

Re: [JAVA3D] InputDevice for a HMD

2002-04-10 Thread Paul Gordon
> > Dipl. Ing. Paul Szawlowski wrote: > > (Also there was quite recently a post on this list mentioning a joystick > package using I think JNI ?). > > Yes, mine. http://www.hardcode.de/jxinput migth provide you with sample cod= > e. It might be useful to see how JNI is accessed for an InputDevice

Re: [JAVA3D] GeometryInfo - CoordIndexOnly and other problems

2002-04-10 Thread Raj Vaidya
Hi Artur, When you are *retrieving* the IndexedGeometryArray from the GeometryInfo, are you specifying the flag "USE_COORD_INDEX_ONLY" as a parameter to geomInfo.getIndexedGeometryArray( flag..) ? IIRC, it also takes other flags such as NIO, ByRef, etc. If you're already aware of it, then please

Re: [JAVA3D] Normalization

2002-04-10 Thread Sean Sylvis
I believe it's due to the floating point precision, so 1.0 and 0.99 are essentially the same thing. Because of the inherent inaccuracy in representing an infinite number of real values in a 32-bit number, these type of round-off errors are common. For example, when doing an equals com

[JAVA3D] GeometryInfo - CoordIndexOnly and other problems

2002-04-10 Thread Artur Biesiadowski
Is this possible to force GeometryInfo to output IndexedGeometryArray with USE_COORDINATE_INDEX_ONLY set ? I can use it to give only single array of indices to GeometryInfo, they are processed correctly, but on creation of IndexedGeometryArray this state seems to be lost. It seems that if (prim

Re: [JAVA3D] Signed auto-installation JAR from Sun

2002-04-10 Thread Mona Wong
Hooray!! I presume this means support for Java Web Start? This is really terrific! Thanks Sun!! Cheers, Mona > Java 3D is ready to be deployed in an auto-install environment. > It is being worked on within the JDK groups. I don't have a > delivery date yet, but it is being w

Re: [JAVA3D] Memory problems in J3D App; No Stack Trace Available

2002-04-10 Thread Yazel, David J.
Thats very wierd...  I know it is not helpful, but this does not happen to us.  I have had our client running for days in test mode where avatars run from one end of the world and back again to test this sort of thing.  Our memory usage typically runs at 55mb to 90mb and sometimes a bit higher,

[JAVA3D] Memory problems in J3D App; No Stack Trace Available

2002-04-10 Thread Scott Mobile
Before anyone suggests I browse the archives, don't bother--I have, but haven't found a solution or even direction to look.   I'm having serious problems with java.lang.OutOfMemory errors that have "no stack trace" in my little MMORPG aspp.  They're random, sometimes coming after the app's

Re: [JAVA3D] A basic doubt

2002-04-10 Thread Georg Rehfeld
Hi, "Nitin.Jain" wrote: > > Or, say, you replace the spheres by a quad with a texture > > showing a sphere and > > use the texture alpha channel to make the (black) texture > > background invisible. > This strtegy was also suggested before, The code attached below is using the > same but when we

Re: [JAVA3D] Signed auto-installation JAR from Sun

2002-04-10 Thread Doug Twilleager
Java 3D is ready to be deployed in an auto-install environment. It is being worked on within the JDK groups. I don't have a delivery date yet, but it is being worked on. Java 3D and the various shipping JDK's will be the first technologies available this way. Doug Twilleager Java 3D Team Sun Mi

Re: [JAVA3D] How do I...

2002-04-10 Thread Yazel, David J.
Watch out... some of these are not clean bits. In other words flags & COLOR_3 will != 0 even if flags == COLOR_4. I always check like this: ((flags & ) == ) I only know I once had several hours of pain wondering why my code was not working since I had assumed it was one bit per flag ty

Re: [JAVA3D] CoordByRef - Bug or Feature ?

2002-04-10 Thread Georg Rehfeld
Hi Andrei, > Andrei, > It's a bug in j3d1.2.1_04 and j3d1.3beta1, but it has been fixed > in the coming j3d1.3beta2 release. In the meantime, as the bug seems to be in the auto computation of the bounds, may be you can live with setting the bounds explicitly, as in this (hardcoded) examp

Re: [JAVA3D] How do I...

2002-04-10 Thread David Rush
Ta very much. David > > From: Daniel Selman <[EMAIL PROTECTED]> > Date: Wed 10/Apr/2002 19:04 CEST > To: [EMAIL PROTECTED] > Subject: Re: [JAVA3D] How do I... > > David, > > The universally useful & and | operators. > > in vertexFormat = foo.getVertexFormat(); > > if( (vertexFormat & GeometryArr

Re: [JAVA3D] How do I...

2002-04-10 Thread Daniel Selman
David, The universally useful & and | operators. in vertexFormat = foo.getVertexFormat(); if( (vertexFormat & GeometryArray.BY_REFERENCE) == GeometryArray.BY_REFERENCE) { // yep, the bit is set... } Sincerely, Daniel Selman Author - "Java 3D Programming" http://www.manning.com/selman

[JAVA3D] How do I...

2002-04-10 Thread David Rush
..query a GeometryArrayobject to find out if it is BY_REFERENCE or not? I thought getVertexFormat() should work but the vertex format is input as a bitmask i.e. GeometryArray.COORDINATES | GeometryArray.NORMALS | GeometryArray.BY_REFERENCE How can I get just the BY_REFERENCE bit? David ==

Re: [JAVA3D] CoordByRef - Bug or Feature ?

2002-04-10 Thread Chien Yang
Andrei, It's a bug in j3d1.2.1_04 and j3d1.3beta1, but it has been fixed in the coming j3d1.3beta2 release. thanks, Chien Yang Java 3D Team. > Date: Wed, 10 Apr 2002 13:33:01 +0400 > From: Andrei Moisseev <[EMAIL PROTECTED]> > Subject: [JAVA3D] CoordByRef - Bug or Featur

Re: [JAVA3D] Signed auto-installation JAR from Sun

2002-04-10 Thread Asaf Dafner
Thanx for the Q_U_I_C_K response! > I've got a tutorial coming about how to do it Meaning we could all write applets that rely on autoinstall of java3d, without legal problems and pricy servers? > Don't expect anything for a week or so. Meaning it should pobably be ready by, say, June? Thanx,

Re: [JAVA3D] Signed auto-installation JAR from Sun

2002-04-10 Thread Justin Couch
Asaf Dafner wrote: > This is for Paul Pantera or anyone from Sun: Any chance you could provide > saying you are still working on the "auto-install" ? AFAIK nobody is. I've got a tutorial coming about how to do it, but we've been waiting for our dig cert. so that we could sign our code to demons

Re: [JAVA3D] Signed auto-installation JAR from Sun

2002-04-10 Thread Asaf Dafner
Hi, This is for Paul Pantera or anyone from Sun: Any chance you could provide saying you are still working on the "auto-install" ? A date will be great, a deadline would be helpful, a general vicinity would be appreciated, a no-later-than-September will be fine and a "Please continue being patie

Re: [JAVA3D] Source of original fast VRML97 loader pre XJ3D slow downs urgently required!!!

2002-04-10 Thread Justin Couch
Alex Bowden wrote: > What I meant by truncated was that if I asked CVS for version 1.1 then I got > it but if I asked for version 1.0 (as very specifically stated by > Alan/Giles) I was told that there was no such version. There are different "1.0" versions. CVS does not have a concept of 1.0. Wh

Re: [JAVA3D] InputDevice for a HMD

2002-04-10 Thread Herkules
> Dipl. Ing. Paul Szawlowski wrote: > (Also there was quite recently a post on this list mentioning a joystick package using I think JNI ?). Yes, mine. http://www.hardcode.de/jxinput migth provide you with sample cod= e. It might be useful to see how JNI is accessed for an InputDevice over an= in

Re: [JAVA3D] InputDevice for a HMD

2002-04-10 Thread Dipl. Ing. Paul Szawlowski
I think all the generic stuff is already put into j3d. What is missing is the part how to get the information of the HMD (=head tracking) into java. However this is type specific since you either have to write a java wrapper for the device driver using JNI or using the java.comm package and implem

[JAVA3D] InputDevice for a HMD

2002-04-10 Thread Marcel Almeida
I'm working on a project to create a virtual laboratory of digital systems and I need help to implement the InputDevice for a HMD. So if somebody have been worked on this... Can I write a generical code for any HMD ?     Marcel Almeida mailto: [EMAIL PROTECTED] or [EMAIL PROTECTED]  homepage:

Re: [JAVA3D] A basic doubt

2002-04-10 Thread Nitin.Jain
Hi All, I'm trying different things suggested in the last couple of mails under this link. Here is the first one: > From: Karsten Fries > strange requirement. Why would you need to visiualize 50K spheres? We're making a viewer for large bio-molecules which involves these many atoms to be viewed

[JAVA3D] Seeking comprehensive Java3D benchmark

2002-04-10 Thread Leskov, Dmitry
Hello, My company is working on the ahead-of-time optimizing Java compiler called Excelsior JET. You might have learned a bit about our product from the Jacob Marner's report, which, as I have noticed, is referred to in this list quite often. We have just released JET 2.5 and are now choosing th

[JAVA3D] CoordByRef - Bug or Feature ?

2002-04-10 Thread Andrei Moisseev
Hi! I have made a simple example. This example draws 3 triangles. The blue and green triangles use the mode coordinate by reference.The red one uses the mode coordinate by copying. MouseTranslate behaviour allow to navigate using Right Click. When the scene is moved from the right to the le

[JAVA3D] AW: [JAVA3D] Normalization

2002-04-10 Thread Volker Coors
because it is correct. (1.0, 0.0, 0.0) would be better but (0., 0.0, 0.0) is a good guess. Volker -Ursprungliche Nachricht- Von: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]]Im Auftrag von Raul Gesendet: Dienstag, 9. April 2002 19:12 An: [EMAIL PROTECTED] Betreff