1
0
Fork 0
Commit graph

437 commits

Author SHA1 Message Date
Fahim Imaduddin Dalvi
886b0c1392 Updated documentation for lights, buildings and trees.
Added comments regarding normal computation for directional lights, clarified
minor details, fixed typos and incorrect documentation regarding cartesian
coordinates for buildings and trees.
2021-09-19 14:36:38 +01:00
Stuart Buchanan
164112a8c0 WS30: Properties for lit roads 2021-08-21 17:16:28 +01:00
Fahim Imaduddin Dalvi
81af0f37c2 Shader-based scenery lights.
This commit implements shader-based scenery lights with support for
efficient rendering of a large number of lights, animations and
directionality. Detailed commit log can be found at [1]. Detailed
discussions can be found on the mailing list [2][3][4].

[1] https://sourceforge.net/u/fahimdalvi/fgdata/ci/feat/scenery-shader-lights/~/tree/
[2] (Timed animation stops working in certain configurations) https://sourceforge.net/p/flightgear/mailman/flightgear-devel/thread/4A7AC359-63B3-4D8A-815B-09823BCEFF27%40gmail.com/#msg37095923
[3] (Shader-based scenery lights) https://sourceforge.net/p/flightgear/mailman/flightgear-devel/thread/63E3C131-7662-4F59-B2E6-03208C78EF96%40gmail.com/#msg37190517
[4] (Shader-based scenery lights Part 2) https://sourceforge.net/p/flightgear/mailman/flightgear-devel/thread/74F18179-CA34-4901-A44E-15498ECC230A%40gmail.com/#msg37331695
2021-08-07 21:42:20 +03:00
Delta Echo
665d95cb69 autochecklist.nas: support <group>ing checklists 2021-03-17 13:20:15 +00:00
James Turner
4c87b09eba Remove generated PDF docs, update link to web version
Also remove some other archaic docs which are superseded by the
tutorials and Wiki.
2021-03-11 20:21:59 +00:00
Stuart Buchanan
334e9bfd13 WS30 - Document LINEAR_FEATURE_LIST 2021-02-26 10:53:31 +00:00
Stuart Buchanan
e5abe820f0 Update README.effects to match .eff files 2021-01-17 19:58:25 +00:00
Chris Frey
4a4e9089c1 Docs: fixed incorrect terragear URL in FlightGear-FAQ.html 2020-11-21 21:35:40 +00:00
Chris Frey
50c76ec338 Docs: fixed incorrect terragear URL in README.scenery 2020-11-21 21:35:25 +00:00
Stuart Buchanan
37110ad34a TREE_LIST documentation updates
Thanks to Rick Gruber-Riemer for proof-reading.
2020-11-19 14:22:58 +00:00
Stuart Buchanan
255717d812 TREE_LIST STG Verb 2020-11-17 21:19:15 +00:00
Stuart Buchanan
6f52d094a5 Document new STG range noun 2020-11-17 20:00:26 +00:00
Stuart Buchanan
9e2ee8b969 Checklist/Tutorial: Auto view direction to marker
This change automatically changes the view direction to look
at a <marker> if any is defined for a checklist item or tutorial
step.

Both the tutorial and checklist features support a <marker> element
which can be used by an aircraft developer to display a magenta
circle around an item of interest (typically a control in the
cockpit).

Previously aircraft developers had to add a <view> element to move
the viewpoint to look at the marker, while users of checklists had
to look for the marker manually.

Now:
- For checklists, pressing the "?" button on a checklist will pan the viewpoint
to the marker.
- For tutorials, if there is not a <view> element defined for a
tutorial step, the view will automatically pan to the marker.
2020-10-31 16:00:51 +00:00
Stuart Buchanan
e9e0f00568 Link .dirindex spec with test data. 2020-10-03 11:26:54 +01:00
Richard Harrison
eb5d1029c8 Documentation improvements
Rewrote the volume section of xmlsound and add documentation for expressions
2020-08-01 16:43:16 +02:00
James Turner
ad43f14b65 Extend add-ons documentation. 2020-07-10 13:10:49 +01:00
Henning Stahlke
09dca7d3f0 Configurable auto-gen of tutorials from checklists
Previously tutorials were generated from all checklists.

