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