Hi,
following code-snipped delivers a strange result:
System.out.println(Math.toDegrees((new
Quat4d(0,Math.toRadians(148),0,1.0)).y));
Instead of 148 the value of y is equal to 57.29577951308232. What happened
here? And how can I get the value of 148 out of this quaternion?
Michael
--
http://www
The result is right.
when you create a Quartenion the values are normalized
among x,y,z and w.
There are some alghoritms in the web to convert a
Quaternion to Euler angles (X,Y,Z), but be careful .
Some algorithms fails to map the 4D quaternion values
to 3D Euler at specific ranges.
Of course I a
Hello dude
I am a new programmer in J3D. Actually I am busy trying to use file loaders
I have some 3D studio image files and I would like to use them in J3D
animation.
Does anyone can send me a nice example about using loaders for 3D shapes.
I'll appreciate any help.
Greetings
-Original Mess
"The one" example you're looking for doesn't exists. It depends on the
loader you use. There is a standard loader interface but not all loaders
use it. Some loaders are listed at
http://java3d.virtualworlds.de/loader.php
On Fri, 27 Feb 2004 17:08:10 +0100, Ghislain DZOU <[EMAIL PROTECTED]> wrote:
OK thanks, I'll search for such a conversion routine
On Fri, 27 Feb 2004 12:21:51 -0300, Alessandro Borges
<[EMAIL PROTECTED]> wrote:
The result is right.
when you create a Quartenion the values are normalized
among x,y,z and w.
There are some alghoritms in the web to convert a
Quaternion to Euler
Hello
> I am a new programmer in J3D. Actually I am busy trying to use file loaders
> I have some 3D studio image files and I would like to use them in J3D
> animation.
"animation" may be a problem, but first things first:
copied from the doc of the Starfire-3ds-Loader from John Wright (works
pe
We were stripifing but found that it crashed our collision detection
(not sure exactly why!).
- John Wright
Starfire Research
pumpkin wrote:
Hello
I am a new programmer in J3D. Actually I am busy trying to use file loaders
I have some 3D studio image files and I would like to use them in J3D
anim
Hi,
My problem is like this. I have minx, maxx, miny, maxy , minz, maxz values
of a goemetry that needs to be rendered.
I do not know how to set the perspective projection for the view object.
Does anybody have code snippets which explains this?
I just want my application to able to view any geo