Hi Ben,
At 16:58 06.09.00 , you wrote:
>im getting a strange exception (non congruent transform above
>viewPlatform) when setting a transform3d to a transformGroup did any one
>encounter it before ? i will be happy to supply extra explanations for
>what im doing before that exeption or send an exmple code if you think it
>can help you figure out whats going on.
I've seen an answer to this from Matti (sp?) but there might also be
another explanation. I have had a similar problem before.
The key words are "above the View platform". I usually use
Transform3D.lookAt() to point my View where I want to look.
lookAt() requires, among other things, a vector which tells
the rest of the plumbing where I think "up" is (usually 0,1,0).
Given an "up" vector pointing in the +Y direction, I'm not allowed
to "look" in that same direction. The "up" vector specifies which
way will be "up" on my screen, and if I look in exactly this direction,
any screen view rotation will be equally valid, or wrong, so J3D
doesn't let me do this.
In other words, I would guess you're trying to look straight up.
This, and (I think) straight down, are not allowed. If you really
want to look in this direction, then change the direction of the
"up" reference vector before you look there.
I'm sure this could be explained better, but at least it should
give you some idea.
-Carl-
===========================================================================
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 body of the message "help".