Re: [JAVA3D] problem while manipulating two different VRML objects separately

2004-12-07 Thread Melina Alberio
No, I'm using TGTool with T3Dtool, and TGTissue with T3DTissue. Don't you think it may be problem with Canvas or bounds? I have no idea. Peace of my program: Transform3D T3DTool = new Transform3D(); T3DTool.set(0.4,new Vector3d(-0.5, 0.0, 0.0)); Transform3D T3DTissue = new Transform3D(); T3DTis

Re: [JAVA3D] problem while manipulating two different VRML objects separately

2004-12-07 Thread Alessandro Borges
Check if you are not referencing the same Transform3D for both TG transform. --- Melina Alberio <[EMAIL PROTECTED]> escreveu: > Hello! I need an important help! > > I'm doing a project where I import different Vrml > objects and add respective BranchGroups to two > different TransformGroups. > B

[JAVA3D] Animations with 3DS

2004-12-07 Thread Flavio Gonzaga
Hi All, I am trying to build some 3D scenes using 3DS max, exporting to .3DS files and importing with the 3DS loader from Josh DeFord and Eric Miller. Using direct kinematics the members appears different and disconnected to the body (I'm afraid there is a problem with the rotation center point),

Re: [JAVA3D] Animation etc

2004-12-07 Thread Gilson Laurent
Moin > Sounds good! What do you mean by wake up on frames elapsed, could you > give a small code example... I like the principle just don't know how to > force a repaint if you know what I mean. Wirte a new class by subclassing "javax.media.j3d.Behavior". Make it wake up every frame (WakeupOnEla

Re: [JAVA3D] Animation etc

2004-12-07 Thread Ben Logan
Sounds good! What do you mean by wake up on frames elapsed, could you give a small code example... I like the principle just don't know how to force a repaint if you know what I mean. >-Original Message- >From: Discussion list for Java 3D API >[mailto:[EMAIL PROTECTED] On Behalf Of John

Re: [JAVA3D] Animation etc

2004-12-07 Thread John Wright
Ben, I'd put a loop counter inside a wake up on frames elapsed (waking up on every frame probably). Test time elapsed and then advance your transformation if appropriate. - John Wright Starfire Research Ben Logan wrote: Hello I was wondering what the easiest way of achieving the following is... Sa

[JAVA3D] problem while manipulating two different VRML objects separately

2004-12-07 Thread Melina Alberio
Hello! I need an important help! I'm doing a project where I import different Vrml objects and add respective BranchGroups to two different TransformGroups. Below, My Objects hierarchy: BranchGroup (objRoot) 1.1- TransformGroup (TGRoot) 1.1.2- Background (background) 1.1.3-

Re: [JAVA3D] Animation etc

2004-12-07 Thread Rolf Gabler-Mieck
hello Ben may you search for a morphing? If your models are geometrical identical you can use the Morph-Class to interpolate between different pre-transformed Objects and the animation is shown as fluently as you described it, have a look for the Morphing-Applet in the j3d demo folder. best regards

[JAVA3D] Animation etc

2004-12-07 Thread Ben Logan
Hello I was wondering what the easiest way of achieving the following is... Say I have a loop for (int i=0; i < 5; i++){ //perform some transformation } Obviously with the default java3d configuration it will just perform all these transformations and then show you the final result. What is the