RSS Follow me on Facebook Follow me on Twitter
to home page

Papervision3d: Finding 2D coordinates of a 3D object

Papervision3d is probably the most popular 3D flash engine. There are dozen of applications/sites that use it. These days I also decided to create a 3D effect in my portfolio site. Everything works fine, but I needed a tooltip for each of the 3D objects on my scene. To be able to animate everything I needed 2D coordinates of all my 3D elements.

Actually the solution was very easy. I used the "screen" property of my objects. Here is an example (check lines: 59,60):
Download the source files from here.
Check the result here.

Your name: add your comment here
Email:
Papervision3d: Finding 2D coordinates of a 3D object Leave this field blank if you don't want to receive notifications about this article.
Website:
Papervision3d: Finding 2D coordinates of a 3D object Will be published below your name. Should start with 'http://'.
Comment:
10 + 9 =
send