Re: [Plib-users] Selecting with mouse
Brought to you by:
sjbaker
From: David M. <da...@me...> - 2002-09-28 14:05:41
|
Steve Baker writes: > > Does somebody have a good advice? > > Take a good, long look at http://ppe.sf.net > > Nobody is working on that project right now :-( > ...but it does allow you to pick polygons and vertices > out of a ssgLeaf node and to edit it. I found the ppe source complex and unhelpful, so I'll recommend against looking at it if you're already confused. Steve and others have assured me that it's easy to pick the SSG entities under a screen location with existing SSG code. Could someone please explain precisely how? Let's assume that I have ssgRoot * root; and ssgContext * context; Using PUI, I receive a mouse click at x=30, y=50. Now, exactly what C++ code would I use to get the list of ssgEntity objects under that screen location? Thanks, and all the best, David -- David Megginson, da...@me..., http://www.megginson.com/ |