]>
git.mxchange.org Git - simgear.git/log
Mathias Froehlich [Thu, 15 Mar 2012 18:44:36 +0000 (19:44 +0100)]
scenery: move static ReaderWriter proxies around.
Not yet sure where they end, but make sure they are currently pulled.
... now watching jenkins.
Mathias Froehlich [Sun, 11 Mar 2012 20:32:35 +0000 (21:32 +0100)]
scenery: Accumulate stg files until we find an OBJECT_BASE.
This should recover most of the old scenery loading behavior
before the last change. The z-fighting due to model duplication
does not happen over solid ground. Sea tiles are still broken.
Mathias Froehlich [Sun, 11 Mar 2012 13:20:33 +0000 (14:20 +0100)]
scenery: Allow switching off particle systems on scenery load.
Mathias Froehlich [Sun, 11 Mar 2012 13:20:07 +0000 (14:20 +0100)]
scenery: Allow switching off bvh generation.
Mathias Froehlich [Sun, 11 Mar 2012 08:21:47 +0000 (09:21 +0100)]
hla: Add convenience function to set version by string.
Mathias Froehlich [Sat, 10 Mar 2012 07:30:10 +0000 (08:30 +0100)]
hla: Enalble creating object instances without object class.
This enables creating HLAObjectInstance instances without
valid initial object class pointer. This is useful for local
implemented object instances.
Mathias Froehlich [Sat, 10 Mar 2012 07:28:30 +0000 (08:28 +0100)]
hla: Remove old comment.
Torsten Dreyer [Fri, 9 Mar 2012 19:58:24 +0000 (20:58 +0100)]
Make the sky disable cutoff distance configurable
Mathias Froehlich [Tue, 6 Mar 2012 22:06:15 +0000 (23:06 +0100)]
scenery: rework stg loading code.
This change reworks the code block loading the stg files.
It fixes a long standing problem where we end up loading
similar models from different entries of the scenery
path at the same geographic location. This usually results
in models that appear to have z figting, even if the isolated
model does not show z fighting at all.
As a result the lookup sequence for models and scenery has
changed a bit. This should be closer to what it supposed to
be and did not show any problems on the areas and sceneries
I tested.
Frederic Bouvier [Wed, 7 Mar 2012 19:48:53 +0000 (20:48 +0100)]
Revert "Put airport lights in RenderBin to enable glow"
This reverts commit
1fa27f2d19cfbd3663d8e7f537b159a9643e1c34 .
Frederic Bouvier [Wed, 7 Mar 2012 19:16:14 +0000 (20:16 +0100)]
Revert commit
7864516 ... Increase point sprite size for runway lights
Mathias Froehlich [Tue, 6 Mar 2012 20:14:24 +0000 (21:14 +0100)]
scenery: Remove unused argument from runway signs.
Frederic Bouvier [Tue, 6 Mar 2012 22:15:18 +0000 (23:15 +0100)]
Revert "Allow the not operator in expressions" - this is not required for
effects
This reverts commit
92074f0d3c29ed5d064db0c943cf88760c930e23 .
Mathias Froehlich [Mon, 5 Mar 2012 05:59:37 +0000 (06:59 +0100)]
hla: include config.h and compiler.h in implementation files.
Mathias Froehlich [Sun, 4 Mar 2012 20:34:09 +0000 (21:34 +0100)]
hla: Provide access to the parent federate.
Frederic Bouvier [Sun, 4 Mar 2012 20:24:54 +0000 (21:24 +0100)]
Allow the not operator in expressions
Frederic Bouvier [Wed, 8 Feb 2012 23:04:02 +0000 (00:04 +0100)]
Implement point light
Frederic Bouvier [Sun, 5 Feb 2012 22:55:38 +0000 (23:55 +0100)]
Fix path in include directive
Frederic Bouvier [Sun, 5 Feb 2012 22:35:39 +0000 (23:35 +0100)]
Save work on shadows
Frederic Bouvier [Sat, 3 Mar 2012 18:19:38 +0000 (19:19 +0100)]
Move noise functions from scene/material to scene/util
Frederic Bouvier [Sun, 5 Feb 2012 22:25:02 +0000 (23:25 +0100)]
Move Noise from scene/material to scene/util
Frederic Bouvier [Sat, 4 Feb 2012 20:21:50 +0000 (21:21 +0100)]
Smaller point light for vasi
Frederic Bouvier [Tue, 31 Jan 2012 22:40:19 +0000 (23:40 +0100)]
Increase point sprite size for runway lights
Frederic Bouvier [Sun, 29 Jan 2012 22:24:36 +0000 (23:24 +0100)]
Remove now useless StateAttributeFactory::getNoiseNormalMap()
Frederic Bouvier [Wed, 25 Jan 2012 22:42:10 +0000 (23:42 +0100)]
Use bigger point sprites for airport lighting
Frederic Bouvier [Tue, 24 Jan 2012 22:13:15 +0000 (23:13 +0100)]
Put airport lights in RenderBin to enable glow
Frederic Bouvier [Sat, 3 Mar 2012 18:04:05 +0000 (19:04 +0100)]
New buffer types for effects
Frederic Bouvier [Mon, 23 Jan 2012 20:22:44 +0000 (21:22 +0100)]
Add noise texture and noise normal map to StateAttributeFactory
Frederic Bouvier [Sun, 15 Jan 2012 14:58:37 +0000 (15:58 +0100)]
Boolean uniforms are now updatable by properties
Frederic Bouvier [Sun, 15 Jan 2012 11:15:06 +0000 (12:15 +0100)]
Add bloom buffer to effects
Frederic Bouvier [Sat, 14 Jan 2012 12:35:33 +0000 (13:35 +0100)]
Create new buffer type : emission
Frederic Bouvier [Mon, 9 Jan 2012 20:47:21 +0000 (21:47 +0100)]
Add new texture type in effects : lighting-buffer
Frederic Bouvier [Sun, 8 Jan 2012 18:04:56 +0000 (19:04 +0100)]
Include the light volume in the model
Frederic Bouvier [Wed, 4 Jan 2012 18:42:46 +0000 (19:42 +0100)]
Implement a cache of light effects
Frederic Bouvier [Wed, 4 Jan 2012 16:20:22 +0000 (17:20 +0100)]
Add the light animation to the cmake system
Frederic Bouvier [Mon, 2 Jan 2012 23:32:00 +0000 (00:32 +0100)]
Full implementation of the spotlight by Effects
Frederic Bouvier [Sat, 3 Mar 2012 17:31:20 +0000 (18:31 +0100)]
Add light animation to msvc9 project
Frederic Bouvier [Mon, 2 Jan 2012 10:35:11 +0000 (11:35 +0100)]
Add preliminary spot light animation
Frederic Bouvier [Mon, 2 Jan 2012 10:34:11 +0000 (11:34 +0100)]
Add positioned uniforms and G-buffer textures to Effects
Mathias Froehlich [Sun, 4 Mar 2012 19:10:22 +0000 (20:10 +0100)]
spt: Make use of newly provided earth texture.
Mathias Froehlich [Sun, 4 Mar 2012 18:56:43 +0000 (19:56 +0100)]
hla: Fix the way derived classes accumulate attributes.
Mathias Froehlich [Sun, 4 Mar 2012 16:09:24 +0000 (17:09 +0100)]
scenery: Do not use a seperate set of options for loading the model.
This fixes a problem introduced in commit
4e24095d8be43a8f6a2e060dfea4e7a4aec44ea5 .
Also this should fix Bug #698.
Mathias Froehlich [Sun, 4 Mar 2012 12:07:41 +0000 (13:07 +0100)]
scenery: Only add trasnform matrices on successful loaded models.
Frederic Bouvier [Sun, 4 Mar 2012 09:36:31 +0000 (10:36 +0100)]
Compile SGReaderWriterOptions.cxx under Windows
Mathias Froehlich [Sun, 4 Mar 2012 07:40:56 +0000 (08:40 +0100)]
Use an implementation file for SGReaderWriterOptions.
Mathias Froehlich [Sun, 4 Mar 2012 07:33:21 +0000 (08:33 +0100)]
Centralize osgDB::Option handling in SGReaderWriterOptions.
Mathias Froehlich [Sun, 4 Mar 2012 07:17:10 +0000 (08:17 +0100)]
Make use of SGReaderWriterOptions::copyOrCreate in SGModelLib
Mathias Froehlich [Sun, 4 Mar 2012 07:15:00 +0000 (08:15 +0100)]
Make use of SGReaderWriterOptions::copyOrCreate in SGMaterial.
Mathias Froehlich [Sun, 4 Mar 2012 06:50:05 +0000 (07:50 +0100)]
Make use of SGReaderWriterOptions::copyOrCreate in ReaderWriterSTG.
Mathias Froehlich [Sun, 4 Mar 2012 06:41:56 +0000 (07:41 +0100)]
Make use of SGReaderWriterOptions::copyOrCreate in SGReaderWriterXML.
Mathias Froehlich [Sun, 4 Mar 2012 06:16:59 +0000 (07:16 +0100)]
Provide SGReaderWriterOptions::copyOrCreate(const osgDB::Options*).
This functions tries to preserve the database options as much
as possible and guarantees to return a non zero options
pointer.
Mathias Froehlich [Sun, 4 Mar 2012 06:07:42 +0000 (07:07 +0100)]
Replace osgDB::ReaderWriter::Options to osgDB::Options.
This has changed in osg, so reflect that here.
Mathias Froehlich [Sat, 3 Mar 2012 17:57:48 +0000 (18:57 +0100)]
Untangle osg singleton dependencies.
Take two. The ModelRegistry's are already derived from osg::Referenced.
So also introduce the osg dependent version in simgear/scene/util.
Mathias Froehlich [Sat, 3 Mar 2012 17:21:49 +0000 (18:21 +0100)]
Revert "Use simgear internal stuff for the singleton class."
This reverts commit
80274596dfb0daf3564581e9e855f3debf483b12 .
ThorstenB [Sat, 3 Mar 2012 16:06:51 +0000 (17:06 +0100)]
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!)
Mathias Froehlich [Sat, 3 Mar 2012 15:05:23 +0000 (16:05 +0100)]
Remove left over from osg/core dependencies.
This file should be obsolete doe to the latest changes.
Mathias Froehlich [Sat, 3 Mar 2012 13:10:37 +0000 (14:10 +0100)]
Use simgear internal stuff for the singleton class.
This removes the other still present dependency on osg
in the future sgcore library.
It also remove the need for the NO_OPENSCENEGRAPH_INTERFACE
compile time definition.
Mathias Froehlich [Sat, 3 Mar 2012 12:32:49 +0000 (13:32 +0100)]
math: Remove SGMath osg dependency.
Move osg dependent stuff from SGMath into simgear/scene/util/OsgMath.hxx.
Update includes in simgear to reflect this change.
Note that this change also requires an updated flightgear version.
Mathias Froehlich [Sat, 3 Mar 2012 10:56:40 +0000 (11:56 +0100)]
math: Move lerp function into SGMisc.
Mathias Froehlich [Sat, 3 Mar 2012 09:45:15 +0000 (10:45 +0100)]
scenery: inline SGGenTile into its single caller.
Mathias Froehlich [Sat, 3 Mar 2012 09:37:54 +0000 (10:37 +0100)]
scenery: Route loader options through the btg loader.
Stuart Buchanan [Fri, 2 Mar 2012 23:04:18 +0000 (23:04 +0000)]
Evaluate <condition> statements in materials.xml at tile loading time
rather than on startup. This will allow changing between winter and
summer textures in-sim, and also allow more interesting regional
textures to be defined.
Mathias Froehlich [Fri, 2 Mar 2012 21:25:47 +0000 (22:25 +0100)]
hla: Fix timeAdvanceAvailable handling when no federate is regulating.
Mathias Froehlich [Fri, 2 Mar 2012 20:51:59 +0000 (21:51 +0100)]
hla: Add propper attribute dirty handling.
Mathias Froehlich [Fri, 2 Mar 2012 20:36:08 +0000 (21:36 +0100)]
hla: Timestamp support down to the DataElements.
Stuart Buchanan [Tue, 28 Feb 2012 21:05:54 +0000 (21:05 +0000)]
Fix masked rotation so that it's clockwise from above.
ThorstenB [Tue, 28 Feb 2012 07:39:19 +0000 (08:39 +0100)]
Fix string comparison
Mathias Froehlich [Sun, 26 Feb 2012 12:14:39 +0000 (13:14 +0100)]
hla: Fix buffer overrun in SGMath vector types.
Mathias Froehlich [Sun, 26 Feb 2012 11:04:12 +0000 (12:04 +0100)]
hla: Rework toplevel HLA classes.
Better seperation between the rti and the hla level
of classes. Decouple object model setup from the
need to connect at a federate. Fix alignment computations
for the standard hla data types. Work towards an
interaction class abstraction. Add more flexibility in
deriving from the base classes and adding callbacks.
Stuart Buchanan [Mon, 27 Feb 2012 21:27:27 +0000 (21:27 +0000)]
More robust checking of file extensions courtesy of the SGPath. Thanks to Mathias FROHLICH.
Stuart Buchanan [Sun, 26 Feb 2012 22:38:38 +0000 (22:38 +0000)]
Handle dds object masks properly:
1) Only flip the object-mask if the texture xor the object mask is dds
2) Handle NTFS file systems where the extension may be .DDS rather than .dds.
Stuart Buchanan [Sun, 26 Feb 2012 22:38:04 +0000 (22:38 +0000)]
Correct spacing between buildings.
Mathias Froehlich [Sat, 25 Feb 2012 17:07:59 +0000 (18:07 +0100)]
hla: Introduce backend factory infrastructure.
Not finally ready, but provide a factory infrastructure
to improove plugability of different rti backend implementations.
ThorstenB [Fri, 24 Feb 2012 21:47:18 +0000 (22:47 +0100)]
Remove obsolete comment...
ThorstenB [Fri, 24 Feb 2012 21:20:37 +0000 (22:20 +0100)]
#537 linker issues due to clock_gettime/librt dependencies
Simplify dependency check and make it work for Debian.
ThorstenB [Fri, 24 Feb 2012 21:00:58 +0000 (22:00 +0100)]
Revert "Try to fix MSVC template instantiation issue with SGVec dependencies."
This reverts commit
8aed0e75dfc9bf8280578cefc2ebb32136692951 .
ThorstenB [Fri, 24 Feb 2012 20:47:00 +0000 (21:47 +0100)]
Try to fix MSVC template instantiation issue with SGVec dependencies.
Stuart Buchanan [Thu, 23 Feb 2012 20:10:02 +0000 (20:10 +0000)]
Stop objects from overlapping the edge of the triangle in which they are placed. This should stop buildings encroaching roads etc.
ThorstenB [Sun, 19 Feb 2012 13:38:52 +0000 (14:38 +0100)]
Allow (ab)using findDataFile to also search directories again.
ThorstenB [Sun, 19 Feb 2012 13:36:33 +0000 (14:36 +0100)]
Make tsync part of libSimGearCore when building shared libraries
Mathias Froehlich [Sat, 18 Feb 2012 16:13:45 +0000 (17:13 +0100)]
hla: Add new header containing some enums.
Mathias Froehlich [Sat, 18 Feb 2012 15:49:17 +0000 (16:49 +0100)]
hla: Rename AttributePathPair to StringPathPair.
This way of addressing attribute data elements
should also be used for parameters. So, name it a little
more neutral.
Mathias Froehlich [Sat, 18 Feb 2012 12:20:25 +0000 (13:20 +0100)]
hla: Do not introduce an empty enumerated data type.
This fixes a bogous enumerated data type that is
up to now introduced into the data type map.
Mathias Froehlich [Sat, 18 Feb 2012 10:44:00 +0000 (11:44 +0100)]
hla: rename HLAVariantData* to HLAVariantRecordData*
Rename to the true name that is used in the standard.
Mathias Froehlich [Sat, 18 Feb 2012 10:00:28 +0000 (11:00 +0100)]
HLAFederate: introduce read*ObjectModelTemplate.
Introduce read{RTI13,RTI1516,RTI1516E}ObjectModelTemplate
methods. Deprecate the current readObjectModelTemplate method
and provide a short term upgrade path.
ThorstenB [Fri, 17 Feb 2012 22:46:06 +0000 (23:46 +0100)]
Remove obsolete ignore pattern for automake generated headers.
Torsten Dreyer [Wed, 15 Feb 2012 13:54:02 +0000 (14:54 +0100)]
Don't untie a property when loading from xml
executing the fgcommand loadxml implicitely untied every previously
tied property if a property type was given in the property element.
That made it impossible to autosave aircraft data for tied properties.
This patch should fix this. It adds an inconsitency, though:
if a property with a given type is read in which has been tied to
before and the property types do not match, the property type in the
xml file will be ignored.
ThorstenB [Sat, 11 Feb 2012 09:55:13 +0000 (10:55 +0100)]
#658: better bugfix for findDataFile issue
Fixes the more basic probelm of "SGModelLib::findDataFile" resolving an
empty file name to the fgdata (directory) path. findData_File_ should
never return a _directory_ path, only valid _file_ names.
ThorstenB [Sat, 11 Feb 2012 08:54:53 +0000 (09:54 +0100)]
#658: avoid crash when Textures.high is missing
Don't resolve the empty file name, which would result in the fgdata
directory path (instead of a path to a file). Eventually this resulted in
a segfault, partly due to a bug in "osgDB::readImageFile", which reports
"success" when given a directory (instead of a file) path, though it
doesn't return a valid image object.
Stuart Buchanan [Fri, 10 Feb 2012 22:49:20 +0000 (22:49 +0000)]
Fall back to taking tree textures from Terrain/ if they are not found under
Terrain.high, consistent with the other textures in materials.xml.
Also fix comment.
Olaf Flebbe [Sun, 8 Jan 2012 21:41:42 +0000 (22:41 +0100)]
disable annoying clang warning
ThorstenB [Fri, 10 Feb 2012 21:36:24 +0000 (22:36 +0100)]
Olaf Flebbe: Avoid infinite recursion in simgear::Dir::create
when using it with a relative path.
Stuart Buchanan [Tue, 7 Feb 2012 21:12:41 +0000 (21:12 +0000)]
Retire tree-density and wood-size, as they have been superseded by object masking.
Stuart Buchanan [Sun, 5 Feb 2012 23:05:57 +0000 (23:05 +0000)]
Random object and vegetation masking based on bitmap file.
Also adds a property controlling vegetation density.
ThorstenB [Sun, 29 Jan 2012 13:39:48 +0000 (14:39 +0100)]
Move JPEG dependency
Alas, JPEG_FACTORY is in SimGearScene, not SimGearCore...
ThorstenB [Sun, 29 Jan 2012 13:28:49 +0000 (14:28 +0100)]
Correct dependency of shared simgear libraries with enabled JPEG_FACTORY.
Mathias Froehlich [Thu, 19 Jan 2012 06:33:56 +0000 (07:33 +0100)]
Improve the compressed texture message.
Stuart Buchanan [Tue, 17 Jan 2012 22:13:42 +0000 (22:13 +0000)]
Switch Impostors off by default, set reasonabl LOD and Impostor ranges.
Stuart Buchanan [Sat, 17 Dec 2011 13:02:54 +0000 (13:02 +0000)]
Improved 3D clouds
1) Impostors
2) One drawable per cloud rather than a single drawable shared by all clouds.
Torsten Dreyer [Tue, 17 Jan 2012 07:35:57 +0000 (08:35 +0100)]
bump version number to 2.7.0