8ed0fec364Fix degenerate random building placement case which resulted in buildings being placed outside of the triangle bounds.
Stuart Buchanan
2012-07-13 20:00:06 +01:00
00e21af5bbCorrect index used by building.eff for lightmap.
Stuart Buchanan
2012-07-12 16:31:27 +01:00
51a17a7a0fSuppress unnecessary "failed alias" warnings when requested alias matches existing alias anyway (identical aliases can be created on repeated sim resets)
ThorstenB
2012-07-07 16:05:02 +02:00
fa58672f09Fix bug where two references to a png object mask used against a dds terrain texture resulted in the object mask being flipped twice, having no overall effect!
Stuart Buchanan
2012-07-06 21:38:15 +01:00
4f7f5023dfFix further possible memory leaks by using osg::ref_ptr for vertex arrays in random buildings and random vegetation. Also change normals on trees to be per-vertex as some graphics cards apparently find this easier to deal with.
Stuart Buchanan
2012-07-05 00:10:07 +01:00
4838a9690eFix a memory leak in random buildings.
Stuart Buchanan
2012-07-04 19:50:20 +01:00
edcbfb52ebAdd SimGear RPM package spec file. Example for Linux package builders.
ThorstenB
2012-07-02 21:51:40 +02:00
2c54237fe5Don't render ocean tiles in the light pass
Frederic Bouvier
2012-06-25 17:55:46 +02:00
00c61204a4Fix a typo
Frederic Bouvier
2012-06-25 11:58:49 +02:00
284aa3a444Add header file to the cmake project
Frederic Bouvier
2012-06-25 11:58:22 +02:00
f0b7a27fd4Duplicate light effect when animation is requested. Make dimmed lights work in multiplayer
Frederic Bouvier
2012-06-24 23:06:12 +02:00
a781eea10e#744: Raise warning level when reporting missing svn library. Status message are almost invisible - use warning message instead, so builders/packagers actually notice a missing dependency. Also add some useful hints.
ThorstenB
2012-06-24 20:04:26 +02:00
8e42e5bdbaFix error handling in SGSampleGroup::stop Move error check to correct location: needs to be done immediately after the alSourceStop call - and only if it was called at all.
ThorstenB
2012-06-24 19:18:47 +02:00
ad4a9eeaa5Remove (un-maintained) MSVC projects from the tree prior to the next release.
James Turner
2012-06-23 10:26:28 +02:00
190e6b3958Taxiway signs: print out more meaningful error messages on wrong size settings and fall back to the default value in such cases.
Christian Schmitt
2012-06-20 12:54:41 +02:00
8a33223483Use standard version of FindPackageStandardArgs, no need to copy it.
James Turner
2012-06-21 10:21:26 +02:00
5b3dccc1f7- stop sounds when removing a sound group
Harald JOHNSEN
2012-06-10 13:01:57 +02:00
e0df014acfSigns change <= to <
Markus Pargmann
2012-06-18 10:00:29 +02:00
de3d433eadAirport sign size 3 bugfix
Markus Pargmann
2012-06-17 12:50:44 +02:00
3407db3dd6Avoid an annoying OSG warning
Frederic Bouvier
2012-06-17 17:52:17 +02:00
b10a40ff8dTaxiway signs: support all variants from the apt.dat 850 spec and read size values from the optional stg column
Christian Schmitt
2012-05-12 22:55:06 +02:00
ec22623f1cAdd helper method for optional stg values
Christian Schmitt
2012-06-12 09:10:26 +02:00
7e8fb16507Static or shared objects are not light volumes (but can include some)
Frederic Bouvier
2012-06-11 09:12:47 +02:00
a634d7c361Terrain tiles are not light volumes
Frederic Bouvier
2012-06-11 09:11:52 +02:00
aae77a7983remove some warnings for MSVC
Harald JOHNSEN
2012-05-29 19:59:54 +02:00
3f6f34e7e1Drop obsolete TODO
ThorstenB
2012-06-08 13:53:15 +02:00
eff1541ba3Add INSTALL and README.cmake files.
ThorstenB
2012-06-08 13:10:47 +02:00
e7e06c89e1Fix lights when added as submodels
Frederic Bouvier
2012-05-31 20:22:40 +02:00
a41d5b1609Restore lights in the Rembrandt renderer
Frederic Bouvier
2012-05-30 22:18:57 +02:00
edbea633f3Merge a tweak from Tat to keep Mac 10.5 from crashing on realpath
James Turner
2012-05-30 11:08:11 +01:00
950af5375cKIll of SimGear route code, it's no longer used by anything.
James Turner
2012-05-30 11:07:36 +01:00
c6d2e32f05Add logging for the total number of random buildings generated.
Stuart Buchanan
2012-05-25 19:47:45 +01:00
3796ce4d86Runway signs: avoid adding empty group without signs.
Mathias Froehlich
2012-05-21 07:18:55 +02:00
ffb67f4014Clement de l'Hamaide: Add support for pitch and roll for OBJECT_SHARED and OBJECT_STATIC in .stg files.
Anders Gidenstam
2012-05-20 21:49:08 +02:00
d479686804Try to exclude unwanted geometry in the additional light pass
Frederic Bouvier
2012-05-20 15:42:55 +02:00
1387f47a79Remove redundant inclusion of SGMath.hxx
Frederic Bouvier
2012-05-20 11:49:31 +02:00
65784896e1Revert "Hack to avoid redrawing the whole scene another time when only light volume are requested"
Frederic Bouvier
2012-05-19 20:41:58 +02:00
e692e7c119Hack to avoid redrawing the whole scene another time when only light volume are requested
Frederic Bouvier
2012-05-19 19:39:38 +02:00
23d4628d88ReaderWriterSPT: Cull out tiles that we look at from downside.
Mathias Froehlich
2012-05-19 16:09:58 +02:00
38c335c339Allow to change texture buffer name on the fly
Frederic Bouvier
2012-05-18 12:27:08 +02:00
e69d1b5a82#767 related: fix sound resource management Use _smgr->release_buffer instead of direct alDeleteBuffers.
ThorstenB
2012-05-12 23:35:10 +02:00
6695b918eaAllow to specify buffer name from parameters in effects
Frederic Bouvier
2012-05-09 23:31:06 +02:00
2b9072417bUse names to identify deferred buffers Change effect syntax for buffers
Frederic Bouvier
2012-04-15 14:51:20 +02:00
6cf2224146Updated sign case UV calculation from Christian.
James Turner
2012-05-11 10:00:35 +01:00
a1f74729abbuild signs for an STG into single geometry.
James Turner
2012-05-08 13:29:34 +01:00
71443d1c9aPhase 1 - single geometry per material
James Turner
2012-05-08 09:47:42 +01:00
a83f5deaacUpdates to buildings and trees 1) Clean up after ourselves - remove memory leak 2) Face buildings the right way
Stuart Buchanan
2012-05-10 23:03:38 +01:00
234e778e8fAdd support for double-sided taxiway signs and create 3D models for them
Christian Schmitt
2012-04-25 17:36:11 +02:00
0bdeaeb4e2Remove unused SGMakeRunwaySign function.
Christian Schmitt
2012-05-03 16:35:47 +02:00
cc37713a66Remove redundant inclusion of math/SGMath.hxx
Frederic Bouvier
2012-05-05 11:19:20 +02:00
6129de31f0Fix C compiler warning. "no-overloaded-virtual" warnings are a CXX-compiler feature
ThorstenB
2012-05-05 09:46:11 +02:00
0908f86714Fix rpmlint/Linux packager complaints about outdated/invalid FSF address in some license headers.
ThorstenB
2012-05-05 01:41:45 +02:00
31ed79fe43Fix rpmlint/Linux packager complaints about outdated/invalid FSF address in some license headers.
ThorstenB
2012-05-05 00:30:16 +02:00
44db6d9e44Move vector property templates to separate header file. Fixes the "weirdness" with MSVC complaining about incomplete class specs, since forward declarations (SGMathFwd.hxx) are used in props.hxx only. Only the few extended (vector) property templates require including the full SGMath.hxx (with MSVC) - and these are used in few places.
ThorstenB
2012-05-05 00:07:07 +02:00
6e662fe4d6Ganael Laplanche: fix include dependencies for FreeBSD support
ThorstenB
2012-05-04 23:24:10 +02:00
067ff4f8edFix signed vs unsigned compiler warnings
ThorstenB
2012-05-04 23:13:54 +02:00
91cf3d4defFixes to Random Buildings: 1) Correct texture mapping so textures aren't flipped! 2) Add constraints to medium buildings (not taller than they are wide)
Stuart Buchanan
2012-05-04 21:12:41 +01:00
1eb846a93aRevert "Temporary hack to make the new version of expat build under windows" A proper fix has been provided
Frederic Bouvier
2012-05-04 20:48:04 +02:00
56661afc05Change how HAVE_EXPAT_CONFIG_H is defined, to hopefully fix MSVC properly.
James Turner
2012-05-04 10:10:46 +01:00
655971208fTemporary hack to make the new version of expat build under windows
Frederic Bouvier
2012-05-04 09:09:11 +02:00
d3ab2d3fbcMissed files from previous commit, needed for Windows.
James Turner
2012-05-03 18:55:13 +01:00
65aca6607eUpdate to latest expat for improved BOM / encoding handling.
James Turner
2012-05-03 17:29:16 +01:00
e44eb39046Emissive lighting for random buildings. Requires up to date fgdata.
Stuart Buchanan
2012-05-01 22:35:42 +01:00
ab7d2a4bccAllow "texture-path" XML entries to be present but empty. This had worked with previous FG versions and is used by many models - so it shouldn't be treated as an error now.
ThorstenB
2012-04-30 18:29:44 +02:00
dfc4b1564fNasal is C code, not C++
Frederic Bouvier
2012-04-29 00:17:38 +02:00
db6e99f885Use Effects system for random buildings.
Stuart Buchanan
2012-04-28 23:11:52 +01:00
35681e3adfStrange, somehow missed this file in last commit.
James Turner
2012-04-28 23:08:05 +01:00
a5ca531aacNasal Ghosts can optionally specify member get/set functions.
James Turner
2012-04-28 22:25:57 +01:00
2daf895d00Reduce the number of Drawables generated by the random buildings by reducing the number of levels of the quad tree, and reducing the number of different fade-out distances generated.
Stuart Buchanan
2012-04-28 20:02:42 +01:00
1041445a22Change random object placement to a grid-like scheme to reduce building overlap.
Stuart Buchanan
2012-04-28 19:58:09 +01:00