Jim Wilson wrote: > I think #2 is solvable just by scaling and shifting the 2D panel > according to the offsets (the 2D panel is already scaled).
The right solution here is to put the panel into the scene graph. Then you just provide 3D airframe coordinates for the panel corners and it maps without difficulty, regardless of the mechanism you pick for offsets. This is a little complicated, as the current panel renders itself in immediate mode. It's geometry graph is implicit in its data structures; it's not made up of ssg nodes. But I believe you *can* write an ssg node that does its own rendering via a draw() method, right? Really, this is the Right Thing to do. Integration with the scene graph will go most or all of the way toward solving all four of these problems, and is more robust than any of the individual hacks proposed. 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