Now <auto-tutorial>false</auto-tutorial> can be set at
any level of the checklist heirarchy to disable generation
of tutorials for a given checklist, group, or for all
checklists.
2020-06-27 15:20:02 +01:00
James.Hester
ed0969c184 Updated documentation for use of generated normals. 2020-06-19 09:58:37 +01:00
Stuart Buchanan
b612bea466 Document Effects techniques for Scenery 2020-05-23 18:53:42 +01:00
fly
b44a1c1a7c Added autopush
Signed-off-by: fly <merspieler@airmail.cc>
2020-05-15 11:29:07 +01:00
Henning Stahlke
fe1aaaea1c Update README.add-ons 2020-04-17 09:55:02 +02:00
Stuart Buchanan
40e30a38b6 Document Compositor effects 2020-04-13 19:42:36 +01:00
Stuart Buchanan
9e7afc7291 Fix random buildings in Compositor
Update Compositor Effects and Shaders with latest random/osm2city
buildings implementation.
2020-03-28 14:27:08 +00:00
Erik Hofman
bb7d7ff24f Mention the random tag 2020-03-20 09:59:35 +01:00
Stuart Buchanan
887ec93df4 Improve scenery path, terrasync, .dirindex docs 2020-02-19 22:18:33 +00:00
Stuart Buchanan
5a0fc45853 Fix Building share when model shader off. 2020-01-27 13:38:22 +00:00
Stuart Buchanan
119fb5efe2 Random Buildings - improved texture mapping
Previously the front and side faces of random/OSM buildings
had identical texture coordinates.  This resulted in the sides
of buildings texture mapping being squeezed or stretched.

This change generates a separate texture mapping for the sides
of the buildings.
2019-11-23 17:08:04 +00:00
Stuart Buchanan
564e7b31fd Shader buildings multiple roof types
Shader buildings now support different roof types
- flat
- gabled
- hipped
- pyramidal

Primarily for osm2city use.
2019-10-08 21:39:40 +01:00
Stuart Buchanan
87e9118965 Shader buildings - split wall and roof tex index
Previously there was very limited texture variations
as a given texture index was used for both the wall
and ceiling.  Now these can be specified separately,
allowing for more variation in both STG defined and
random buildings.

