Re: [Plib-users] Selecting with mouse
Brought to you by:
sjbaker
From: David M. <da...@me...> - 2002-09-28 14:38:09
|
Steve Baker writes: > PLIB wasn't ever designed to do this - so it's not a simple > mechanism and it's not documented - if you want to do it, you'll > *HAVE* to read the PPE sources. > > I'm sorry if that's not convenient - but like I said, PLIB wasn't > designed with this kind of thing in mind. It's not a matter of convenience -- after two hours with the PPE sources, I was scarcely any more enlightened than I am now. We've already begun this discussion, but it's worth repeating that this should be core functionality for a scene-graph API -- any 3D editor or any game or simulation that allows the user to interact with the scene graph using the mouse (i.e. to manipulate objects) will need to do this. If someone can explain what I need to do, I'll be happy to contribute an ssgSelect() function so that we won't have to rehash this thread in the future: ssgEntity ** ssgSelect (ssgRoot * root, ssgContext * context, int mouse_x, int mouse_y); (or something similar.) All the best, David -- David Megginson, da...@me..., http://www.megginson.com/ |