Hit testing by bounds and points

Software: Away3D 4.x

TomByrne, Newbie
Posted: 26 October 2011 06:32 AM   Total Posts: 11

I have a workspace where users should be able to drag a rectangular marquee over the Away3D view to select different 3D items.

I would like to be able to determine the nearest 3D object at an arbitrary point on the View3D (i.e. not the mouse position), and also I would like to be able to work out a percentage of a 3D object’s silhouette which is covered by an arbitrary rectangle.

The HitTestRenderer seems to contain much of this functionality but I’m at a loss as to what each of the Program3D objects are actually rendering.

Any tips would be greatly appreciated.

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X