]>
git.mxchange.org Git - simgear.git/log
Torsten Dreyer [Mon, 17 Jan 2011 18:51:29 +0000 (19:51 +0100)]
Fix bug in SGMisc<T>:: normalizePeriodic()
SGMisc<T>::normalizePeriodic(min,max,value) returned zero for
all values less than min.
Example:
A call of normalizePeriodic(0,twopi(),-pi()) returned zero
where the correct value would be 3*pi().
James Turner [Thu, 13 Jan 2011 22:14:37 +0000 (22:14 +0000)]
Olaf Flebbe: Decrease required OSG version.
Frederic Bouvier [Sat, 8 Jan 2011 13:55:22 +0000 (14:55 +0100)]
MSVC fix: deambiguiate function calls
Torsten Dreyer [Sat, 8 Jan 2011 12:06:25 +0000 (13:06 +0100)]
SGExpression bugfix: allow <sin> within <product>
Torsten Dreyer [Fri, 7 Jan 2011 21:43:46 +0000 (22:43 +0100)]
Add <expression> to animations
Allow complex animation expressions
Example: translate along the y-axis following a sin
function.
<animation>
<type>translate</type>
<axis>
<y>1</y>
</axis>
<expression>
<sin>
<product>
<property>/some/position-norm</property>
<value>6.28</value>
</product>
</sin>
</expression>
</animation>
Frederic Bouvier [Wed, 5 Jan 2011 08:54:50 +0000 (09:54 +0100)]
Remove the dependency to boost serialization
Curtis L. Olson [Mon, 3 Jan 2011 13:55:45 +0000 (07:55 -0600)]
Merge branch 'next' of gitorious.org:fg/simgear into next
Curtis L. Olson [Mon, 3 Jan 2011 13:54:31 +0000 (07:54 -0600)]
Update simgear version number to keep pace with FlightGear.
James Turner [Mon, 3 Jan 2011 09:48:31 +0000 (09:48 +0000)]
Better MSVC Boost serialization fix from Olaf
Frederic Bouvier [Sun, 2 Jan 2011 18:44:04 +0000 (19:44 +0100)]
Cmake: use build postfix
Frederic Bouvier [Sun, 2 Jan 2011 17:45:14 +0000 (18:45 +0100)]
Cmake: Right way to search for include files
Frederic Bouvier [Sun, 2 Jan 2011 17:01:57 +0000 (18:01 +0100)]
Cmake: MSVC_3RDPARTY_DIR is a path, not an option
James Turner [Sat, 1 Jan 2011 21:06:43 +0000 (21:06 +0000)]
Cmake: 3RDPARTY_DIR fixes from Olaf Flebbe
Torsten Dreyer [Fri, 31 Dec 2010 12:31:09 +0000 (13:31 +0100)]
handle NCD (nil clouds detected) in METAR
Tim Moore [Wed, 29 Dec 2010 17:12:56 +0000 (18:12 +0100)]
Merge remote branch 'gitorious/next' into next
Tim Moore [Wed, 29 Dec 2010 17:12:44 +0000 (18:12 +0100)]
cmake improvements for shared library build
Tim Moore [Wed, 29 Dec 2010 17:09:23 +0000 (18:09 +0100)]
Issue 110: fix pick animation interaction with effects
Set OVERRIDE and PROTECTED attributes on pick animation state
attributes. Set up attributes and add a colorMode uniform so that the
default shader will take color and alpha values from the
material. Also, add a DotOsg writer method for ConditionNode.
James Turner [Tue, 28 Dec 2010 13:38:05 +0000 (13:38 +0000)]
Uninstall support, pinched from OSG.
James Turner [Tue, 28 Dec 2010 13:32:54 +0000 (13:32 +0000)]
MSVC improvements from Olaf Flebbe.
Tim Moore [Sun, 26 Dec 2010 17:34:00 +0000 (18:34 +0100)]
set data variance to DYNAMIC for animated effect attributes
James Turner [Mon, 20 Dec 2010 14:46:53 +0000 (14:46 +0000)]
64-bit compatability tweak from papillion
James Turner [Sun, 19 Dec 2010 19:08:14 +0000 (19:08 +0000)]
Create version.h during SimGear CMake build
James Turner [Fri, 26 Nov 2010 10:04:54 +0000 (10:04 +0000)]
Initial work on CMake support for SimGear.
Erik Hofman [Mon, 13 Dec 2010 17:40:39 +0000 (18:40 +0100)]
Merge branch 'next' of git://gitorious.org/fg/simgear into next
Erik Hofman [Mon, 13 Dec 2010 17:40:08 +0000 (18:40 +0100)]
Remove unused files
Torsten Dreyer [Sun, 12 Dec 2010 21:18:10 +0000 (22:18 +0100)]
metar: add string constants for cloud coverages
Erik Hofman [Sun, 12 Dec 2010 19:23:08 +0000 (20:23 +0100)]
Merge branch 'next' of git://gitorious.org/fg/simgear into next
Erik Hofman [Sun, 12 Dec 2010 13:07:44 +0000 (14:07 +0100)]
Update the bad-doppler test and simplify it to only test for bad platforms.
Csaba Halasz [Sat, 11 Dec 2010 23:23:06 +0000 (00:23 +0100)]
Compilation fix: add missing #include to SGPagedLod.cxx, needed by OSG 2.9.11
Torsten Dreyer [Thu, 9 Dec 2010 08:06:40 +0000 (09:06 +0100)]
Make the max. opacity of a 2d cloud settable
Torsten Dreyer [Sat, 4 Dec 2010 11:02:38 +0000 (12:02 +0100)]
Metar: symbolic cloudnames and phenomena exposure
- use symbolic names for scattered, broken, overcast, etc. cloud
coverages.
- better approach to expose weather phenomena to the interface
Torsten Dreyer [Sat, 27 Nov 2010 20:04:04 +0000 (21:04 +0100)]
Expose weather phenomena to the SGMetar interface
Anders Gidenstam [Fri, 26 Nov 2010 20:49:30 +0000 (21:49 +0100)]
simgear/scene/sky/sky.cxx: Include sg_inlines.h with simgear/ prefix as all other simgear includes.
Torsten Dreyer [Fri, 26 Nov 2010 18:24:44 +0000 (19:24 +0100)]
Make visibility within cloudlayers settable
Frederic Bouvier [Sat, 20 Nov 2010 20:42:10 +0000 (21:42 +0100)]
Update VS2010 projects
Frederic Bouvier [Sat, 20 Nov 2010 13:23:20 +0000 (14:23 +0100)]
Update VS2010 projects
Frederic Bouvier [Sat, 20 Nov 2010 13:20:35 +0000 (14:20 +0100)]
Compile PropertyObject under Windows
James Turner [Sat, 20 Nov 2010 13:08:01 +0000 (13:08 +0000)]
Build propertyObject on MSVC2008
James Turner [Sat, 20 Nov 2010 12:25:11 +0000 (04:25 -0800)]
PropertyObject ::create tests.
James Turner [Sat, 20 Nov 2010 11:31:42 +0000 (03:31 -0800)]
Shrink PropertyObjectBase by a pointer, don't pull exception header into the header.
James Turner [Sat, 20 Nov 2010 10:49:04 +0000 (02:49 -0800)]
PropertyObject enhancements, unit-test for make check
Torsten Dreyer [Sat, 20 Nov 2010 10:05:45 +0000 (11:05 +0100)]
A sum without diff is like foo without bar
Add a <difference> aka <diff> to SGExpression to compute
differences
ThorstenB [Fri, 19 Nov 2010 12:39:20 +0000 (13:39 +0100)]
Current timestamps for forced scenery loading.
Priorities during forced model loads won't work unless using current framestamps...
ThorstenB [Fri, 19 Nov 2010 12:36:50 +0000 (13:36 +0100)]
Fixed invalid character in source file.
Removed illegal character (0xc). How did this happen???
ThorstenB [Fri, 19 Nov 2010 12:33:12 +0000 (13:33 +0100)]
Improved tile cache priority scheme.
Use priorities for loading/unloading.
Maintain an expiry time for each tile.
Replaced "cache lock" by "current view" flag.
James Turner [Thu, 18 Nov 2010 20:23:40 +0000 (20:23 +0000)]
Merge branch 'topics/propobj' into next
James Turner [Sat, 6 Nov 2010 14:39:52 +0000 (14:39 +0000)]
Initial propertyObject work.
Torsten Dreyer [Thu, 18 Nov 2010 11:08:16 +0000 (12:08 +0100)]
Purge some gcc and MSVC warnings
Tim Moore [Wed, 17 Nov 2010 07:52:32 +0000 (08:52 +0100)]
eliminate property node path cache
The property path cache was making very little difference in practice
and made the eventual goal of having the property tree be thread safe
for readers more difficult to attain.
James Turner [Mon, 15 Nov 2010 23:23:40 +0000 (23:23 +0000)]
Tighten up name filters on Unix. Fixes bug 168.
ThorstenB [Sun, 14 Nov 2010 14:09:36 +0000 (15:09 +0100)]
remove old .cvsignore files
Hello GIT!
Curtis L. Olson [Fri, 12 Nov 2010 21:52:33 +0000 (15:52 -0600)]
Fix setsockopt() to match previous precident of setsockopt() usage (as seen
later in the setBroadcast() function.)
Frederic Bouvier [Fri, 12 Nov 2010 21:03:11 +0000 (22:03 +0100)]
Fix setsockopt call
Curtis L. Olson [Fri, 12 Nov 2010 19:19:57 +0000 (13:19 -0600)]
Patch to avoid the problem of the socket resource not yet being available
if the program is restarted quickly after being killed.
Reference: http://www.unixguide.net/network/socketfaq/4.5.shtml
Frederic Bouvier [Sun, 7 Nov 2010 19:01:18 +0000 (20:01 +0100)]
Update VS2010 projects : use Boost 1.44.0
Frederic Bouvier [Sun, 7 Nov 2010 09:31:13 +0000 (10:31 +0100)]
Don't crash on exit
Frederic Bouvier [Sat, 6 Nov 2010 16:02:16 +0000 (17:02 +0100)]
Update VS2008 projects : use Boost 1.44.0 available in last 3rd Party archive
ThorstenB [Fri, 5 Nov 2010 19:07:50 +0000 (20:07 +0100)]
Fixed METAR. Make loader fully HTTP compliant.
HTTP protocol requires a "Host:" line.
The old noaa server didn't mind. Now it does...
James Turner [Fri, 5 Nov 2010 09:19:22 +0000 (09:19 +0000)]
Formal shutdown interface on SGSubsystem.
Frederic Bouvier [Thu, 4 Nov 2010 21:20:08 +0000 (22:20 +0100)]
Update Vs2010 projects
James Turner [Thu, 4 Nov 2010 18:54:18 +0000 (18:54 +0000)]
Fix ConditionNode Win32 compilation.
James Turner [Thu, 4 Nov 2010 18:49:24 +0000 (18:49 +0000)]
Make subsystem group destruction explicit, so get_subsystem calls during destruction are safe.
Tim Moore [Thu, 4 Nov 2010 14:04:03 +0000 (15:04 +0100)]
Add ConditionNode files to VC90 project
Tim Moore [Thu, 4 Nov 2010 10:04:13 +0000 (11:04 +0100)]
add SGMath.hxx header file to ConditionNode.cxx
Apparently necessary for MSVC 2008.
Tim Moore [Thu, 4 Nov 2010 09:06:13 +0000 (10:06 +0100)]
issue 165: fix material animation condition problem
The evaluation of the condition is moved to a ConditionNode and
separated from the animation of values via properties. Previously the
conditional application of static values was broken.
Tim Moore [Thu, 4 Nov 2010 06:01:38 +0000 (07:01 +0100)]
add ConditionNode scenegraph node
This class directs its scenegraph traversal by evaluating a condition
and doesn't rely on an update callback.
ThorstenB [Sat, 30 Oct 2010 18:53:19 +0000 (20:53 +0200)]
Show compiler warnings by default.
James Turner [Sat, 30 Oct 2010 18:18:57 +0000 (19:18 +0100)]
Add platform defines to SimGear, and a replacement for ulSleep functions.
Frederic Bouvier [Fri, 29 Oct 2010 17:47:44 +0000 (19:47 +0200)]
Fix line endings
Frederic Bouvier [Fri, 29 Oct 2010 07:30:59 +0000 (09:30 +0200)]
Quick hack to remote trailing / on Windows. Feel free to replace by something more elegant
ThorstenB [Thu, 28 Oct 2010 17:39:55 +0000 (19:39 +0200)]
Merge branch 'integration' into next
James Turner [Tue, 26 Oct 2010 09:09:55 +0000 (10:09 +0100)]
Fix build when OSG implict-ref-ptr conversion is disabled.
Frederic Bouvier [Mon, 25 Oct 2010 19:59:55 +0000 (21:59 +0200)]
Add mipmap.* to the unix build system
Frederic Bouvier [Mon, 25 Oct 2010 19:51:27 +0000 (21:51 +0200)]
Add a function to debug mipmaps
Frederic Bouvier [Sun, 24 Oct 2010 07:30:16 +0000 (09:30 +0200)]
Update Vs2010 projects
Frederic Bouvier [Wed, 13 Oct 2010 07:37:02 +0000 (09:37 +0200)]
Unix line endings
Frederic Bouvier [Wed, 13 Oct 2010 07:18:38 +0000 (09:18 +0200)]
Restore commit
48c6d3d89ad by Torsten Dreyer: Provide a little more descriptive error message if TextureBuilder fails
Frederic Bouvier [Wed, 13 Oct 2010 07:06:21 +0000 (09:06 +0200)]
Don't compute mipmap for inexistant image color components
Frederic Bouvier [Sun, 10 Oct 2010 14:51:37 +0000 (16:51 +0200)]
Add mipmap control in the effect file
Frederic Bouvier [Sat, 9 Oct 2010 12:52:05 +0000 (14:52 +0200)]
Untabify
Frederic Bouvier [Sun, 24 Oct 2010 07:24:13 +0000 (09:24 +0200)]
Update Vs2010 projects
James Turner [Sun, 24 Oct 2010 00:22:59 +0000 (01:22 +0100)]
Build fixes for net classes in Simgear.
James Turner [Sat, 23 Oct 2010 19:07:35 +0000 (20:07 +0100)]
Migrate relevant PLIB netXXX classes into SimGear.
ThorstenB [Sat, 23 Oct 2010 12:47:24 +0000 (14:47 +0200)]
Buffer size safety.
Do not look for '\n' beyond valid data area.
Obey buffer length (in case a METAR contained a line > 512byte).
Torsten Dreyer [Tue, 12 Oct 2010 14:21:38 +0000 (16:21 +0200)]
Provide a little more descriptive error message if TextureBuilder fails
Frederic Bouvier [Sat, 9 Oct 2010 06:45:52 +0000 (08:45 +0200)]
Add project.* to MSVC project files
Tim Moore [Fri, 8 Oct 2010 21:42:10 +0000 (23:42 +0200)]
replace glu functions with equivalents from OSG
Torsten Dreyer [Thu, 7 Oct 2010 15:43:35 +0000 (17:43 +0200)]
Merge branch 'next' of gitorious.org:fg/simgear into next
Torsten Dreyer [Tue, 5 Oct 2010 20:39:41 +0000 (22:39 +0200)]
Don't crash in strutils::trim() with empty strings
Frederic Bouvier [Tue, 5 Oct 2010 06:32:00 +0000 (08:32 +0200)]
Merge branch 'next' of git://gitorious.org/fg/simgear into next
Frederic Bouvier [Tue, 5 Oct 2010 06:30:52 +0000 (08:30 +0200)]
Use same transformation for generated ocean tiles than for regular tiles. Fix the normal orientation that broke the new water shader
James Turner [Sun, 3 Oct 2010 15:08:34 +0000 (16:08 +0100)]
Make get_subsystem safe during destruction of the manager.
Tim Moore [Sat, 2 Oct 2010 21:00:59 +0000 (23:00 +0200)]
Thorsten Renk's fix for tile manager problems
Locking tiles in cache keeps tiles from mysteriously disappearing.
James Turner [Sat, 2 Oct 2010 20:01:29 +0000 (21:01 +0100)]
Don't crash when a submodel fails to load.
James Turner [Fri, 1 Oct 2010 11:27:08 +0000 (12:27 +0100)]
Add another overload for sg_io_exception ctor.
Torsten Dreyer [Mon, 27 Sep 2010 17:38:15 +0000 (19:38 +0200)]
tolerate NDV (no directional validation) in METAR
Torsten Dreyer [Thu, 23 Sep 2010 08:27:06 +0000 (10:27 +0200)]
Ivan Ngeow: Fix build on FreeBSD
FreeBSD 8.0-RELEASE, only a very small patch needed
to be applied to simgear/simgear/compiler.h, to add
so that __FreeBSD_version is defined.
Torsten Dreyer [Sun, 19 Sep 2010 08:53:25 +0000 (10:53 +0200)]
Fix wrong movement of 2d cloud layers on N/S courses
Frederic Bouvier [Sun, 12 Sep 2010 10:06:57 +0000 (12:06 +0200)]
Fix MSVC 100 project files updated by hand
Erik Hofman [Fri, 10 Sep 2010 13:02:37 +0000 (15:02 +0200)]
Set the listener position to it's default value, just like the samples position