[JAVA3D] Starfire loader and JAR files

2004-04-30 Thread Ben Logan
Hi I wonder if anyone could help me? I have been using the starfire 3DS loader for a while now and its great! The problem is with deployment, I cant seem to get it to load from a jar file. I know I have the directories etc correct, so I just need to know how to do it? Code snippet: System.out.prin

Re: [JAVA3D] Starfire loader and JAR files

2004-04-30 Thread Franck Calzada
I also use starfire in my applet ( http://membres.lycos.fr/franckcalzada/Billard3D/Pool.html ) I have no problem loading 3DS files either in applet or application mode. Here is my code: TransformGroup theModel = loadMyOb

Re: [JAVA3D] Starfire loader and JAR files

2004-04-30 Thread Ben Logan
Hm thanks for that - but are you actually accessing the 3DS file from within a JAR - I think this requires a different approach - I have managed it now with this technique, but this is not really satisfactory as it requires lots of changes to the existing code: Loader3DS l = new Loader3DS();

Re: [JAVA3D] Why does translation affect rotation values

2004-04-30 Thread Nikolai V. Chr.
N. Vaidya wrote: Nikolai, See if the following modifications are what you're looking for: . t.getRotationScale(rotationScale); // begin mods: double tscale = t.getScale(); rotationScale.mul( 1.0 / tscale ); // end mods: . Your test results should now be identical. It gives another r

Re: [JAVA3D] Starfire loader and JAR files

2004-04-30 Thread Franck Calzada
Yes, my 3DS files are located in a resource jar. I access it from either the applet or from my application built package. Franck -Original Message- From: Discussion list for Java 3D API <[EMAIL PROTECTED]>@SUNGARD On Behalf Of Ben Logan <[EMAIL PROTECTED]>

Re: [JAVA3D] Starfire loader and JAR files

2004-04-30 Thread Ben Logan
Ah ok, so what I am doing should work then? Isnt getDocumentBase an applet method call, what exactly does your urlBase look like? Thanks for this by the way, much appreciated! Ben >-Original Message- >From: Franck Calzada [mailto:[EMAIL PROTECTED] >Sent: 30 April 2004 12:37 >To: [EMAIL

Re: [JAVA3D] Java3D in Matlab?

2004-04-30 Thread Alessandro Borges
check the classpath and Java3D binary libs of your aplication. Chack if your app is really assembling the scene graph inside. --- Skygoth <[EMAIL PROTECTED]> escreveu: > Hello, I have been designing an interface for some > specific work my group has been doing in Matlab, and > we recently decided

[JAVA3D] How to get a point coordinate array

2004-04-30 Thread Bassam
I get the geometry of a primitive sphere . The geometry is of type TriangleStripArray . The problem is that when I ask for the coordinates , I receive the coordinates of the strips of the sphere .many points are repeated over and over in the array .   Is there a simple way to get unrepeated v

Re: [JAVA3D] How to get a point coordinate array

2004-04-30 Thread Justin Couch
Bassam wrote: Is there a simple way to get unrepeated vertices in an array? No. It's entirely dependent on how the geometry was generated in the first place. Your best bet would be an Indexed array of some form, as that one typically shares the vertices as much as possible. -- Justin Couch

Re: [JAVA3D] Install Anywhere and X3D loader

2004-04-30 Thread Justin Couch
Silvano Maneck Malfatti wrote: I don't know how configure the X3D Loader on Install Anywhere program..anybody know the steps to configure the X3D Loader and Install Anywhere, or other applicatin that I can gererate a install program? The typical approach to this is to just get the installer to call

Re: [JAVA3D] Java3D in Matlab?

2004-04-30 Thread Skygoth
Yup, if I instantiate the GUI using Eclipse or a command line, I get the full GUI with a model visible and everything. If I instantiate it in Matlab, I see no model. My behaviors are working, though -- I put some System.out.println's in there to test, and they are working fine. So it's just that

Re: [JAVA3D] How to get a point coordinate array

2004-04-30 Thread Bassam
I tried to use IndexedArrayGeometry as an object recieving the geometry but I got a classcastException. plus I did't get exactly what Couch was saying.    Is there a solution other than diving into the array to eliminate the duplicates?   Thank You Bassam

[JAVA3D] Lawrence Love/MSCsoftware is out of the office.

2004-04-30 Thread Lawrence L. Love
I will be out of the office starting 04/30/2004 and will not return until 05/04/2004. I will respond to your message when I return. === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "