[JAVA3D] SingularMatrixException in Transform3D.invertAffine()

2002-02-21 Thread Mark Crompton
Hi all, I'm currently trying to add collision detection to my Java3D project, a little Lego editor. When the user picks a 'brick' to move, I add a behavior with a WakeupOnCollision tied to the brick's branch group. As soon as I do this I get the exception below. Can anyone shed any light on wh

[JAVA3D] RotationInterpolator consumes 100% CPU !!!

2002-02-21 Thread Raul Rios
That's my problem. I want to rotate my 3D model using a RotationInterpolator. It works fine, but while it's working, the CPU usage is 100%. This is my interpolator code: RotationInterpolator rotator = new RotationInterpolator( new Alpha(-1, time), rotationTG, yAxis, 0.0f,

[JAVA3D] Getting error in triangulator

2002-02-21 Thread aant
When generating a 3D box, build with floor, walls and a ceiling i get sometimes the following error: java.lang.ArrayIndexOutOfBoundsException at com.sun.j3d.utils.geometry.Desperate.foundSplit(Desperate.java:316) at com.sun.j3d.utils.geometry.Desperate.existsSplit(Desperate.java:2

Re: [JAVA3D] SingularMatrixException in Transform3D.invertAffine()

2002-02-21 Thread Mark Crompton
Thanks very much Paul. A description which actually relates to what a singular matrix does! Perfect, just what I needed. I think I've solved the problem now. > I hope I don't tell bullshit, but in simple words it means that your matrix > degenerates. Think of matrices as description of linear

[JAVA3D] j3d, Mac, & CodeWarrior question.

2002-02-21 Thread Benoit
Hi. Cd. anyone advise about (1) locating the java3d library for a Mac and (2) using the 3d libraries with CodeWarrior on the Mac? Wd. appreciate any guidance. Thanks. === To unsubscribe, send email to [EMAIL PROTECTED] a

Re: [JAVA3D] j3d, Mac, & CodeWarrior question.

2002-02-21 Thread Justin Couch
Benoit wrote: >Cd. anyone advise about (1) locating the java3d library for a Mac http://www.j3d.org/faq/intro.html#platforms -- Justin Couch http://www.vlc.com.au/~justin/ Java Architect & Bit Twiddler http://www.yumetech.com/ Author, Java 3D FAQ Mainta

Re: [JAVA3D] Milkshake 3d loader problems...

2002-02-21 Thread Karl Parry
Hi Kevin, Using your loader my program compiles, but when I run the program I get the following error: Exception in thread "main" java.lang.NoClassDefFoundError: com/glyphein/j3d/load ers/milkshape/MS3DLoader at BasicRecipeJ3D.createSceneGraph(BasicRecipeJ3D.java:73) at BasicRecip

[JAVA3D] WakeupOnCollisionXxxx

2002-02-21 Thread Mark Crompton
Hi all, In trying to implement simple collision detection, I've hit a problem with the WakeupOnCollision behaviors. I'm using J3D 1.3b1 and JDK 1.4. 1) Even though I specify WakeupOnCollisionXxxx.USE_GEOMETRY, the collision behavior triggers whilst the objects are some distance apart. But prob

[JAVA3D] draw buffer and coord system

2002-02-21 Thread Slappo Svensson
Is there a way to determine or decide when a scene gets rendered? If I transform say three things is there a chance that the scene will get be drawn in the middle of that, and how do I deal with it? Is there a way to be sure you draw to some buffer and then swap it in when all changes have been ma

Re: [JAVA3D] draw buffer and coord system

2002-02-21 Thread Justin Couch
Slappo Svensson wrote: > Is there a way to determine or decide when a scene > gets rendered? If I transform say three things is > there a chance that the scene will get be drawn in the > middle of that, No. The conceptual model of Java3D is there are two threads. One thread is doing rendering, th

Re: [JAVA3D] Milkshake 3d loader problems...

2002-02-21 Thread Kevin J. Duling
Your problems are basic classpath issues. You will either have to explicitly define the classpath with the -classpath parameter, or you will want to use the Class-Path parameter in your own jar file. I can help you get this working, but I don't think it's something we need to discuss on the list

[JAVA3D] Track down memory leaks

2002-02-21 Thread RWGRAY
Does anyone have a suggestion/tool for tracking down "memory leaks". I build a BracnkGroup with lots of objects. Attach it to my scene. Later, I detach it. After detaching and calling System.gc(), I *never* see the memory usage for javaw decrease. (Windows 2000 task manager reports memory usa

Re: [JAVA3D] Version 1.2.1_04 release?

2002-02-21 Thread Doug Twilleager
We will start the release process for 1.3 beta2 after 1.2.1_04 is done. Doug. Joachim Diepstraten wrote: >Hi Doug > >>We are in the middle of the release process right now. >>It should be on the web within the next two weeks. >> > >How about 1.3beta2 I'm dying for some bugfixes, especially con

Re: [JAVA3D] Track down memory leaks

2002-02-21 Thread Nikolai V. Chr.
Justin Couch wrote: > RWGRAY wrote: > >> Does anyone have a suggestion/tool for tracking down "memory leaks". > > > Typical tool that most seem to recommend is OptimizeIt! JProbe is much better than OptimizeIt, but also a lot more expensive. Regards Nikolai ===

Re: [JAVA3D] [source] Xj3D Loader M4 test release available

2002-02-21 Thread Kyle McDonald
Justin Couch wrote: > sandyd wrote: >> the SEX3D editor nearly works. it looks like whatever's meant to be in Alright... Just how hard did you guys work to make the name for that editor work out like that? :) -Kyle -- _ --

Re: [JAVA3D] [source] Xj3D Loader M4 test release available

2002-02-21 Thread Justin Couch
Kyle McDonald wrote: >>> the SEX3D editor nearly works. it looks like whatever's meant to be in >> > > > Alright... Just how hard did you guys work to make the name > for that editor work out like that? :) Oh, all of 5 seconds you see we had this simple editor for the X3D spec and wanted to n

Re: [JAVA3D] WakeupOnCollisionXxxx

2002-02-21 Thread Kelvin Chung
>X-Unix-From: [EMAIL PROTECTED] Thu Feb 21 09:08:13 2002 >Date: Thu, 21 Feb 2002 17:09:41 + >From: Mark Crompton <[EMAIL PROTECTED]> >Subject: [JAVA3D] WakeupOnCollisionXxxx >To: [EMAIL PROTECTED] >MIME-version: 1.0 >X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 >Content-transfer-e

Re: [JAVA3D] j3d, Mac, & CodeWarrior question.

2002-02-21 Thread Mona Wong
> Cd. anyone advise about (1) locating the java3d library for a Mac I am interested too! I want to encourage Sun (and Apple) to get this done ... it would be good for both company as we can run our software on ALL our platforms ... I hate to see either Java 3D or Macs go away

Re: [JAVA3D] Track down memory leaks

2002-02-21 Thread Kyle McDonald
RWGRAY wrote: > Does anyone have a suggestion/tool for tracking down "memory leaks". > > I build a BracnkGroup with lots of objects. Attach it to my scene. Later, > I detach it. After detaching and calling System.gc(), I *never* see the > memory usage for javaw decrease. (Windows 2000 task ma

[JAVA3D] Crazy! bug?

2002-02-21 Thread RWGRAY
I have the following lines in my code: System.out.println("Before:i:j:X: "+i+":"+j+":"+hldx); //thePoints[0][j] = new Vector3f(hldx, thePoints[0][j].y, hldz); System.out.println("After:i:j:X: "+i+":"+j+":"+hldx); Which prints: Before:i:j:X: 2:1:4.048341 After:i:j:X: 2:1:4.048341 Before:

[JAVA3D] Screen to World Coordinates Conversion.

2002-02-21 Thread Vijayan Pandalai
Hi All, I wish to know how we can convert the points got by mouse click (screen coordinates) to the world coordinates. At the moment after i capture the mouse click events and get the points i am getting the screen coordinates. How can i convert these coordinates to the world coordinates. Your ad

Re: [JAVA3D] Screen to World Coordinates Conversion.

2002-02-21 Thread Saurabh Akhauri
try this pt - point on canvas canvas3d.getPixelLocationInImagePlate(pt.x, pt.y, point3d); Transform3D temp = new Transform3D(); canvas3d.getImagePlateToVworld(temp); temp.transform(point3d); saurabh - Original Message - F

Re: [JAVA3D] draw buffer and coord system

2002-02-21 Thread Slappo Svensson
> > Is there a way to determine or decide when a scene > > gets rendered? If I transform say three things is > > there a chance that the scene will get be drawn in > the > > middle of that, > > No. The conceptual model of Java3D is there are two > threads. One thread > is doing rendering, the othe

Re: [JAVA3D] How to render to a fixed eye again

2002-02-21 Thread Guang Bin Liu
Hi Kelvin: Thank you a lot for your valuable help in solving this problem. I have eventually got the images rendered to the fixed eyes. Now the only problem is that sometimes there is portion of images flashing. E.g., when I close one eye and view the image through the glasses, except for seei