[JAVA3D] Difficult matrix algebra problem

2003-11-21 Thread Nikolai V. Chr.
Is there any solution to this problem: I have two transform nodes in a scenegraph. Neither of them is ancester to the other. Is it possible to get the transform between them? All transform nodes are expected to be affine. Any help is appreciated Nikolai --

Re: [JAVA3D] Difficult matrix algebra problem

2003-11-21 Thread Pasi Paasiala
Title: RE: [JAVA3D] Difficult matrix algebra problem If you have the transforms in the global coordinates, you can use the inverse transform to get the relative transform. Take the inverse of one of the global transformations and multiply with it the other. Regards, Pasi -Original

Re: [JAVA3D] Difficult matrix algebra problem

2003-11-21 Thread Jeremy Booth
Nikolai V. Chr. said: > Is there any solution to this problem: > > I have two transform nodes in a scenegraph. > Neither of them is ancester to the other. > > Is it possible to get the transform between them? > > All transform nodes are expected to be affine. > > Any help is appreciated > Nikolai

Re: [JAVA3D] Difficult matrix algebra problem

2003-11-21 Thread Nikolai V. Chr.
Pasi Paasiala wrote: If you have the transforms in the global coordinates, you can use the inverse transform to get the relative transform. Take the inverse of one of the global transformations and multiply with it the other. You mean like this or the opposite mul: solution.mul(M|1.invert(), M2);

Re: [JAVA3D] Loader for the bones in a single mesh model

2003-11-21 Thread Alessandro Borges
Paul, There is a Java3D NWN models loader here : http://nwn-j3d.sourceforge.net/loader.about.php I not sure, but I guess you can load geometries with key frames by using LWS LightWave or VRML models. I am working in a character animation api for Java3D but I had a special approach. I use : * a

Re: [JAVA3D] Difficult matrix algebra problem

2003-11-21 Thread Pasi Paasiala
Title: RE: [JAVA3D] Difficult matrix algebra problem Check Jeremy's reply. It was more clear than mine. Basically the situation is as follows. Assume you have transformations A and C and you want to know the relative transformation B between them. You know that: AB = C When you multipl

Re: [JAVA3D] Loader for the bones in a single mesh model

2003-11-21 Thread Alessandro Borges
Sorry, but there is a very interesting work here: Seungwoo Oh's Interactive Garment Simulation http://vr.kaist.ac.kr/~redmong/ (click on Research link) Yahoo! Mail - 6MB, anti-spam e antivírus gratuito. Crie sua conta agora: http://mail.yahoo.com.br ==

Re: [JAVA3D] Difficult matrix algebra problem

2003-11-21 Thread Nikolai V. Chr.
Thank you Pasi Paasiala and Jeremy Booth Regards Nikolai -- Nikolai V. Christensen, Computer Engineer, Simulation and Training department IFAD, Forskerparken 10A, DK-5230 Odense M Denmark, EU Phone: +45 63 15 71 31 Fax: +45 65 93 29 99 WWWeb: http://www

[JAVA3D] Simple bounds question

2003-11-21 Thread Robert Gomez-Reino Garrido
When I move the view point back (using a mouse behaviour) the shapes start to dissapear in the horizont, if I want them to disappear later would be enough with increasing the radius of the bounding sphere that I use when creating the light?? I have increase this radius with no success, the shapes c

Re: [JAVA3D] Dual View mode problem

2003-11-21 Thread Jean-Robert D'Amore
Hi, I am using Java3D/OpenGL with a NVidia Quadro FX500 in dualView mode (two monitors). I have a problem when I extend my application's main window on the two monitors. When I try to open one of my application document (JInternalFrame), then creating a new "Canvas3D" (each document being a s

Re: [JAVA3D] Simple bounds question

2003-11-21 Thread Jean-Robert D'Amore
No, you must modify the clipping volume by calling the setFrontClipDistance() and setBackClipDistance() methods of your View object. Robert Gomez-Reino Garrido wrote: When I move the view point back (using a mouse behaviour) the shapes start to dissapear in the horizont, if I want them to d

Re: [JAVA3D] Simple bounds question

2003-11-21 Thread Jeremy Booth
Robert Gomez-Reino Garrido said: > When I move the view point back (using a mouse behaviour) the shapes > start to dissapear in the horizont, if I want them to disappear later > would be enough with increasing the radius of the bounding sphere that I > use when creating the light?? > I have increas

Re: [JAVA3D] Dual View mode problem

2003-11-21 Thread Jack Gundrum
Java3D is seeing the graphics configuration on both heads of the card, create an array of graphics devices (head[0], head[1]) and add components to them. I can send you example code if you cant find it anywhere. Jean-Robert D'Amore wrote: Hi, I am using Java3D/OpenGL with a NVidia Quadro FX500

Re: [JAVA3D] Dual View mode problem

2003-11-21 Thread Jean-Robert D'Amore
Yes, if you have time to spare sent it to me an example code would help a lot ! Thanks very much ! Here is the stack of the exception:              java.awt.Component.checkGD(Unknown Source)              java.awt.Container.checkGD(Unknown Source)              java.awt.Container.addImpl(Unkno

Re: [JAVA3D] Dual View mode problem

2003-11-21 Thread Jack Gundrum
Jean-Robert D'Amore wrote: Yes, if you have time to spare sent it to me an example code would help a lot ! Thanks very much ! GraphicsDevice[] allScreenDevices = GraphicsEnvironment. getLocalGraphicsEnvironment().getScreenDevices(); System.out.println("Found

Re: [JAVA3D] Dual View mode problem

2003-11-21 Thread Jean-Robert D'Amore
Thanks Jack, I'll try that this week-end ... Jack Gundrum wrote: Jean-Robert D'Amore wrote: Yes, if you have time to spare sent it to me an example code would help a lot ! Thanks very much !  GraphicsDevice[] allScreenDevices = GraphicsEnvironment.    getLocal

Re: [JAVA3D] Difficult matrix algebra problem

2003-11-21 Thread Kevin
Does any body have a good linear matrix algebra book they want to recommend that covers subjects like below? I'm just getting back into this stuff and need a refresher from my college days. It's amazing how much of college you forget when you don't use it. :o( thanks a bunch, kddubb On Fri, 2

[JAVA3D] Multi Texturing / or Wrapping ??

2003-11-21 Thread Ben Logan
Hi, This might sound stupid, but I need help texturing a box! I want 2 different textures, one on the front and one on the back, In order to simulate a wall, in a house. Whats the best way to achieve this, one image file containing inside + outside textures, Or two separate files? How do I implemen

[JAVA3D] rotated pic..

2003-11-21 Thread Kampon Tangwaritorn
Hi everybody I want to insert Canon in the canvas that can rotate around a fix point. How could I do? Import some support file to show or I must create it all in Java3D. Thanks in advance.. _ STOP MORE SPAM with the new MSN 8 an

Re: [JAVA3D] Multi Texturing / or Wrapping ??

2003-11-21 Thread Jeremy Booth
Ben Logan said: > Hi, > This might sound stupid, but I need help texturing a box! > I want 2 different textures, one on the front and one on the back, In > order to simulate a wall, in a house. > Whats the best way to achieve this, one image file containing inside + > outside textures, > Or two sep

Re: [JAVA3D] Multi Texturing / or Wrapping ??

2003-11-21 Thread Alessandro Borges
Use 2 texture files. Create a Appearance for each face. Apply the appearance for the correct side in a Box object: box01.getShape(Box.Front).setAppearance(app1); Do not forget to set the capability bit ENABLE_APPEARANCE_MODIFY of your box. read the javadocs Box, Shape3D, Appearance, etc... If