Requires simgear commit 053bda26a43314a91b01b08cd4617da82f7ab807
2019-09-25 21:56:22 +01:00
Stuart Buchanan
4784a929d7 Instance based random buildings
Replace random buildings with one using proper instancing.
Also implement more control over rendering of random buildings.
see README.scenery for details.
2019-08-20 17:02:27 +01:00
Stuart Buchanan
f5d967dbb3 Update README.materials to cover regions. 2019-06-07 13:49:02 +01:00
Stuart Buchanan
af1bff53b9 Updated Chinese manual from Tong HUI.
Checking this in directly just incase we are unable to
re-generate it correctly in the future.
2019-02-15 16:12:08 +00:00
Florent Rougon
02b01af19e Add-ons: small fixes to Nasal/addons.nas and Docs/README.add-ons
+ After discussion with Henning:
    - orig_setlistener() and orig_maketimer() were not intended to be
      public -> prefix the function names with an underscore;
    - clear the add-on's lists of tracked listeners and timers in
      remove() (load() does that too, but it's a bit late).

+ Little rewording in Docs/README.add-ons.
2018-12-10 15:29:22 +01:00
Henning Stahlke
5e2756b410 Add reload support to addons.nas; add tracking of listeners and timers 2018-12-07 19:24:22 +01:00
Stuart Buchanan
b83e930736 Document additional STG Verbs 2018-11-19 19:50:57 +00:00
Scott Giese
09e8bd6f63 Revert "Doc/README: Only use Latin character set."
This reverts commit c5460a3cf1.
2018-10-10 22:11:00 -05:00
Scott Giese
c5460a3cf1 Doc/README: Only use Latin character set.
Eliminate overruns in PDF output.
2018-10-08 20:11:58 -05:00
Stuart Buchanan
3b7bdd3658 Full set of Docs updates for 2018.3.0
Hopefully final update to
- getstart
- readme.pdf
- FGShortRef
- C172p documentation.
2018-09-25 20:52:54 +01:00
Stuart Buchanan
c3e20b0ffd Update Manual with better launcher screenshot 2018-09-13 20:49:36 +01:00
Stuart Buchanan
081a21df1f Update Manual
Commit 8cfe60e7009e15e2b3804c4359246494e9f8e3d6 from getstart orignin next
2018-09-13 19:40:13 +01:00
James Turner
544e53c9d9 Standardize on Unix line ending
Reported at:
https://sourceforge.net/p/flightgear/codetickets/2042/
2018-08-08 11:17:49 +02:00
Stuart Buchanan
9f7e17a434 Support for <group> of checklists.
Checklists now support grouping by placing a group of checklists
under a <group> node.

e.g. /sim/checklists/group/checklist

The group can have a <name>, which is used by the checklist dialog
and can be used by other interfaces, such as the FG1000.
2018-04-12 22:24:57 +01:00
Florent Rougon
82417eb962 Docs/README.add-ons: document addon.storagePath and addon.createStorageDir()
These were added in FlightGear commit
9a044a474bdb6ccc471cbe4c69dced5d2a9f447e.
2018-03-21 08:43:14 +01:00
Florent Rougon
c88f766950 Docs/README.add-ons: minor changes 2018-02-27 20:31:10 +01:00
Florent Rougon
9b6b6d7f6d Docs/README.add-ons: document support for add-on-specific menus and dialogs
Document these new features of FlightGear 2018.2.
2018-02-27 13:16:11 +01:00
Florent Rougon
2724f71978 Docs/README.add-ons: document property subtree reserved for add-on developers
For each add-on, the subtree of the global Property Tree starting at
/addons/by-id/ADDON_ID/addon-devel is reserved for the specific needs of
the add-on, where ADDON_ID stands for the add-on identifier.
2018-02-23 10:04:04 +01:00
Florent Rougon
c17d9377f8 Add-ons: more specific file names for the interface between FG core and add-ons
The add-on framework now uses the following files in each add-on
directory:
  - addon-config.xml (previously: config.xml)
  - addon-main.nas   (previously: main.nas)

This is consistent with the addon-metadata.xml file that is already part
of the interface between FG core and add-ons. The goal is to make it
clearer, when browsing an add-on directory, which files belong to the
"FG core <-> add-on" interface and which files belong to the add-on
proper. This will be beneficial also when more files are added to the
"FG core <-> add-on" interface, such as possibly addon-events.xml in the
future.

This change is incompatible, thus it is the right time to do *before*
2018.2.1 is out, especially considering that this upcoming release
already has incompatible changes in the add-on API, namely the
requirement of the addon-metadata.xml file and the type of the argument
passed to each add-on's main() function. We'll try harder not to break
compatibility in the add-on API once 2018.2.1 is out. For now, it is
still a good time to try to get the API as clean as possible.
2018-02-10 19:50:00 +01:00
Florent Rougon
e0f721450a Docs/README.add-ons: document the '[addon=ADDON_ID]relative/path' syntax
The '[addon=ADDON_ID]relative/path' syntax can be used in resource paths
handled by the SimGear ResourceManager, when one wants to target a file
from a particular add-on (see FG commit 8c82fca4 and following ones).
This commit documents this feature.

Note: when the resource path is prepared by Nasal code, prefer using
      addons.Addon.resourcePath().
2018-01-18 09:56:58 +01:00
Florent Rougon
9556b901ee README.add-ons: minor change
The property-rule configuration file was probably a bad example, because
I believe the path has to be specified inside a PropertyList file (so
far). It can thus be done with the '[addon=ADDON_ID]relative/path'
syntax so as to ensure the file is found by
flightgear::addons::ResourceProvider, however in this particular case,
addons.Addon.resourcePath() is probably not going to be very useful.
2018-01-10 19:10:03 +01:00
Florent Rougon
acd54efff7 Docs/README.add-ons: add documentation for addons.Addon.resourcePath() 2018-01-10 14:13:25 +01:00