I am creating a "pipe" system.  (Well, that's the best way to explain it, it
really makes up something else)

I have a base pipe to which I add a Shape representing the first part.  Then
I add an "elbow" joint, which is a shape under a transform under the first
segment.  Then I add another joint under that transform...

So what I get is this:

TransformGroup
|----Joint 1
| ---- TransformGroup
*     | --- Joint 2
*     | ---- TransformGroup
**         | ---- joint 3
**         |  --- TransformGroup
...

(I hope the spacing stays... if not the * is where the graph indents 1 tab)

Well, I set this up and it's working.  BUT, I figured out (too late I guess)
that I need to get the points that make up the system.  You see, it's going
to be in a wall, so I have to "cut away" the part of the wall the pipe
occupies.  So, what I figure to do is loop through the points and factor out
the transforms.  How do I do this?

I'm not good with the math,  so would multiplying a transform by the
opposite of the transform to be removed work?  Does transform have a method
to "remove" the transform?

Any other ideas?

(To recap, my point (with transforms) could be (0, 0, -3), but actually be
rendered at (23, 54, -234) due to the transforms.  I need to get (23,
54, -234) and then pass it to another method to remove a piece of another
shape.)

Thanks!
Chad Zalkin

=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/

Reply via email to