Question is: have you tried?
if you test the barycentric class, and simply read the uv it returns, you are 
there.

also, if you use Skybox, you mean that you have a map divided in 6, so if you 
would use Cube with map6 prop true instead and set a mouseevent3d listener, 
on mouse down you would get the uv's back with zero brain damage ;)

Fabrice

On Apr 11, 2011, at 12:49 AM, juju wrote:

> Hi everyone,
> First of all sorry about my poor english.
> 
> I'm having trouble to create hotspots over a panorama made with a
> Skybox.
> This is the first time I use away3d and tutorials by Rob Bateman was
> very clear and helpfull.
> 
> But for those "hotspots" that I'm trying to create, I've absolutly no
> idea how to do this.
> I've found this thread where Omar Fouad, I think, was having the same
> troubles..
> 
> http://markmail.org/message/e5dzjbjk7otmwcfb
> 
> And Fabric3D posted a reply:
> 
> "Using the Ray class you would indeed with the projection of two rays
> get your uv's coordinates and via barycentric formula from the faces
> hitted extract a rectangle. The defined rect could then be compared
> with your mouse3devent... the hard way.
> 
> Simplest way would certainly be to define 2d rect on map. the
> mouseEvent3D returns you the uv's, define a Point from these x,y
> extracted from the uv's and a simple PointInRect would tell you if you
> have a hit. "
> 
> But.. I didn't understand a word.. :(
> 
> Please, anyone ideas ?

Reply via email to