Colbey
22-02-2007 15:37:06
I have been experimenting with Cameras and have come across 2 major problems that are stopping us from proceeding. Firstly the initial rotation set on the camera is not the same as the first keyframe. As you can see in the piece of code i've extracted from the OSM.
This is quite a major thing because if i've got a camera with no keyframes on the rotation is completely out. This leaves us no ability to quickly move from one camera to another.
The second thing is that Ofusion doesn't export the roll animation on cameras. by changing the roll value in max u can simulate the effect but as soon as i try to keyframe or pick a value other than 0 it resets.
Any ideas on what is causing either of these? ways to fix it? or are these bugs in Ofusion?
Cheers
Nick
<cameras>
<camera name="Camera_Act1" FOV="0.785398">
<position x="2.53722" y="1.65001" z="-2.90794" />
<rotation x="-0.730794" y="0.215008" z="-0.265987" w="-0.59073" />
<scale x="1" y="1" z="1" />
<clipPlane NEAR="0.5" FAR="500" />
<animations>
<animation name="Scene1" loop="false" length="15">
<keyframe time="0">
<position x="2.53722" y="1.65001" z="-2.90794" />
<rotation w="0.934459" x="0.0990402" y="-0.340115" z="0.0360477" />
<scale x="1" y="1" z="1" />
</keyframe>
<keyframe time="0.0666667">
<position x="2.54047" y="1.65001" z="-2.91155" />
<rotation w="0.934487" x="0.0988592" y="-0.340098" z="0.0359789" />
<scale x="1" y="1" z="1" />
</keyframe>
<keyframe time="0.133333">
<position x="2.55017" y="1.65001" z="-2.92231" />
<rotation w="0.934569" x="0.0983284" y="-0.340048" z="0.0357773" />
<scale x="1" y="1" z="1" />
</keyframe>
<keyframe time="0.2">
<position x="2.56625" y="1.65001" z="-2.94017" />
<rotation w="0.934701" x="0.0974661" y="-0.339966" z="0.0354501" />
<scale x="1" y="1" z="1" />
</keyframe>
</animations>
</camera>
</cameras>
This is quite a major thing because if i've got a camera with no keyframes on the rotation is completely out. This leaves us no ability to quickly move from one camera to another.
The second thing is that Ofusion doesn't export the roll animation on cameras. by changing the roll value in max u can simulate the effect but as soon as i try to keyframe or pick a value other than 0 it resets.
Any ideas on what is causing either of these? ways to fix it? or are these bugs in Ofusion?
Cheers
Nick