All,
I've run into a problem that neither the Java3d examples or the Sun API
reference seem to be able to explain to me and that is how to perform
rotation traansforms. All the examples I've seen either use a mouse event
or an Alpha/Interpolator but all I want to do is just create a
cyli
This is actually very simple.
Suppose you already know the TransformGroup for an object you want to
rotate to a specific angle around the X axis. Lets call this Object
TransformGroup JohnTG.
Transform3D tempT3D = new Transform3D();
(JohnTG).getTransform(tempT3D);
Matrix3d someRotationMatrix =
--- John Nelson <[EMAIL PROTECTED]> schrieb: >
All,
>
> I've run into a problem that neither the Java3d
> examples or the Sun API
> reference seem to be able to explain to me and
> that is how to perform
> rotation traansforms. All the examples I've seen
> either use a mouse event
> or an Al
Thanks...
I tried something similar to this but I instantiated the Transform3d with
the rotation matrix as one of the constructor's parameters. The API
reference says you can do this but it didn't work. I'll try your
suggestion (using setRotation) and see if that does the trick.
Oh, one more q
I think you need to explain this a little more. Getting a rotation from
points would require a little more explanation.
At 08:37 PM 09/30/2001 -0400, you wrote:
>Thanks...
>
>I tried something similar to this but I instantiated the Transform3d with
>the rotation matrix as one of the construct
Well, the rotations that we had discussed before assume that you know the
component angles for each coordinate. In some cases, I know the endpoints
of a cylinder. Don't know the angle that this cylinder makes with any
particular axis. Just know the endpoints. So how would I transform a
pair of
Dear all,
Is there anybody could give me a hint how to write a Java3D program for a
three full screens systems?
I have a PC with 3 video cards & monitors. I would like to try a small
virtual world with left-front-right view, but I am new with Java3D.
Please suggest. Thanks for your help.
Pramu
I think we still need to clear some things up here. First you said you
wanted to rotate an object to a known rotation value, so I showed you how
to use the setRotation method to set the object to an exact orientation
about the XYZ axises. In this case, we just did a SET, we didn't care how
the o
Nope this isn't what I've said. I have as a starting point, a pair of
points in space that define the orientation of an object. Think of them
as the endpoints of a cylinder. The goal is to rotate that cylinder
so that the ends of the cylinder are at the pair of points.
Notice that we do NO
> Date: Mon, 1 Oct 2001 01:57:33 +
> From: Pramual Suteecharuwat <[EMAIL PROTECTED]>
>
> Is there anybody could give me a hint how to write a Java3D program for a
> three full screens systems?
>
> I have a PC with 3 video cards & monitors. I would like to try a small
> virtual world wi
Try this to get a Transform3D that you can use to move your points. You can
then apply the transform to a TransformGroup to rotate you points. Similarly,
you can generate a Matrix3d and move the points before sending them to the
rendering pipeline. That may be more efficient (eg. change the ge
> Date: Sun, 30 Sep 2001 22:54:50 -0400
> From: John Nelson <[EMAIL PROTECTED]>
>
> Nope this isn't what I've said. I have as a starting point, a pair of
> points in space that define the orientation of an object. Think of them
> as the endpoints of a cylinder. The goal is to rotate
Assuming the that the two points you are talking about are going to be the
centers of the top and bottom of the cylinder (this also means the
cylinder's height must be the same as the Pythagorean distance between the
points) then I would attack the problem like this:
Knowing the two points, subtr
Thanks Gary,
I had thought that AxisAngle4d might be one way to achieve the goal, but
I just couldn't see it. I'll have to take a closer look at your example.
Again thanks a lot and all the best...
-- John
Gary L. Graf wrote:
[EMAIL PROTECTED]"> Try this to get a Transform3D that you can use t
Very like Gary's solution!
This is something I'll have to explore and learn from.
Thanks all for the helpful replies
-- John
Mark Hood wrote:
[EMAIL PROTECTED]">
Date: Sun, 30 Sep 2001 22:54:50 -0400From: John Nelson <[EMAIL PROTECTED]>Nope this isn't what I've said. I ha
The Java 3D Frequently Asked Questions list for Monday October 1 2001
This is a posting of topics covered in the Java 3D FAQ. The answers
to these questions are kept at:
http://www.j3d.org/faq
Please consult this list and the web site before asking questions on the
mailing list.
If th
Here are some examples given in following links
http://java.sun.com/products/java-media/3D/collateral/
when I opened the examples zip file. I saw a .JAR file.
If anybody knows how to view the examples please let me know.
thanks..
Hi,
In a model made up of several Shape3D
is there a way in java3D by which i could
get the visibility status of the shape3Ds, i.e,
the given shape3D is visible or hidden from the
viewer due to some other shapes in front of it
regards
saurabh
-
A .jar file is a zip file. You could use e.g. WinZip to unpack it.
regards
Paul
Manish schrieb:
> Here are some examples given in following links
>
> http://java.sun.com/products/java-media/3D/collateral/
>
> when I opened the examples zip file. I saw a .JAR file.
> If anybody knows how to view
19 matches
Mail list logo