Hi Diniden - thanks for your thoughts.

Papervision is more or less just used for automated display and rendering. My problem actually is with math - I still have to calculate the positions of objects in 3D space manually.

What I want to do is take a movieclip object that is embedded within the sphere texture (and of which I can get 2D x,y flash coordinates) and calculate its 3D x,y,z position in relations to the sphere so that I can position another 3d object there.

I've had radians and higher math at some point in past - but unfortunately I just don't remember enough of it. So if you can - please do help out

The problem is just in the following code:

Code:

var w2:Number = MovieMaterial(sphere.material).rect.width;
var h2:Number = MovieMaterial(sphere.material).rect.height;
var l = MovieClip(MovieMaterial(sphere.material).movie).dot.x * (Math.PI/180);
var lo = MovieClip(MovieMaterial(sphere.material).movie).dot.y * (Math.PI/180);
var x = 500 * (Math.sin(l) * Math.cos(lo));
var y = 500 * (Math.sin(l) * Math.sin(lo));
var z = 500 * Math.cos(l);

The first two lines are just to get the width/height of the sphere texture. The second two should get the spherical coordinates and then the final 3 convert those into cartesian coordinates.

Od something along those lines