No description
f477a4603b
Actually, I think I'm off the hook here; the problem is pre-existing. What's happening is that the x/y offsets enter the modelview matrix at line 346 in the current panel.cxx. But note that the same transformation also occurs before each instrument rendered at line 403. What's happening is that the instruments are double-translated relative to the background. Unless I'm not understanding something, the one inside the instrument render loop looks unnecessary. Removing it fixes the issue and doesn't cause any bugs that I can find. It also fixes a bug where you could scroll the instruments on top of the 3D panel, where the offsets are supposed to be ignored. :) Attached is a new panel.cxx which fixes that bug, and substantially simplifies the virtual panel code (the matrix inversion that I thought was needed wasn't, but there were some offsetting scale bugs that hid the problem). |
||
---|---|---|
docs-mini | ||
man | ||
package/mandrake | ||
src | ||
tests | ||
.cvsignore | ||
acconfig.h | ||
acsite.m4 | ||
am2dsp.cfg | ||
AUTHORS | ||
autogen.sh | ||
ChangeLog | ||
config.guess | ||
config.sub | ||
FlightGear.dsp | ||
FlightGear.dsw | ||
irix-hack.sh | ||
Makefile.am | ||
NEWS | ||
README | ||
Thanks |
Welcome to the FlightGear Flight Simulator project. =================================================== The primary web page for this project is: http://www.flightgear.org For basic installation instructions see the "INSTALL" file. Before you can run FlightGear you will also need to download and install the "base" package which is a collection of textures, sounds, sample scenery, and other data files need by the sim. For additional install help for specific platforms please browse the "docs-mini/" subdirectory. More complete documentation is available from our web page as a separate distribution. Please take a look at the "Thanks" file for a list of people who have contributed to this project. If you have contributed something but don't find your name in this file. Please send a polite reminder to curt@flightgear.org For a summary of changes/additions by version see the "NEWS" file. This project is GPL'd. For complete details on our licensing please see the "COPYING" file. For information on available mailing lists, mailing list archives, and other available source code and documenation, please visit our web site. FlightGear is a product of the collaboration of large international group of volunteers. FlightGear is a work in progress. FlightGear comes with no warrantee. We hope you enjoy FlightGear and/or find it of some value!