Hi.

That does sound a bit odd, I'll have a look at that. I'm wondering if it might be a case of gimbal lock (see link below).

http://www.youtube.com/watch?v=rrUCBOlJdt4

.andreas



On 8 May 2009, at 14:05, mc wrote:


Hi There,

I'm been having a bit of trouble with the away builder & Cinema 4D.

I setup a simple scene in C4D, with a cube and camera.
I then animated the camera around the cube using an animation track
and keyframed start and end positions over 90 frames (still in C4D).

I then exported the Cinema XML
I also exported a JPEG sequence to make sure the camera  i would
animate in Away 3D matched up perfectly *

The first test I did, the geometry matched up perfectly. (I had to
tweak the zoom on the camera slightly to make it match which was a
minor problem I had with it)

The second test I did was a more complex camera move. and didn't work
so well.

After many hours scratching my head I realized that as soon as I
introduced a "Bank" rotation in Cinema 4D, it went all wrong.

The values for the Away 3D camera's "rotationZ" were exactly the same
as the value for "Bank" in Cinema 4D.

I'm no expert when it comes to the working out of rotationX/rotationY/
rotationZ, and its relation to Heading/Pitch/Bank, but the "Bank" and
"rotationZ" don't seem to relate to each other directly, as it messes
up the positioning.

Am I right in thinking this? if so this may be a bug in the away
builder

Really enjoying Away 3D though :-)

*if you want me into more detail on how I did that i can, but i
basically just spat out keyframe data from Cinema using Xpresso and an
array in AS3, then drove the camera parameters by that array.

Reply via email to