Norman Vine wrote: > and you could probably even use the 'hitlist' mechanism almost as is > to do this in an SSG way that would return both the face hit and the > position in that face :-)
This mechanism won't work, unfortunately. The face hit is the panel quad. It is essentially a bounding rectangle, and doesn't exist as geometry anywhere. The geometry that does exist is stuff like dials and needles, is transformed in complicated ways, and therefore isn't very useful for calculating hit positions. We also don't want to be doing this (calculating collisions against every triangle in the panel) for performance reasons. But the core point is valid -- this is essentially a collision detection (or picking -- same thing) problem, and can be solved using all the same tricks. Andy -- Andrew J. Ross NextBus Information Systems Senior Software Engineer Emeryville, CA [EMAIL PROTECTED] http://www.nextbus.com "Men go crazy in conflagrations. They only get better one by one." - Sting (misquoted) _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
