[JAVA3D] Picking question

2000-01-23 Thread Eric Arnold
I am trying to use picking for something a little different... I want the user to be able to click on one of the object in the scene and have the stats for that object show up as 3D text and a semitransparent cone added to the object so they know which one is selected. Is this possible, and if s

Re: [JAVA3D] appending arrays

2000-01-23 Thread Marco Morais
Although the Vector class may appear to be what you want you must take one more thing into consideration when using Vectors: they are synchronized. This means that any operation which attempts to modify the Vector (add or remove elements) must first obtain a lock on all elements in the Vector to

Re: [JAVA3D] appending arrays

2000-01-23 Thread The Casteels
First, Thanks to everyone who responded to my questions... In researching data structures I found a great tutorial http://www.algonet.se/~set_lo/java/javadata2/javadata2.html I also came across the Vector class in jdk 1.2 which seems to be built for this type of thing, however I haven't spent en

[JAVA3D] 1.2B1 ColoringAttributes problems?

2000-01-23 Thread Daniel Selman
Uma, I've spent this afternoon chasing the problem with Appearances that I described earlier and trying to come up with a test case for you. I started with trying to modify the demo AppearanceTest example, and I couldn't reproduce the bug... but I could still reproduce the problem in my code. So

Re: [JAVA3D] Associating two interpolators

2000-01-23 Thread Jimmy Talbot
Hi, > Now I would like to know if it is possible to associate 2 rotations > interpolators, or a rotation and a position interpolator to an object. I > want the interpolations to be done at the same time. You will have to combine the two transformations together and use the appropriate interpol

[JAVA3D] Associating two interpolators

2000-01-23 Thread Marina Santana
Hi, Thanks for your answer Jimmy. Now I would like to know if it is possible to associate 2 rotations interpolators, or a rotation and a position interpolator to an object. I want the interpolations to be done at the same time. Thanks, Marina Santana ==

Re: [JAVA3D] RotInterpolator and SetAxisOfRotation

2000-01-23 Thread Jimmy Talbot
Hi, > I´m trying to rotate an polyedron over the Z-axis. RotInterpolator > works only for rotations over the Y-axis. Can someone explain me how > does SetAxisOfRotation work? And how can I do rotations over more than > one axis at a time? The name AxisOfRotation is a bit misleading -- it's actua

[JAVA3D] RotInterpolator and SetAxisOfRotation

2000-01-23 Thread Marina Santana
Hi all,   I´m trying to rotate an polyedron over the Z-axis. RotInterpolator works only for rotations over the Y-axis. Can someone explain me how does SetAxisOfRotation work? And how can I do rotations over more than one axis at a time?   Thanks,   Marina Santana  

[JAVA3D] BoundingPolytope

2000-01-23 Thread Dean Keeler
Hi,   Can anyone tell what the difference between BoundingBox and BoundingPolytope is?  I'm trying to write a collision routine that will work with some complex shapes.  For example:  a rectangular block with two pins sticking out of it.  Is there a way to do this?   thankyou for your time