Tim Moore [Thu, 2 Aug 2012 15:26:31 +0000 (17:26 +0200)]
bug: 823 change rotation animation to use a subclass of SGRotateTransform
The animation is implemented in the computeWorldToLocalMatrix() and
computeLocalToWorldMatrix() virtual functions. Doing the animation in a cull
callback breaks picking.
Fix for http://code.google.com/p/flightgear-bugs/issues/detail?id=823
Suppress unnecessary "failed alias" warnings
when requested alias matches existing alias anyway (identical aliases can
be created on repeated sim resets)
Stuart Buchanan [Fri, 6 Jul 2012 20:38:15 +0000 (21:38 +0100)]
Fix 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 [Wed, 4 Jul 2012 23:10:07 +0000 (00:10 +0100)]
Fix 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.
ThorstenB [Tue, 26 Jun 2012 21:17:07 +0000 (23:17 +0200)]
Bump version to 2.8.0
since "next" is already frozen for 2.8 and is prepared for building the
first release candidate.
For details on versions see http://wiki.flightgear.org/Release_plan
ThorstenB [Sun, 24 Jun 2012 18:04:26 +0000 (20:04 +0200)]
#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 [Sun, 24 Jun 2012 17:18:47 +0000 (19:18 +0200)]
Fix 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.
James Turner [Wed, 20 Jun 2012 17:44:16 +0000 (19:44 +0200)]
Improve ALUT framework detection (for Mac)
Latest Xcode no longer searches /Library/Frameworks by default which exposed an issue here. Search for the header by the correct name to trigger special -F handling in cmake.
ThorstenB [Fri, 4 May 2012 22:07:07 +0000 (00:07 +0200)]
Move 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.
Stuart Buchanan [Fri, 4 May 2012 20:12:41 +0000 (21:12 +0100)]
Fixes to Random Buildings:
1) Correct texture mapping so textures aren't flipped!
2) Add constraints to medium buildings (not taller than they are wide)
Allow "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.
Stuart Buchanan [Sat, 28 Apr 2012 19:02:42 +0000 (20:02 +0100)]
Reduce 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.
#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).
Revert "Add virtual destructor to SGReferenced."
As suggested by Mathias, will use different solution.
This reverts commit 4abcf3215f6322c467718c69d0968e123231f9fa.
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
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
Add a <dim-factor> parameter in the light animation
<dim-factor> contains a <property> element, and optionally <factor>,
<offset>, <expression>, <interpolation>, <min> and <max>