Re: [JAVA3D] Translating a group of objects !!

2004-09-16 Thread ashish khandelwal
hi, May be that is true...i ll have to brush up my concepts of translation and rotation matrix... But there should certainly be a mathematical method to calculate all the translation matrices for a given collection of TransformGroup so that we could Translate the collection to a desired point in

Re: [JAVA3D] Translating a group of objects !!

2004-09-16 Thread fausto mancini
Yet, I'm not sure I've understood your problem. You have a collection of TGs, each with a different position/orientation in the 3d space. You want to translate this group of objects in a certain point in the space without changing relative transformations between them. You have two ways: one, as ju

[JAVA3D] AW: [JAVA3D] Translating a group of objects !!

2004-09-16 Thread Florin Herinean
Multiply all the transforms of the transform groups. From the resulting transform you can extract only the translation component. Cheers, Florin -Ursprungliche Nachricht- Von: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED] Auftrag von ashish khandelwal Gesendet: Donnerstag, 16

[JAVA3D] A dream?

2004-09-16 Thread Robert Gomez-Reino Garrido
Hi All, I am working in a rack control and monitoring systema here at CERN that will have to deal with around 400 racks full of electronics. I was thinking about adding a 3D interface and I saw some kind of example that loaded the geometry from database and changed the color of the rack with the st

Re: [JAVA3D] A dream?

2004-09-16 Thread Mattijs Janssens
Not directly related but wasn't there a 3D desktop project at Chalmers (http://www.3dwm.org/). Robert Gomez-Reino Garrido wrote: Hi All, I am working in a rack control and monitoring systema here at CERN that will have to deal with around 400 racks full of electronics. I was thinking about adding a

Re: [JAVA3D] A dream? - camera calibration

2004-09-16 Thread Jonathan Merritt
Hi Bobby, This sounds like a really, really, really cool toy!!! :-) Your suggestion triggered my interest because you mentioned registering real images against a virtual scene. I am currently working on an application to do this. I am using code by Reg Willson (written in C) that calibrates a "Ts

Re: [JAVA3D] A dream?

2004-09-16 Thread Mike Pilone
Bobby, Assuming you can get the X,Y,Z and course, pitch, roll of the real camera, creating the overlay would be pretty easy. There are numerous 2D overlay packages for Java3D (just dig through the archives or look at j3d.org). All you need is a Texture in the scene oriented with the view and scale

Re: [JAVA3D] Java3D to be used for tennis instant replays

2004-09-16 Thread Mike Pilone
Mark, It is a great looking project. It is good to see Java3D getting used in some real applications (not that all of the hobbyist aren't nice). I wish you the best of luck in marketing it. Hopefully in a few weeks I will have permission to put up some snapshots of my Java3D application. -mike

Re: [JAVA3D] Translating a group of objects !!

2004-09-16 Thread cs
ashish khandelwal,您好! see javax.media.j3d.Node getLocalToVworld public void getLocalToVworld(SceneGraphPath path,Transform3D t) 致 礼! cs   2004-09-16 蔡苏caisu Email: [EMAIL PROTECTED] Tel: 8610-8231

Re: [JAVA3D] A dream?

2004-09-16 Thread Alessandro Borges
There is a work related with this: http://www.di.unito.it/~nunnarif/threedness/ Alessandro --- Robert Gomez-Reino Garrido <[EMAIL PROTECTED]> escreveu: > Hi All, > I am working in a rack control and monitoring systema here at CERN that > will have to deal with around 400 racks full of electroni

[JAVA3D] How set a texture over the background

2004-09-16 Thread Silvano Maneck Malfatti
How can I add a texture (jpg, gif) over my scene background.. I create a Background object, but it don't have appearance methods.. Anybody can give me a example code... Thank you /* SILVANO MALFATTI COMPUTER SCIENCE - URI University HOME - http://ww

Re: [JAVA3D] How set a texture over the background

2004-09-16 Thread Mike Pilone
Take a look at demo\java3d\Background in your JDK. -mike -Original Message- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED] On Behalf Of Silvano Maneck Malfatti Sent: Thursday, September 16, 2004 1:37 PM To: [EMAIL PROTECTED] Subject: [JAVA3D] How set a texture over the b

[JAVA3D] floating 2D text

2004-09-16 Thread T Nygren
How do I do this? I'm trying to build a particles engine in J3D with capability to project the positions of particles onto 3 axes etc .. Obviously, it would be nice to have axis labels for this. I've managed to create 2d-looking text by feeding a null FontExtrusion in the constructor of Font3D, I

Re: [JAVA3D] floating 2D text

2004-09-16 Thread Todd J.
From the Java3D API: public class Billboard extends Behavior The Billboard behavior node operates on the TransformGroup node to cause the local +z axis of the TransformGroup to point at the viewer's eye position. This is done regardless of the transforms above the specified TransformGroup node in

Re: [JAVA3D] floating 2D text

2004-09-16 Thread Gilson Laurent
Hello On Thursday 16 September 2004 20:58, you wrote: (..) > Now, I'd like the text always to face the camera. You are looking for: javax.media.j3d.Billboard cu === To unsubscribe, send email to [EMAIL PROTECTED] and inc

Re: [JAVA3D] How set a texture over the background

2004-09-16 Thread Gilson Laurent
Hello On Thursday 16 September 2004 19:37, you wrote: > How can I add a texture (jpg, gif) over my scene background.. > > I create a Background object, but it don't have appearance methods.. *cough* Background.setImage(ImageComponent2D image) Sets the background image to the specified i