shareContext = true bug?

Software: Away3D 4.x

busterT, Newbie
Posted: 16 October 2013 10:09 AM   Total Posts: 4

If I use view.shareContext = true I’m not able to track the screen position of an object via view.project(object.scenePosition). Also It seems not to be possible to use the full screen size if switched to full screen. Toggling to shareContext = false solves these issues.

THX

   

John Brookes, Moderator
Posted: 17 October 2013 12:25 PM   Total Posts: 732   [ # 1 ]

try this in View3D project

v.x = (v.x + 1.0) * _width / 2.0 * (stage3DProxy.width / _width);
v.y = (v.y + 1.0) * _height / 2.0 * (stage3DProxy.height / _height);

If that doesn’t fix it post an example on here or preferably gist

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X