e similar results.If mul has been used to combine these
with each other or with other there is no clear single angle of rotation
Peter S.
- Original Message -
From: "Rolf Gabler-Mieck" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 26, 2004 2:27
Hello Java3D-fans,
I have the instance of a Transform3D from a TransformGroup.
How can I get the rotation angle ? I search something like getRotX ?
Any solutions?
C. Ratsch
===
To unsubscribe, send email to [EMAIL PROTECTED]
Prof.C.Ratsch wrote:
Hello Java3D-fans,
I have the instance of a Transform3D from a TransformGroup.
How can I get the rotation angle ? I search something like getRotX ?
Any solutions?
C. Ratsch
===
To unsubscribe, send emai
ahmet balci wrote:
Hi,
I am trying to make a rotation around x axis which is following the
rotation around y axis (of a plane object).
I wrote the following code piece for this purpose;
trans.rotY(0.5);
trans.rotX(1.2);
trans.setScale(0.007);
worldTrans.setTransform(trans);
To: [EMAIL PROTECTED]
|
| cc:
|
| Su
Hi,
I am trying to make a rotation around x axis which is following the rotation around y axis (of a plane object).
I wrote the following code piece for this purpose;
trans.rotY(0.5);
trans.rotX(1.2);
trans.setScale(0.007);
worldTrans.setTransform(trans);
"trans" is
Thank all of you that helped me.! I will look into the code repository.
I have tried several ways but the rotation around (0,1,0) seems to be
around the moved y (after a rotation around x, the local y changed). I did
use Transform3D.setEuler().
What I like to have is after I rotate around x for a
moving camera. You might not want to force the
wings level. I'm not allowing roll in this application.
Mike Shantz
- Original Message -
From: "Dipl. Ing. Paul Szawlowski" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 26, 2002 11:53 P
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, November 27, 2002 8:53 AM
Subject: Re: [JAVA3D] rotation problem
> Lan Wu-Cavener schrieb:
> > Hi, every one:
> >
> > I have the following rotation problem. What I need is to rotate the
> > ViewPlatform
Lan Wu-Cavener schrieb:
Hi, every one:
I have the following rotation problem. What I need is to rotate the
ViewPlatform around its local x axis and local original y(0,1,0), or the
vector (0,1,0) in the local coordinates. Could anyone please help to figure
out how to make it work.
Thanks in adva
Hi, every one:
I have the following rotation problem. What I need is to rotate the
ViewPlatform around its local x axis and local original y(0,1,0), or the
vector (0,1,0) in the local coordinates. Could anyone please help to figure
out how to make it work.
Thanks in advance!
Lan
Lan Wu-Cavener
To follow up:
yaw = angle about Z
pitch = angle about Y
roll = angle about X
If this doesn't work then you need code for RPY Euler sequence.
josh
==To
unsubscribe, send email to [EMAIL PROTECTED] and include in the body
o
Hi Vincent,
I've struggled with Euler angle problems before. I have a set of routines for
converting. Check the computeYPRRotationMatrix() function below. If it produces the
same rotation matrix as your sequence (which I think it will), then the other function
will produce your Euler angles fr
Hello,
I build a rotation matrix from the 3 rotation angles
( Rotation around X axis, rotation around Y axis and rotation around
Z axis).
I want to know if it is possible to retreive those
angle from a rotation matrix ( the other way arround ) ?
Thank you all,
Vincent St-Amour
> how ratation a cube in the left side of the screen ?
>
> I with him rotate in the center of scene
>
Translate to origin, rotate, then translate back.
See section 5.01 of http://www.faqs.org/faqs/graphics/algorithms-faq/
Simeon
=
how ratation a cube in the left side of the screen ?
I with him rotate in the center of scene
[]'s
J.P.
===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTERES
Sent: Thursday, February 21, 2002 12:48 AM
Subject: [JAVA3D] Rotation (rotX, rotY, rotZ)
> Hi!
> My problem is, I'm sure for you experts its very simple, but I can't find
my
>
> way out...
>
> I use three buttons to control the rotation of an object (rotX, rotY,
rotZ).
&
Hi!
My problem is, I'm sure for you experts its very simple, but I can't find my
way out...
I use three buttons to control the rotation of an object (rotX, rotY, rotZ).
First it works fine, but after some "Button-Clicks" the object disappears.
Why??
Thanks
Norbert
sourcecode:
case ROTATE_Y:
Hi there,
i recently accountered a stability problem of my app on some graphics cards.
The log looks like this on and ATI mobility and Java.1.2.1_03:
**
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred a
geometric requirement or
if it just fixed a problem du jour.
HTH,
Fred Klingener
Brock Engineering
- Original Message -
From: "Saurabh Akhauri" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 29, 2002 3:38 AM
Subject: [JAVA3D] rotation about a
I want to have customised rotation behaviour
that rotates the view platform around a specified
axis.
I have been trying things with orbit behaviour
but not much succesful yet
all i have been able to achieve till now is the
rotation about the center point of specified axis
by changing the rotation
Hi,
I'm trying to create an application that displays a Shape3D object using a
triangle strip array. The program works but I have encountered some
problems along the way.
When I try to rotate my Shape3D object (using the PickRotateBehavior), the
object seems to rotate around the wrong axis. Wh
"kani A." wrote:
>
> Dear friends
>
>Iam a beginner in learning java3D, I have a doubt about the rotation please help
>to understand it. Actually I rotate a object around yAxis , I want to tilt the axis
>of rotation to certain degree. I don't have idea . please anybody help me.
Rotations i
Hi there!
You should place a transformgroup just above the shape you want to tilt.
Thats where you'll apply the desired rotation.
If you are using a behavior to rotate the object around the other one,
the behavior is placed above the first transformgroup.
This way, no matter what transforms you ap
Thanks for the reply, I know we can rotate in any axis ..what I mean is
tilting the axis of rotation to 45o. I have a object in the origin and
another one rotates around it. I want to give some inclination to the
rotation. please help me.
kani
===
kani
you can rotate it on any axis.. not just the yAxis..
i think you are a little confused : )
- ben
- Original Message -
From: "kani A." <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 17, 2001 6:07 AM
Subject: [JAVA3D] Rotation
>
Dear friends
Iam a beginner in learning java3D, I have a doubt about the rotation please help
to understand it. Actually I rotate a object around yAxis , I want to tilt the axis of
rotation to certain degree. I don't have idea . please anybody help me.
Thankyou in advance
kani
=
I want to generate an event or to do something when
the animation generated by a Rotation Interpolator behavior ends, is it
possible? How could I do?
thanks everybody for your help, and sorry for my
english.
Change the face culling policy (default is backface culling) to CULL_NONE in a
PolygonAttributes object and add it to the Appearance object of your textured
object.
Vidya Sagar schrieb:
> Hi,
>I created a polygon and mapped an image onto it.
> Now I used RotationInterpolator class to rotate
Hi,
I created a polygon and mapped an image onto it.
Now I used RotationInterpolator class to rotate the
image continuosly. My problem is, I could'nt see the
image always, instead I could only see a blank screen
for some time and after some time the image again
reappers. This means that I could
Hello!
I'm using two cylinders (A and B) with a high of 3.0 which are connected to
each other (I'm using the Cylinder-class). Now, I want to rotate the second
cylinder (B). Of course, without any translation the cylinder B will be
rotated in the center - which is not what I want to have. Instead,
Hi,
I have the following problem.
I want to write code that would make an object (eg Color Cube class defined
in the utility classes) rotate about the X -axis.I tried customizing the
RotationInterpolator with appropriate Transform3D objects, but nothing seems
to work. Whatever I do, rotation abo
Hi everybody,
my 3D-objects are created far away from the origin, somewhere around +x
and -z
coordinates. The objects are clipped by a ModelClip plane
plane = new Vector4d(crossVector.x,crossVector.y,crossVector.z,dist);
It is parallel to the x-Axis and has a significant distance.
My scenegrap
Thanks for those links.. and have had a quick read. I think the FAQ
covers all the matrices I need!
Just one further quick question given that this (taken from the FAQ) is
the final matrix I need:
| CE -CF D 0 |
M = | BDE+AF -BDF+AE -BC 0 |
| -ADE+BF AD
If you are able to create the geometry of the objects yourself then you
could use 1 geometry array for all of the objects.
In the case of 200 cubes:
Use a QuadArray with 200*6*4 coordinates (numCubes*facesPerCube*coordinatesPerFace)
.
Use Transform3D to perform the rotations and tr
transformGroups??
Regards,
Spencer
-Original Message-
From: Discussion list for Java 3D
API [mailto:[EMAIL PROTECTED]] On
Behalf Of Kevin Williams
Sent: 29 August 2001 19:29
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] Rotation
Matrix
Use 2
transforms, one to translate and one to do
9 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [JAVA3D] Rotation Matrix
>
> Use 2 transforms, one to translate and one to do the rotation. Then you
> can use the rotX, rotY, rotZ. Also every time you move the object, you
> don't have to also rotate it (the rot
API [mailto:[EMAIL PROTECTED]]On Behalf Of Spencer
GohSent: Wednesday, August 29, 2001 10:54 AMTo:
[EMAIL PROTECTED]Subject: [JAVA3D] Rotation
Matrix
Could anyone point me to a website
which explains the matrix transforms for rotations. I need to do various
rotations about a point
Could anyone point me to a website which explains the matrix
transforms for rotations. I need to do various rotations about a point, not
necessarily the origin. At the
moment I’m computing them by hand using standard trig equations but
I’m certain there is a nice neat was of putting it all
/onlineTraining/
http://java.sun.com/docs/books/tutorial/
Have fun!
Cheers,
Mona
> Date: Fri, 20 Jul 2001 09:20:36 +0200
> From: Riana Karsten <[EMAIL PROTECTED]>
> Subject: Re: [JAVA3D] Rotation
> To: [EMAIL PROTECTED]
>
> As I start with Java3D I have read the whole T
On Fri, 20 July 2001, Riana Karsten wrote:
>
> As I start with Java3D I have read the whole Tutorial from Sun, but it
> doesn't help me much, because I have no skills in other programming
> language. Maybe it would be everything much easier if I have knowledge in
> Java or C++, but I haven't. So a
As I start with Java3D I have read the whole Tutorial from Sun, but it
doesn't help me much, because I have no skills in other programming
language. Maybe it would be everything much easier if I have knowledge in
Java or C++, but I haven't. So and this rotation is only just for fun,
because I am a
On Thu, 19 July 2001, Riana Karsten wrote:
>
> How to create a rotation by a sphere?
>
>
I suggest you have a look at RotationInterpolator and
alphabetically folowing in the Java3d API documentation
and read the chapter on animation in the tutorial as
well. Then comparing with example included in
Sent: Thursday, July 19, 2001 2:05 AM
Subject: [JAVA3D] Rotation
> How to create a rotation by a sphere?
>
>
===
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message &qu
How to create a rotation by a sphere?
===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the
I think it´s a simple Problem
You make a simple Rotate of your Object.
And without translation it normaly rotates in the
origin.
coords[0] = new Point3f(0.f,0.f,0.f);
coords[1] = new Point3f(0.f,1.f,0.f);
coords[2] = new Point3f(0.f,1.f,1.f);
coords[3] = new Point3f(0.f,0
HI Members
I have problems with rotation of object about its own
center rather than the origin. I took an example from
this board. It works with real fine with primitives.
But if I create two lines with "Test" class, it no
more rotates about it's center. Can Someone look at
these codes and hel
Hi:
I need to rotate and zoom about the centroid of the objects which isn't
at the origin. How can I accomplish this using the MouseRotate and MouseZoom
classes? Any sample code or pointer to docs will be greatly appreciated.
I've posted this before but didn't see any response
Rich Gold wrote:
> Is there a method for rotating an object around an arbitary point in space?
Or one
> vertix of the object (as opposed to its center)? In VRML you could set the
center - I
> can't seem to find it in J3D (but I'm sure its there!)
There is diffrent ways you could do this, It depen
Rich,
I have just had to solve this problem and would suggest looking at the UI
framework located here :
http://www.manning.com/Barrilleaux/
The ones you are interested are /navigating/oribtcamera.java
The ebook probably wouldnt be a bad idea either...
Hope that helps,
N
> Is there a meth
Is there a method for rotating an object around an arbitary point in space? Or one
vertix of the object (as opposed to its center)? In VRML you could set the center - I
can't seem to find it in J3D (but I'm sure its there!)
Thanks,
Rich Gold
===
Hi,
I am using the NCSA portfolio posted on your website and it gives very
interesting results. But I don't know how to rotate the DXF image once I
have loaded it in my software. I was wondering
if you have any function to rotate the image by say "x" degrees assuming I
have a button on the NCSA Di
Whenever you use Mose Rotations, does the view
change or is it fixed and the object moved?
Zak
I am trying to have a cone always follow a path in the same direction. I
always want the point to be facing straight along the path. Can anyone help?
THankz,
Zak
===
To unsubscribe, send email to [EMAIL PROTECTED] and includ
t; __ Reply Separator _
>
> [EMAIL PROTECTED]
> 25/10/2000 10:44:00
>
> To: [EMAIL PROTECTED]@internet
> cc: (bcc: Hans RAKOTOMANGA/ress/fr/socgen)
> Return Receipt: No
> Importance: Normal
>
> SUBJECT: Re: [JAVA3D] Rotati
Hi Boris
I have tried what you said but it doesn't work. when I try to rotate
the object it seems to want to rotate (jerk) but it comes again to
the initial position. may be I have something wrong. I changed the
processStimulus(Enumeration enumeration) methode of the MouseRotate classe
as foll
t: No
Importance: Normal
SUBJECT: Re: [JAVA3D] Rotation Matrix
Hi Mohammed!
It is esier then you describe.
The A matrix is actually constant. The center of the object should be
calculated only once, when the object is just created , and no
transformation is aplied to
it yet.
All further transformation
Hi Mohammed!
It is esier then you describe.
The A matrix is actually constant. The center of the object should be
calculated only once, when the object is just created , and no
transformation is aplied to
it yet.
All further transformations are present in T matrix, so what this formula
does is f
Hi Boris,
I unterstand now what you mean.
to get the A matrix I can use the BoundingBoxcenter Ok , but when the user translate
the object again I would have to get the new Center and to calculate the new A matrix
again(I am using the MouseRotate, MouseTranslate and MouseZoom classes)I think it
wou
Hi,
maybe I can help by describing what my scenegraph looks like:
The ViewBranch looks like this:
LOCALE
|
BG
|
TG - only translation to Point of Interest
|
TG - Z-Rotation
|
TG - Y-Rotation
|
TG - X-Rotation
|
TG - only translation along z-axis (zoom)
|
ViewPl
-Original Message-
> From: Mohammed Akacem [mailto:[EMAIL PROTECTED]]
> Sent: dinsdag 24 oktober 2000 15:27
> To: [EMAIL PROTECTED]
> Subject: Re: [JAVA3D] Rotation Matrix
>
> Hi Boris,
>
> my point is that I don't want to translate the object to the origine because
> my
Hi Mohammed!
I do not think that what you are sying is possible,
but the way I suggested you need to calculte the matrix
T*A*R*A^(-1)*T^(-1)
first and then multiply the transform attached to your object by this
matrix as a single operation. In that way you perform only one
multiplication
by th
[mailto:[EMAIL PROTECTED]]
Sent: dinsdag 24 oktober 2000 15:27
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] Rotation Matrix
Hi Boris,
my point is that I don't want to translate the object to the origine because
my
objects kann have 500.000 triangles or more( and that will cost me too much
time
Hi Boris,
my point is that I don't want to translate the object to the origine because my
objects kann have 500.000 triangles or more( and that will cost me too much
time). Until now I have translated my objects to the origine and it works fine(
and that is done with the A Matrix you suggest I sh
Hi!
You need to perform the following transformation:
T*A*R*A^(-1)*T^(-1)*M
where
M is your object
T is the object's transform that holds all bthe transformations performed
on the object till now.
A this matrix brings the center of the object to (0,0,0) if the object was
not originally crea
Hello,
can someone please tell me how to calculare the Rotation Matrix. the
rotation should rotate a Shape3D object whose boundingbox center is not
at (0.0,0.0,0.0) but I still want to have the same effect as if the
obejct is at (0.0,0.0,0.0).I too translate the view so that the camera
is on the
First of all, thanks to Carl and Niklas for thier hints and help.
I ended up with the following approach. (Which seems to work in all the
test data I can find.)
The folloing code/math/hidden errors is/are GPL. Use/abuse as you feel the need.
This started out as the "Arrow" class I found on j3d.o
Hi !
I haven't tried this, so it might not work ...
> And what I want to do is, create a standard "arrow" inside a transform
> group and translate it to the midpoint of A and B, and rotate it such
> that it "points" at B.
// create the transform group to place the arrow in
TransformGroup arrowT
John R,
At 22:13 11.08.00 , you wrote:
>I have two cylinders (pipes actually) that I'm trying to draw an "arrow"
>between to show flow direction. So, what I really have is 2 3D points.
>(Transformation matricies actually, but only containing translation.)
>
>Call these two points, A and B.
>
>An
I have a problem I'm trying to figure out here. I can see intuitively how
to do it but not mathmatically.
I have two cylinders (pipes actually) that I'm trying to draw an "arrow"
between to show flow direction. So, what I really have is 2 3D points.
(Transformation matricies actually, but only c
thanx ipsita..
But i want an example in which the object rotates exactly the same way as is
provided by the
PickRotateBehavior()...
That's the object should rotate dynamically within "mousebuttondown" and
"mousebuttonup". And not
in steps on "mousepress".
ashish
ipsita trim wrote:
> At
Attached is a simple behavior that makes a 3d object
rotate on the y-axis on clicking the mouse.
--- Ashish Tayal <[EMAIL PROTECTED]>
wrote:
> hello,
>
> Can anyone send me an example of creating a
> Simple behaviour in which
> a 3-D object rotates using a mouse ( i.e. between
> mousebu
hello,
Can anyone send me an example of creating a Simple behaviour in which
a 3-D object rotates using a mouse ( i.e. between mousebuttonup and
mousebuttondown)..
I don't want to use the default behaviours..
Ashish
==
thanks for the help with my problem of the objects size.
But by the way, I have another, and far away, problem that is how can I know
the rotation of an object (the 3 x,y,z angles)?
Of course I can change the rotation at the transform, but is there an
inverse way?
thanks in advance,
Javi
Radar, M
<<<<<<<<<<<<<
From: Sterling Wright [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 22, 2000 8:36 PM
To: [EMAIL PROTECTED]
Subject: [JAVA3D] Rotation about a target
Hello all,
I am new to Java and graphic programming, and am trying to rotate the
ViewPlat
> -Original Message-
> From: Sterling Wright [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, March 22, 2000 11:36 PM
> To: [EMAIL PROTECTED]
> Subject: [JAVA3D] Rotation about a target
>
> Hello all,
>I am new to Java and graphic programming, and am trying t
Hello all,
I am new to Java and graphic programming, and am trying to rotate the
ViewPlatform around a lookat point. I have the correct Matrix4d setup for
rotation about the X, Y and Z axis but don't know how to use it in Java3D?
The steps I take are:
1) Construct the Matrix4d and initialize i
Hello,
I would like to know how to transform a rotation defined with
3 angles (in degrees) into a rotation defined with a vector and
1 angle (in radian), as we can find in the rotation field ?
Transform
{
rotation 0 0 1 0.66
children
[
-Original Message-
From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: 11 January 2000 16:13
Subject: [JAVA3D] Rotation problem
>Hello
>
>I have a problem, I want to rotate a object around a point. If I use the
RotX,
>RotY... my obj
Hello
I have a problem, I want to rotate a object around a point. If I use the RotX,
RotY... my object rotate around a axis located in the middle of this object. I
want to rotate this object around a axis locate in the extreme.
How can I specified the position of the rotation axis?.
My program
I'm Very sorry!!! I confused MouseNavigator behavior with KeyNavigator
one. It is the last that has a bug for sure. As to the former one, i'm
not sure at all. Possibly everything just OK with it, possibly it has
the same bug too. David has a nice tutorial where in all examples
MouseNavigator class
Yes, i guess so. Or u can register listeners (like it's done in
utils MouseNavigator or KeyNavigator) and translate the event to them.
The latter way is more convenient and could be easily extended or
reused. But certainly that depends on the goal.
vladimir
-=V=-
>---<===
Hi,
I would be grateful for some pointers on this. The mouse behavior class
has a method processStimulus(...) would i over ride this method and put
the rotation in here, like when writing normal listeners ?
Cheers
Dave
Vladimir Olenin wrote:
>
> Do u use that default MouseNavigator class in u
Do u use that default MouseNavigator class in util package? I guess u
do. Don't. There is a bug there and as far as i can recall it, Doug
posted some workaround here a couple of months ago. But anyway, u can
handle MouseEvents yourself - just right the appropriate Behavior
class.
vladimir
Hi everyone,
I have myself a scene, it is fine. I have added 3 mouse behaviours to
it. to rotate, translate and zoom. The zoom and translate work fine,
but the rotation behaviour just send s the scene straight out of the
window. It does not appear to be rotating around the origin, which
would
> > If I understand you correctly what you want is for a Vector3d to be
> > facing the same direction. Do you want the vector in local or world
> > coordinates?
> >
> > Assuming local coordinates then you could build a Transform3D using
> > your axis angle and then use it to transform a vector po
- Original Message -
From: Jon Barrilleaux <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 16, 1999 9:29 AM
Subject: Re: [JAVA3D] Rotation
> If I understand you correctly what you want is for a Vector3d to be
> facing the same direction. Do you
If I understand you correctly what you want is for a Vector3d to be
facing the same direction. Do you want the vector in local or world
coordinates?
Assuming local coordinates then you could build a Transform3D using
your axis angle and then use it to transform a vector pointing along
the -Z axi
Hi,
I've set up a Transform3D to rotate an object using
a AxisAngle4d(used in setRotation metod) ,there is a way to create a Vector3d
facing the same thirection?
I need this vector to translate the object in the direction is
facing.
89 matches
Mail list logo