1
0
Fork 0
No description
Find a file
david b53cd9c59f 3D panel support from Andy Ross:
+ The panel(s) are now an first-class SSG node inside the aircraft
  scene graph.  There's a little code added to model.cxx to handle the
  parsing, but most of the changes are inside the new FGPanelNode
  class (Model/panelnode.[ch]xx).

+ The old FGPanel source changed a lot, but mostly cosmetically.  The
  virtual-cockpit code moved out into FGPanelNode, and the core
  rendering has been abstracted into a draw() method that doesn't try
  to set any OpenGL state.  I also replaced the old inter-layer offset
  code with glPolygonOffset, as calculating the right Z values is hard
  across the funky modelview matrix I need to use.  The older virtual
  panel code got away with it by disabling depth test, thus the "panel
  draws on top of yoke" bug.  PolygonOffset is really the appropriate
  solution for this sort of task anyway.

+ The /sim/virtual-cockpit property is no more.  The 2D panels are
  still specified in the -set.xml file, but 3D panels are part of the
  model file.

+ You can have as many 3D panels as you like.


Problems:

+ The mouse support isn't ready yet, so the 3D panels still aren't
  interactive.  Soon to come.

+ Being part of the same scene graph as the model, the 3D panels now
  "jitter" in exactly the same way.  While this makes the jitter of
  the attitude gyro less noticeable, it's still *very* noticeable and
  annoying.  I looked hard for this, and am at this point convinced
  that the problem is with the two orientation computations.  We have
  one in FGLocation that is used by the model code, and one in
  FGViewer that is used at the top of the scene graph.  My suspicion
  is that they don't agree exactly, so the final orientation matrix is
  the right answer plus the difference.  I did rule out the FDMs
  though.  None of them show more than about 0.0001 degree of
  orientation change between frames for a stopped aircraft.  That's
  within an order of magnitude of what you'd expect for the
  orientation change due to the rotation of the earth (which we don't
  model -- I cite it only as evidence of how small this is); far, far
  less than one pixel on the screen.

[and later]

OK, this is fixed by the attached panel.cxx file.  What's happened is
that the winding order for the text layer's polygons is wrong, so I
reverse it before drawing.  That's largely a hatchet job to make
things work for now, though.  We should figure out why the winding
order is wrong for only text layers and fix it.  I checked the plib
sources -- they're definitely doing things CCW, as is all the rest of
the panel code.

Odd.  I'm also not sure why the 2D panel doesn't care (it works in
both winding orders).  But this will allow you to check in working
code, anyway.  There's a big comment to this effect in there.
2002-06-28 14:17:40 +00:00
docs-mini Erik Hofman: 2002-06-04 16:27:20 +00:00
man Fixed description of the --time-offset option. 2002-02-14 03:57:22 +00:00
package/mandrake Initial revision. 2001-09-17 21:12:24 +00:00
scripts Half-finished utility class. 2002-06-28 14:15:53 +00:00
src 3D panel support from Andy Ross: 2002-06-28 14:17:40 +00:00
tests Change fog punch through value a bit. Either way it's a WAG for now, but 2002-03-14 00:52:38 +00:00
.cvsignore Added files that only I use locally; it shouldn't hurt anyone else. 2002-06-28 14:15:37 +00:00
acconfig.h Removed configuration option --with-old-mouse and FG_OLD_MOUSE macro. 2002-05-12 00:12:19 +00:00
acsite.m4 Packaging fixes. 1999-06-04 20:35:47 +00:00
am2dsp.cfg Updated am2dsp.cfg from Bernie. 2002-04-22 22:42:23 +00:00
AUTHORS Initial revision. 1998-05-23 18:09:09 +00:00
autogen.sh Same autogen.sh tweak as for simgear to better handle irix vs. 2002-01-19 14:58:49 +00:00
ChangeLog Updated ... 2001-06-18 22:25:59 +00:00
config.guess Initial revision 1999-06-17 20:07:19 +00:00
config.sub Initial revision 1999-06-17 20:07:19 +00:00
FlightGear.dsp Added a scripts subdirectory with support for running external python 2002-05-15 21:45:39 +00:00
FlightGear.dsw Initial revision. 2000-10-16 22:02:10 +00:00
irix-hack.sh Detect Irix/CC compiler and substitute AR="CC -ar". 2001-06-01 17:13:03 +00:00
Makefile.am Include autogen.sh in the distribution. 2002-05-23 15:47:11 +00:00
NEWS Tweaks. 2002-04-21 04:42:02 +00:00
README Updates. 2000-02-15 23:32:26 +00:00
Thanks Jim Wilson: 2002-04-19 15:36:51 +00:00

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!