Away3D + Starling Interoperation / 2D Screen Coords delayed

Software: Away3D 4.x

liquid, Newbie
Posted: 25 April 2014 11:11 AM   Total Posts: 8

Hi,

I have a Starling/Away3D Interoperation setup with two Starling Layers (Background, Foreground) and a 3D Scene Layer between both.

In the foreground layer I am positioning a Starling Asset in relation to the scene position of a 3D reference object via “view3D.project(myVector3D)”.

This works like a charm - but, in difference to older projects where I used this, the calculated 2D position seems to be delayed by a frame or so now.

Do you have an idea where to start? Could it be the render order?
Thanks in advance!

___
Away3D 4.1.6, Starling 1.4

 

   

liquid, Newbie
Posted: 29 April 2014 02:36 PM   Total Posts: 8   [ # 1 ]

At first,
sorry for the double post ...

I could solve my problem and it was not related to one of both frameworks.

It has been the order of the instantiation and registration of the related mediator in the architecture. So the calculated position was really rendered one frame delayed.

Cheers

   

Avatar
miyijura, Newbie
Posted: 19 May 2014 11:54 PM   Total Posts: 6   [ # 2 ]

Can you post your solution please?
Some example code will be great!
Regards!

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X