[JAVA3D] How to find collision point?

2004-02-01 Thread eclipse
Hi everyone! I have a little problem, I can detect a collision but I don't know where, in my Shape3D, it occured. There's any algoritm that can tell me where the collision occured in my Shape3D? (botton, front, etc) Regards, Helio Luiz >>> Powered by FreeBSD and Java 2 Platform.

[JAVA3D] camera location at start-up

2004-02-01 Thread Flavius
normally the camera starts at (0,0,0) right? is there a way to change this? thanx === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send e

Re: [JAVA3D] camera location at start-up

2004-02-01 Thread Nicholas Pappas
Flavius wrote: normally the camera starts at (0,0,0) right? is there a way to change this? Yes. You can create a Transform3D to set the Transform of the ViewPlatform. For example: Transform3D viewT3D = new Transform3D(); viewT3D.rotX(45.0); viewT3D.setTranslation(new Vect

[JAVA3D] "shrinking" the camera....

2004-02-01 Thread Flavius
here's a very wierd question... I've tried designing my room in Java 3D, exactly teh same size as in real life. The thing is...everything seems so small. Is there anyway to make the room seem bigger, without changing the actual values of the walls and such? Maybe changing teh viewplatform or somet

Re: [JAVA3D] "shrinking" the camera....

2004-02-01 Thread Nicholas Pappas
Does altering the position on the Z-Axis not accomplish what you are looking for? Flavius wrote: here's a very wierd question... I've tried designing my room in Java 3D, exactly teh same size as in real life. The thing is...everything seems so small. Is there anyway to make the room seem bi

Re: [JAVA3D] "shrinking" the camera....

2004-02-01 Thread Serge Bernier
You could try to put all your objects under a TransformGroup and apply a scale factor to the transform3D of TransformGroup. It simple: TransformGroup myTG = new TransformGroup(); myTG.addChild();//add your objects Transform3D t3d = new Transform3D(); t3d.set(10.0); myTG.setTransform(t3d); A

Re: [JAVA3D] "shrinking" the camera....

2004-02-01 Thread David Grace
Hi Increasing the field of view using setFieldOfView(..) in View can make a room 'feel' larger. It defaults to PI/4. Dave. -Original Message- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED] On Behalf Of Serge Bernier Sent: Monday, 2 February 2004 5:23 AM To: [EMAIL PRO