Commit Graph

  • f712bc9294 Implement 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
  • 2d174d0b14 Convert 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
  • 6e0e74a7d9 No round function for MSVC (forgot the template argument) Frederic Bouvier 2012-04-25 08:59:04 +02:00
  • 6a90696820 No round function for MSVC Frederic Bouvier 2012-04-25 08:54:57 +02:00
  • f9bf403fc0 Random buildings - initial commit. Stuart Buchanan 2012-04-24 22:00:35 +01:00
  • 0c13fb7ae4 Fix 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
  • 9a113bdb44 Revert "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
  • 69ef461e6d Merge 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
  • 4abcf3215f Add virtual destructor to SGReferenced. ThorstenB 2012-04-21 20:50:07 +02:00
  • 4b607d6484 Revert "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
  • fe8ba57c94 Remove 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
  • de191107a9 light animation: avoid that similar effects are merged Frederic Bouvier 2012-04-14 23:16:23 +02:00
  • 77b8b278ea Ensure uniform are there before trying to use them Frederic Bouvier 2012-04-14 18:00:42 +02:00
  • 4758447370 Add 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
  • 77909577e4 Error messages when installing property aliases fails. ThorstenB 2012-04-05 20:03:07 +02:00
  • 1a835a2e1b performance monitor: start measurement interval with a fresh timestamp. ThorstenB 2012-04-05 19:30:00 +02:00
  • 8d0330675a Set 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
  • 95a9d7a229 Revert "Disable LOD when rendering to the shadow map." Frederic Bouvier 2012-04-02 19:50:50 +02:00
  • 2fed46e222 performance 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
  • 9ad070871a Use 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
  • b95fb48a16 Disable LOD when rendering to the shadow map. Produce few NaNs at start Frederic Bouvier 2012-04-01 23:06:32 +02:00
  • 29462005b7 Fix typo in SGGeodesy. Mathias Froehlich 2012-04-01 17:50:49 +02:00
  • 4de05629ee Shadow map now available in effects Frederic Bouvier 2012-03-31 22:40:39 +02:00
  • 2b62411a78 Remove dead code. ThorstenB 2012-03-28 22:55:40 +02:00
  • 6fa4c7e138 Add file name to error message. ThorstenB 2012-03-28 22:54:27 +02:00
  • ece38a6dbf Fix 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
  • a592488f3e scenery: Remove redundant setting the property root. Mathias Froehlich 2012-03-28 07:47:31 +02:00
  • 191675cc79 scenery: Only run SGModelData in the topmost model. Mathias Froehlich 2012-03-28 07:44:41 +02:00
  • df2e5bf39f Revert "scenery: Use correct property root in xml loading." Mathias Froehlich 2012-03-28 07:34:36 +02:00
  • ac29faf3bb osg::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
  • 94eabf6220 Merge Specular and Emission buffers Frederic Bouvier 2012-03-25 14:12:46 +02:00
  • 40bc0cbd48 Compile under MSVC 9 Frederic Bouvier 2012-03-25 14:12:04 +02:00
  • b55e9df70a Don't crash when "avionics == NULL". ThorstenB 2012-03-22 23:54:01 +01:00
  • 986d2cc42a scenery: Use correct property root in xml loading. Mathias Froehlich 2012-03-22 08:38:16 +01:00
  • 0b8bfd9ed8 More checks/error messages for missing files, checking return value of findDataFile. ThorstenB 2012-03-17 10:15:31 +01:00
  • eff0c610e2 More consistent indentation. ThorstenB 2012-03-17 10:02:43 +01:00
  • ca97e67511 Avoid 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
  • 47c2dce26d Removed include breaking headless build. James Goppert 2012-03-15 20:27:29 -04:00
  • 619163d40e Fixed mingw build. James Goppert 2012-03-15 18:29:06 -04:00
  • b11c13fb9f scenery: Really, most people don't care for the noise. Mathias Froehlich 2012-03-16 07:27:44 +01:00
  • a5435b7d8c scenery: Make stg loader files members of the loader. Mathias Froehlich 2012-03-16 07:22:16 +01:00
  • b5fb829468 scenery: TileEntry and TileCache have moved back to flightgear. Mathias Froehlich 2012-03-15 20:43:31 +01:00
  • 43fceaf3a4 scenery: Move the stg read code. Mathias Froehlich 2012-03-15 20:28:48 +01:00
  • 8cb8395a24 scenery: ModelLoadHelper is no longer needed. Mathias Froehlich 2012-03-15 20:08:38 +01:00
  • 2a2be51b8f scenery: move static ReaderWriter proxies around. Mathias Froehlich 2012-03-15 19:44:36 +01:00
  • 5a5d65134e scenery: Accumulate stg files until we find an OBJECT_BASE. Mathias Froehlich 2012-03-11 21:32:35 +01:00
  • 0a96f4e145 scenery: Allow switching off particle systems on scenery load. Mathias Froehlich 2012-03-11 14:20:33 +01:00
  • ba21713329 scenery: Allow switching off bvh generation. Mathias Froehlich 2012-03-11 14:20:07 +01:00
  • 32ef925a79 hla: Add convenience function to set version by string. Mathias Froehlich 2012-03-11 09:21:47 +01:00
  • c62c778c88 hla: Enalble creating object instances without object class. Mathias Froehlich 2012-03-10 08:30:10 +01:00
  • 2f0a6fdb67 hla: Remove old comment. Mathias Froehlich 2012-03-10 08:28:30 +01:00
  • 70ec13e10b Make the sky disable cutoff distance configurable Torsten Dreyer 2012-03-09 20:58:24 +01:00
  • 3693e3600c scenery: rework stg loading code. Mathias Froehlich 2012-03-06 23:06:15 +01:00
  • 69debc6777 Revert "Put airport lights in RenderBin to enable glow" Frederic Bouvier 2012-03-07 20:48:53 +01:00
  • 84d7488061 Revert commit 7864516... Increase point sprite size for runway lights Frederic Bouvier 2012-03-07 20:16:14 +01:00
  • fbb7c84409 scenery: Remove unused argument from runway signs. Mathias Froehlich 2012-03-06 21:14:24 +01:00
  • a7379c88f4 Revert "Allow the not operator in expressions" - this is not required for effects Frederic Bouvier 2012-03-06 23:15:18 +01:00
  • cc8977b83d hla: include config.h and compiler.h in implementation files. Mathias Froehlich 2012-03-05 06:59:37 +01:00
  • 50380bc6c5 hla: Provide access to the parent federate. Mathias Froehlich 2012-03-04 21:34:09 +01:00
  • 92074f0d3c Allow the not operator in expressions Frederic Bouvier 2012-03-04 21:24:54 +01:00
  • 1e889c4d07 Implement point light Frederic Bouvier 2012-02-09 00:04:02 +01:00
  • 617a09d89a Fix path in include directive Frederic Bouvier 2012-02-05 23:55:38 +01:00
  • 2af409f54d Save work on shadows Frederic Bouvier 2012-02-05 23:35:39 +01:00
  • 6d3766e913 Move noise functions from scene/material to scene/util Frederic Bouvier 2012-03-03 19:19:38 +01:00
  • 9b130f099f Move Noise from scene/material to scene/util Frederic Bouvier 2012-02-05 23:25:02 +01:00
  • 20414e6ef4 Smaller point light for vasi Frederic Bouvier 2012-02-04 21:21:50 +01:00
  • 78645169bf Increase point sprite size for runway lights Frederic Bouvier 2012-01-31 23:40:19 +01:00
  • a276e7e379 Remove now useless StateAttributeFactory::getNoiseNormalMap() Frederic Bouvier 2012-01-29 23:24:36 +01:00
  • 1dfde64ac2 Use bigger point sprites for airport lighting Frederic Bouvier 2012-01-25 23:42:10 +01:00
  • 1fa27f2d19 Put airport lights in RenderBin to enable glow Frederic Bouvier 2012-01-24 23:13:15 +01:00
  • 2822006d01 New buffer types for effects Frederic Bouvier 2012-03-03 19:04:05 +01:00
  • 288e63f0d8 Add noise texture and noise normal map to StateAttributeFactory Frederic Bouvier 2012-01-23 21:22:44 +01:00
  • 66c9187c95 Boolean uniforms are now updatable by properties Frederic Bouvier 2012-01-15 15:58:37 +01:00
  • cbf8687e3d Add bloom buffer to effects Frederic Bouvier 2012-01-15 12:15:06 +01:00
  • c9a80caff5 Create new buffer type : emission Frederic Bouvier 2012-01-14 13:35:33 +01:00
  • f9857235fc Add new texture type in effects : lighting-buffer Frederic Bouvier 2012-01-09 21:47:21 +01:00
  • c595a276a0 Include the light volume in the model Frederic Bouvier 2012-01-08 19:04:56 +01:00
  • b582cd230e Implement a cache of light effects Frederic Bouvier 2012-01-04 19:42:46 +01:00
  • ad6c04489c Add the light animation to the cmake system Frederic Bouvier 2012-01-04 17:20:22 +01:00
  • ec7e59eda1 Full implementation of the spotlight by Effects Frederic Bouvier 2012-01-03 00:32:00 +01:00
  • d929323e93 Add light animation to msvc9 project Frederic Bouvier 2012-03-03 18:31:20 +01:00
  • 5a96b283f6 Add preliminary spot light animation Frederic Bouvier 2012-01-02 11:35:11 +01:00
  • d393e4a019 Add positioned uniforms and G-buffer textures to Effects Frederic Bouvier 2012-01-02 11:34:11 +01:00
  • 9700e46e47 spt: Make use of newly provided earth texture. Mathias Froehlich 2012-03-04 20:10:22 +01:00
  • 036c0034c3 hla: Fix the way derived classes accumulate attributes. Mathias Froehlich 2012-03-04 19:56:43 +01:00
  • f5067b058c scenery: Do not use a seperate set of options for loading the model. Mathias Froehlich 2012-03-04 17:09:24 +01:00
  • 0d9b247da1 scenery: Only add trasnform matrices on successful loaded models. Mathias Froehlich 2012-03-04 13:07:41 +01:00
  • a2b75e0d7a Compile SGReaderWriterOptions.cxx under Windows Frederic Bouvier 2012-03-04 10:36:31 +01:00
  • c9165a565b Use an implementation file for SGReaderWriterOptions. Mathias Froehlich 2012-03-04 08:40:56 +01:00
  • 49d8b96768 Centralize osgDB::Option handling in SGReaderWriterOptions. Mathias Froehlich 2012-03-04 08:33:21 +01:00
  • 5ad6eb937b Make use of SGReaderWriterOptions::copyOrCreate in SGModelLib Mathias Froehlich 2012-03-04 08:17:10 +01:00
  • f66e023ea8 Make use of SGReaderWriterOptions::copyOrCreate in SGMaterial. Mathias Froehlich 2012-03-04 08:15:00 +01:00
  • 72f1538ac2 Make use of SGReaderWriterOptions::copyOrCreate in ReaderWriterSTG. Mathias Froehlich 2012-03-04 07:50:05 +01:00
  • 4e24095d8b Make use of SGReaderWriterOptions::copyOrCreate in SGReaderWriterXML. Mathias Froehlich 2012-03-04 07:41:56 +01:00
  • 1473eabc7c Provide SGReaderWriterOptions::copyOrCreate(const osgDB::Options*). Mathias Froehlich 2012-03-04 07:16:59 +01:00
  • 11fd888ed8 Replace osgDB::ReaderWriter::Options to osgDB::Options. Mathias Froehlich 2012-03-04 07:07:42 +01:00
  • 8c78588ee1 Untangle osg singleton dependencies. Mathias Froehlich 2012-03-03 18:57:48 +01:00
  • c74e212494 Revert "Use simgear internal stuff for the singleton class." Mathias Froehlich 2012-03-03 18:21:49 +01:00
  • 13f96cdcc9 Dir::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