Re: [JAVA3D] Box border

2004-08-26 Thread Vjiay Dharap
only guess is use getShape() methos of box .. to get a face of the box and puta rectangular image on it.. which will be transparent everywhere except at edges.. so as to give effect of border another best way is write your own BOX class.. where you acn define what you want.. Vijay Dharap, On Thu

Re: [JAVA3D] Box border

2004-08-26 Thread romil shah
Sorry, I meant an outline. Just highlighting the edges of the Box. -- Romil. --- Alessandro Borges <[EMAIL PROTECTED]> wrote: > what do you mean "Outer Border" ? > A halo around a shape3D ? > > Alessandro > > --- romil shah <[EMAIL PROTECTED]> escreveu: > > Hi again, > > > > Sorry for shooting s

Re: [JAVA3D] Box border

2004-08-26 Thread Alessandro Borges
what do you mean "Outer Border" ? A halo around a shape3D ? Alessandro --- romil shah <[EMAIL PROTECTED]> escreveu: > Hi again, > > Sorry for shooting so many questions on the same day. > > Could anybody guide me how to draw an Outer Border > with diffrent color. > I searched the java docs but to

[JAVA3D] Box border

2004-08-26 Thread romil shah
Hi again, Sorry for shooting so many questions on the same day. Could anybody guide me how to draw an Outer Border with diffrent color. I searched the java docs but to no success. Thanks, Romil D. Shah __ Do You Yahoo!? Tired of spam? Yahoo! Mai

Re: [JAVA3D] AW: [JAVA3D] Gimbal lock

2004-08-26 Thread Alessandro Borges
Florin is right. But if you are tied to Euler angles, specially at initial and final position, you can do something like: // euler2Quat is method to convert a Tuple3f to Quat4f Quat4f qInit = euler2Quat(initAngle); Quat4f qEnd = euler2Quat(endAngle); Quat4f qMid = new Quat4f(); // interm

Re: [JAVA3D] RemoveChild vs Detach

2004-08-26 Thread Mike Pilone
That is correct, only BranchGroups may be added or removed from a live scenegraph. Of course you can just have a BranchGroup that contains your TransformGroup. -mike -Original Message- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED] On Behalf Of Melina Alberio Sent: Thurs

Re: [JAVA3D] RemoveChild vs Detach

2004-08-26 Thread Melina Alberio
Well, my problem is : Although I had already set this capabilities(ALLOW_DETACH and ALLOW_CHILDREN_WRITE), I try to remove a TransformGroup but it doesn't work. I read in http://www.manning-sandbox.com/thread.jspa?threadID=6579&tstart=120 that only BranchGroups can be atached dinamically. Maybe, on

Re: [JAVA3D] VrmlLoader and Normal

2004-08-26 Thread Alessandro Borges
Jeff, if - and only if, I guess - your model doesnot have normals, then VRML loader will create normals for you. Sometimes I delete the normal info in my VRML models to get smaller files ;) The ObjectLoader has a parameter for creasing Normals, but I am not sure if VRML97 loader has it too. About

Re: [JAVA3D] RemoveChild vs Detach

2004-08-26 Thread romil shah
Hi Mike, Thanks for the help. But that didnt quite answer my question. I know that by setting the appropiate capability bits we can delete/add BranchGroups at runtime. I had problems with the memory deallocation. I read through the archives and the suggestion was to "getAllChildren" and assign the

Re: [JAVA3D] Learning how to use Java3D API !

2004-08-26 Thread michaelpfeiffer
After you seem to speak german: there is a J3D-tutorial available at http://java3d.virtualworlds.de/books.php (in german only). On Thu, 26 Aug 2004 13:53:17 +0200, Klaus-Dieter Weimer <[EMAIL PROTECTED]> wrote: Hello, we are trying to get familiar with the java 3D world. Is there a 3D tutorial whic

Re: [JAVA3D] RemoveChild vs Detach

2004-08-26 Thread michaelpfeiffer
There is a known bug with removing sub-scenegraphs from a Group. For detailled information about a workaround please refer the J3D-mailinglist-archive but as far as I remember you have to add and remove a plain BranchGroup afterwards to let the memory be released. On Thu, 26 Aug 2004 04:57:36 -0700

[JAVA3D] Limiting Rotation

2004-08-26 Thread romil shah
Hi, I want to restrict the rotation along x-axis ( prefrebally along Y and Z axis too ). I am using the MouseInterpolators as of now. Can anybody please help. Thanks for your time, Romil. ___ Do you Yahoo!? Win 1 of 4,000 free domain names from Yahoo! Enter now. h

Re: [JAVA3D] Learning how to use Java3D API !

2004-08-26 Thread John Wright
Use "TransformGroup" to rotate Shape3D objects. - John Wright Starfire Research Klaus-Dieter Weimer wrote: Hello, we are trying to get familiar with the java 3D world. Is there a 3D tutorial which explains for beginners clearly how to use the java 3D classes?? For example : if we define a squar

Re: [JAVA3D] Learning how to use Java3D API !

2004-08-26 Thread Mike Pilone
A Google search of: http://www.google.com/search?&q=java3d%20tutorial Quickly reveals: http://java.sun.com/developer/onlineTraining/java3d/ which is the official Java3D tutorial. There are also a number of books available as this list has pointed out. To rotate a shape, the scenegraph must be con

Re: [JAVA3D] RemoveChild vs Detach

2004-08-26 Thread Mike Pilone
Hello, It is possible to remove branch groups at runtime. The branch group being removed must have the ALLOW_DETACH capability set. Also, the parent group must have ALLOW_CHILDREN_WRITE capability set. As for removeChild vs detach, I have not looked at the code, but I believe removeChild will cal

[JAVA3D] Learning how to use Java3D API !

2004-08-26 Thread Klaus-Dieter Weimer
Hello, we are trying to get familiar with the java 3D world. Is there a 3D tutorial which explains for beginners clearly how to use the java 3D classes?? For example : if we define a square with its 4 points p1, p2, p3, p4 , which steps have to be executed to cause a rotation in the outpu

Re: [JAVA3D] RemoveChild vs Detach

2004-08-26 Thread Melina Alberio
I'm having the same problem. Someone help us. --- romil shah <[EMAIL PROTECTED]> wrote: > Hi all, > > I am writting an application which requires me to > refresh the screen very often. I tried using > removeChild, but guess the memory was not > deallocated > and moreover I was getting a multiple

[JAVA3D] VrmlLoader and Normal

2004-08-26 Thread jinping
Hi all,     I am using Java3d to display VRML models. I use com.sun.j3d.loaders.vrml97.VrmlLoader as the vrml loader. The VRML models I'm using contains no normal information. My quesition is: will VRML loader or Java3d creat nomal for the models? And if yes, how could I change the default s