NO ISSUE! I've found the problem!
it was in my onEnterFrameHandler!
BEFORE (bad!):
private function onEnterFrameHandler(e:Event):void {
//object transformations
transformObjects();
updatePivotPoint();
//view
view.render();
}
AFTER (good!):
private function onEnterFrameHandler(e:Event):void {
//view
view.render();
//object transformations
transformObjects();
updatePivotPoint();
}
On 12 Apr., 22:16, Vatrobot <[email protected]> wrote:
> Hi,
>
> I have a camera (perspective lens assigned) + a cube.
> Doing 'camera.viewProjection.clone()' anywhere in code results in view/
> object/camera distortion.
>
> is this an issue?
>
> to picture the problem:
>
> case1:
> no distortion ---> 'viewProjection' being cloned from a camera-dummy
> (nor added to view, but same specs as used
> camera):http://www.vatrobot.de/molehill_broomstick/pics/no_distortion.jpg
>
> case2:
> strange distortion ---> 'viewProjection' being cloned directly from
> used camera (added to view and used for
> rendering):http://www.vatrobot.de/molehill_broomstick/pics/strange_distortion_af...
>
> I'd be glad to get this issue confirmed if it is one.
>
> Thanks!
> Vatro