I don't know if this will help, or the way you want to do it, but you can
try something like this (pseudo code):

sphere.addOnMouseDown(onSphereMouseDown);

 public function onSphereMouseDown(e:MouseEvent3D):void
    {
            var myx= e.sceneX;
            var myy = e.sceneY;
            var myz = e.sceneZ;
            trace(myx,myy,myz);
    }

This will return the exact 3D location you can use from where you clicked on
your bitmap.
So you can write these coordinates down, and place the 3D markers there.

Sorry I don't have a more mathmatical solution, maybe someone else does?

Hopefully this helps you.

-Peter


2009/11/20 George Kravas <[email protected]>

> I am doing this at the begining only and then i add the objects in a
> group along with the sphere.
>
> On 19 Νοέ, 16:59, Peter Kapelyan <[email protected]> wrote:
> > Hi,
> >
> > Are you doing this once only (gettign the 3d coordinates), or do you need
> to
> > do this dynamically, and the values will change over time?
> >
> > -Pete
> >
> > On Thu, Nov 19, 2009 at 2:17 AM, George Kravas <[email protected]>
> wrote:
> > > Hello,
> >
> > > I have a texture tha will be applied on a sphere. I want to mark 2d
> > > location cordinates on the texture and then transform them in 3d
> > > space, so they are around the sphere and over the marked locations of
> > > the applied texture.
> >
> > > Is there a way of accomplishing this?
> >
> > --
> > ___________________
> >
> > Actionscript 3.0 Flash 3D Graphics Engine
> >
> > HTTP://AWAY3D.COM
>



-- 
___________________

Actionscript 3.0 Flash 3D Graphics Engine

HTTP://AWAY3D.COM

Reply via email to