There was an article on Everyday Flash Blog (http://
www.everydayflash.com/blog/index.php/2008/07/07/pixel-precision-in-papervision3d/)
which covers this in Papervision. The formula used for this was as
follows:

3dobj.z = (camera.zoom * camera.focus) - Math.abs(camera.z)

It relates to the object position rather than the camera position, as
your brief example shows. I'm not sure how similar the cameras are
between Away and PV, but perhaps the article could help?

- Micheal

Reply via email to