f712bc9294Implement blinking hold-short line lights This is supported by the apt.dat 850 format and latest TG
Christian Schmitt
2012-03-30 19:17:59 +02:00
2d174d0b14Convert random buildings to avoid use of BIND_PER_PRIMITVE. (which pushes me to a slow OSG path)
James Turner
2012-04-26 00:18:47 +01:00
dd54f6938e#717: Disabling advanced weather crashes the sim Protect from a NULL-pointer segfault in SGCloudField::removeCloudFromTree when disabling advanced weather (may just fix a symptom).
ThorstenB
2012-04-25 21:08:37 +02:00
6e0e74a7d9No round function for MSVC (forgot the template argument)
Frederic Bouvier
2012-04-25 08:59:04 +02:00
6a90696820No round function for MSVC
Frederic Bouvier
2012-04-25 08:54:57 +02:00
f9bf403fc0Random buildings - initial commit.
Stuart Buchanan
2012-04-24 22:00:35 +01:00
0c13fb7ae4Fix latent bug in Nasal hash cget / cset functions, where the embedded string length was set to an incorrect marker value.
James Turner
2012-04-23 22:29:54 +01:00
9a113bdb44Revert "Add virtual destructor to SGReferenced." As suggested by Mathias, will use different solution. This reverts commit 4abcf3215f.
ThorstenB
2012-04-23 19:41:09 +02:00
69ef461e6dMerge commit 'refs/merge-requests/22' of git://gitorious.org/fg/simgear into merge-requests/22
James Turner
2012-04-22 20:21:45 +01:00
4abcf3215fAdd virtual destructor to SGReferenced.
ThorstenB
2012-04-21 20:50:07 +02:00
4b607d6484Revert "Remove ambient component of additional lights" because this was Yet Another Bad Idea Ambient light is attenuated so it is possible to achieve smooth edges with it
Frederic Bouvier
2012-04-18 19:56:31 +02:00
fe8ba57c94Remove ambient component of additional lights It creates artifacts at edges of light volumes and should come from the main light source (sun and moon) anyway
Frederic Bouvier
2012-04-16 08:25:59 +02:00
de191107a9light animation: avoid that similar effects are merged
Frederic Bouvier
2012-04-14 23:16:23 +02:00
77b8b278eaEnsure uniform are there before trying to use them
Frederic Bouvier
2012-04-14 18:00:42 +02:00
4758447370Add a <dim-factor> parameter in the light animation <dim-factor> contains a <property> element, and optionally <factor>, <offset>, <expression>, <interpolation>, <min> and <max>
Frederic Bouvier
2012-04-14 09:57:20 +02:00
1a835a2e1bperformance monitor: start measurement interval with a fresh timestamp.
ThorstenB
2012-04-05 19:30:00 +02:00
8d0330675aSet the filename as the OSG object name on shaders - should have done this years ago :)
James Turner
2012-04-04 16:44:23 +01:00
95a9d7a229Revert "Disable LOD when rendering to the shadow map."
Frederic Bouvier
2012-04-02 19:50:50 +02:00
2fed46e222performance monitor improvement Record cumulative time consumed (all time) and current total time (current measurement only) for subsystems.
ThorstenB
2012-04-02 20:26:17 +02:00
9ad070871aUse observer_ptr::lock for thread-safe pointer retrieval. Also revert to using ref_ptr for the top-level EffectMap, since it holds elements no one else references (and don't affect memory much).
ThorstenB
2012-04-02 20:09:02 +02:00
b95fb48a16Disable LOD when rendering to the shadow map. Produce few NaNs at start
Frederic Bouvier
2012-04-01 23:06:32 +02:00
29462005b7Fix typo in SGGeodesy.
Mathias Froehlich
2012-04-01 17:50:49 +02:00
4de05629eeShadow map now available in effects
Frederic Bouvier
2012-03-31 22:40:39 +02:00
2b62411a78Remove dead code.
ThorstenB
2012-03-28 22:55:40 +02:00
6fa4c7e138Add file name to error message.
ThorstenB
2012-03-28 22:54:27 +02:00
ece38a6dbfFix growing memory consumption issues References in simgear's cache maps prevented effects, textures, clouds, trees and lights from being unloaded at run-time (ref-counter could never reach 0). Changed cache maps to use OSG 'observer' pointers instead, so reference counters aren't influenced, though cache maps still hold an (observing) pointer. Also take care when finding a cache entry with empty content (i.e. texture was unloaded).
ThorstenB
2012-03-28 22:53:30 +02:00
191675cc79scenery: Only run SGModelData in the topmost model.
Mathias Froehlich
2012-03-28 07:44:41 +02:00
df2e5bf39fRevert "scenery: Use correct property root in xml loading."
Mathias Froehlich
2012-03-28 07:34:36 +02:00
ac29faf3bbosg::Uniform::get does not return a value on error. Fixes "usage of uninitialized data" errors reported by valgrind.
ThorstenB
2012-03-25 15:11:50 +02:00
94eabf6220Merge Specular and Emission buffers
Frederic Bouvier
2012-03-25 14:12:46 +02:00
40bc0cbd48Compile under MSVC 9
Frederic Bouvier
2012-03-25 14:12:04 +02:00
b55e9df70aDon't crash when "avionics == NULL".
ThorstenB
2012-03-22 23:54:01 +01:00
986d2cc42ascenery: Use correct property root in xml loading.
Mathias Froehlich
2012-03-22 08:38:16 +01:00
0b8bfd9ed8More checks/error messages for missing files, checking return value of findDataFile.
ThorstenB
2012-03-17 10:15:31 +01:00
ca97e67511Avoid segfault when a texture file is missing. Always check the return value of "findDataFile". If it's empty, always provide the _original_ path being searched in an error message. Otherwise we eventually just get useless 'Can't find file "".' error messages (and also a segfault here, since osgDB::readImageFile("") returns NULL).
ThorstenB
2012-03-17 10:02:13 +01:00
47c2dce26dRemoved include breaking headless build.
James Goppert
2012-03-15 20:27:29 -04:00
619163d40eFixed mingw build.
James Goppert
2012-03-15 18:29:06 -04:00
b11c13fb9fscenery: Really, most people don't care for the noise.
Mathias Froehlich
2012-03-16 07:27:44 +01:00
a5435b7d8cscenery: Make stg loader files members of the loader.
Mathias Froehlich
2012-03-16 07:22:16 +01:00
b5fb829468scenery: TileEntry and TileCache have moved back to flightgear.
Mathias Froehlich
2012-03-15 20:43:31 +01:00
c74e212494Revert "Use simgear internal stuff for the singleton class."
Mathias Froehlich
2012-03-03 18:21:49 +01:00
13f96cdcc9Dir::tempDir not working on some systems. Only worked when TMPDIR environment variable had a trailing slash (i.e. "/tmp/" worked, but not "/tmp"). (Problem shown by simgear's "test suite". It's good to have tests!)
ThorstenB
2012-03-03 17:06:51 +01:00