]> git.mxchange.org Git - simgear.git/log
simgear.git
12 years agoCorrect index used by building.eff for lightmap.
Stuart Buchanan [Thu, 12 Jul 2012 15:31:27 +0000 (16:31 +0100)]
Correct index used by building.eff for lightmap.

12 years agoSuppress unnecessary "failed alias" warnings
ThorstenB [Sat, 7 Jul 2012 14:05:02 +0000 (16:05 +0200)]
Suppress unnecessary "failed alias" warnings
when requested alias matches existing alias anyway (identical aliases can
be created on repeated sim resets)

12 years agoFix bug where two references to a png object mask used against
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!

12 years agoFix further possible memory leaks by using osg::ref_ptr for vertex
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.

12 years agoFix a memory leak in random buildings.
Stuart Buchanan [Wed, 4 Jul 2012 18:50:20 +0000 (19:50 +0100)]
Fix a memory leak in random buildings.

12 years agoAdd SimGear RPM package spec file.
ThorstenB [Mon, 2 Jul 2012 19:51:40 +0000 (21:51 +0200)]
Add SimGear RPM package spec file.
Example for Linux package builders.

12 years agoWorking 'noshadow' animation
Frederic Bouvier [Sat, 30 Jun 2012 14:25:21 +0000 (16:25 +0200)]
Working 'noshadow' animation

12 years agoBump version to 2.8.0
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

12 years agoUpdate README/INSTALL documentation.
ThorstenB [Tue, 26 Jun 2012 20:43:48 +0000 (22:43 +0200)]
Update README/INSTALL documentation.

12 years agoDon't render ocean tiles in the light pass
Frederic Bouvier [Mon, 25 Jun 2012 15:55:46 +0000 (17:55 +0200)]
Don't render ocean tiles in the light pass

12 years agoFix a typo
Frederic Bouvier [Mon, 25 Jun 2012 09:58:49 +0000 (11:58 +0200)]
Fix a typo

12 years agoAdd header file to the cmake project
Frederic Bouvier [Mon, 25 Jun 2012 09:58:22 +0000 (11:58 +0200)]
Add header file to the cmake project

12 years agoDuplicate light effect when animation is requested. Make dimmed lights work in multip...
Frederic Bouvier [Sun, 24 Jun 2012 21:06:12 +0000 (23:06 +0200)]
Duplicate light effect when animation is requested. Make dimmed lights work in multiplayer

12 years ago#744: Raise warning level when reporting missing svn library.
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.

12 years agoFix error handling in SGSampleGroup::stop
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.

12 years agoRemove (un-maintained) MSVC projects from the tree prior to the next release.
James Turner [Sat, 23 Jun 2012 08:26:28 +0000 (10:26 +0200)]
Remove (un-maintained) MSVC projects from the tree prior to the next release.

12 years agoTaxiway signs: print out more meaningful error messages on wrong size
Christian Schmitt [Wed, 20 Jun 2012 10:54:41 +0000 (12:54 +0200)]
Taxiway signs: print out more meaningful error messages on wrong size
settings and fall back to the default value in such cases.

12 years agoUse standard version of FindPackageStandardArgs, no need to copy it.
James Turner [Thu, 21 Jun 2012 08:21:26 +0000 (10:21 +0200)]
Use standard version of FindPackageStandardArgs, no need to copy it.

12 years agoImprove ALUT framework detection (for Mac)
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.

12 years agoDo not attempt to reposition non-existant clouds.
Stuart Buchanan [Tue, 19 Jun 2012 21:04:17 +0000 (22:04 +0100)]
Do not attempt to reposition non-existant clouds.

Defensive workaround to Issue 678.

12 years agoPatch clean-up
ThorstenB [Tue, 19 Jun 2012 20:15:33 +0000 (22:15 +0200)]
Patch clean-up

12 years ago- stop sounds when removing a sound group
Harald JOHNSEN [Sun, 10 Jun 2012 11:01:57 +0000 (13:01 +0200)]
- stop sounds when removing a sound group

12 years agoSigns change <= to <
Markus Pargmann [Mon, 18 Jun 2012 08:00:29 +0000 (10:00 +0200)]
Signs change <= to <

12 years agoAirport sign size 3 bugfix
Markus Pargmann [Sun, 17 Jun 2012 10:50:44 +0000 (12:50 +0200)]
Airport sign size 3 bugfix

12 years agoAvoid an annoying OSG warning
Frederic Bouvier [Sun, 17 Jun 2012 15:52:17 +0000 (17:52 +0200)]
Avoid an annoying OSG warning

12 years agoTaxiway signs: support all variants from the apt.dat 850 spec and
Christian Schmitt [Sat, 12 May 2012 20:55:06 +0000 (22:55 +0200)]
Taxiway signs: support all variants from the apt.dat 850 spec and
read size values from the optional stg column

12 years agoAdd helper method for optional stg values
Christian Schmitt [Tue, 12 Jun 2012 07:10:26 +0000 (09:10 +0200)]
Add helper method for optional stg values

Anders Gidenstam: Style and indentation.

12 years agoStatic or shared objects are not light volumes (but can include some)
Frederic Bouvier [Mon, 11 Jun 2012 07:12:47 +0000 (09:12 +0200)]
Static or shared objects are not light volumes (but can include some)

12 years agoTerrain tiles are not light volumes
Frederic Bouvier [Mon, 11 Jun 2012 07:11:52 +0000 (09:11 +0200)]
Terrain tiles are not light volumes

12 years agoremove some warnings for MSVC
Harald JOHNSEN [Tue, 29 May 2012 17:59:54 +0000 (19:59 +0200)]
remove some warnings for MSVC

don't start to play sounds that are out of range of the listener

12 years agoDrop obsolete TODO
ThorstenB [Fri, 8 Jun 2012 11:53:15 +0000 (13:53 +0200)]
Drop obsolete TODO

12 years agoAdd INSTALL and README.cmake files.
ThorstenB [Fri, 8 Jun 2012 11:10:47 +0000 (13:10 +0200)]
Add INSTALL and README.cmake files.

12 years agoFix lights when added as submodels
Frederic Bouvier [Thu, 31 May 2012 18:22:40 +0000 (20:22 +0200)]
Fix lights when added as submodels

12 years agoRestore lights in the Rembrandt renderer
Frederic Bouvier [Wed, 30 May 2012 20:18:57 +0000 (22:18 +0200)]
Restore lights in the Rembrandt renderer

12 years agoMerge a tweak from Tat to keep Mac 10.5 from crashing on realpath
James Turner [Wed, 30 May 2012 10:08:11 +0000 (11:08 +0100)]
Merge a tweak from Tat to keep Mac 10.5 from crashing on realpath

12 years agoKIll of SimGear route code, it's no longer used by anything.
James Turner [Wed, 30 May 2012 10:07:36 +0000 (11:07 +0100)]
KIll of SimGear route code, it's no longer used by anything.

12 years agoAdd logging for the total number of random buildings generated.
Stuart Buchanan [Fri, 25 May 2012 18:47:45 +0000 (19:47 +0100)]
Add logging for the total number of random buildings generated.

12 years agoRunway signs: avoid adding empty group without signs.
Mathias Froehlich [Mon, 21 May 2012 05:18:55 +0000 (07:18 +0200)]
Runway signs: avoid adding empty group without signs.

12 years agoClement de l'Hamaide: Add support for pitch and roll for OBJECT_SHARED and OBJECT_STA...
Anders Gidenstam [Sun, 20 May 2012 19:49:08 +0000 (21:49 +0200)]
Clement de l'Hamaide: Add support for pitch and roll for OBJECT_SHARED and OBJECT_STATIC in .stg files.

Pitch and roll behave the same as pitch-deg and roll-deg offsets in
model XML files.

12 years agoTry to exclude unwanted geometry in the additional light pass
Frederic Bouvier [Sun, 20 May 2012 13:42:55 +0000 (15:42 +0200)]
Try to exclude unwanted geometry in the additional light pass

12 years agoRemove redundant inclusion of SGMath.hxx
Frederic Bouvier [Sun, 20 May 2012 09:49:31 +0000 (11:49 +0200)]
Remove redundant inclusion of SGMath.hxx

12 years agoRevert "Hack to avoid redrawing the whole scene another time when only light volume...
Frederic Bouvier [Sat, 19 May 2012 18:41:58 +0000 (20:41 +0200)]
Revert "Hack to avoid redrawing the whole scene another time when only light volume are requested"

This reverts commit e692e7c119c67662f63fec7c3761baf7d4b4cef1.

12 years agoHack to avoid redrawing the whole scene another time when only light volume are requested
Frederic Bouvier [Sat, 19 May 2012 17:39:38 +0000 (19:39 +0200)]
Hack to avoid redrawing the whole scene another time when only light volume are requested

12 years agoReaderWriterSPT: Cull out tiles that we look at from downside.
Mathias Froehlich [Sat, 19 May 2012 14:09:58 +0000 (16:09 +0200)]
ReaderWriterSPT: Cull out tiles that we look at from downside.

Add a cull callback that culls away complete tile areas that
we look at from the far away downside.

12 years agoAllow to change texture buffer name on the fly
Frederic Bouvier [Fri, 18 May 2012 10:27:08 +0000 (12:27 +0200)]
Allow to change texture buffer name on the fly

12 years ago#767 related: fix sound resource management
ThorstenB [Sat, 12 May 2012 21:35:10 +0000 (23:35 +0200)]
#767 related: fix sound resource management
Use _smgr->release_buffer instead of direct alDeleteBuffers.

12 years agoAllow to specify buffer name from parameters in effects
Frederic Bouvier [Wed, 9 May 2012 21:31:06 +0000 (23:31 +0200)]
Allow to specify buffer name from parameters in effects

12 years agoUse names to identify deferred buffers
Frederic Bouvier [Sun, 15 Apr 2012 12:51:20 +0000 (14:51 +0200)]
Use names to identify deferred buffers
Change effect syntax for buffers

12 years agoUpdated sign case UV calculation from Christian.
James Turner [Fri, 11 May 2012 09:00:35 +0000 (10:00 +0100)]
Updated sign case UV calculation from Christian.

12 years agobuild signs for an STG into single geometry.
James Turner [Tue, 8 May 2012 12:29:34 +0000 (13:29 +0100)]
build signs for an STG into single geometry.

12 years agoPhase 1 - single geometry per material
James Turner [Tue, 8 May 2012 08:47:42 +0000 (09:47 +0100)]
Phase 1 - single geometry per material

12 years agoUpdates to buildings and trees
Stuart Buchanan [Thu, 10 May 2012 22:03:38 +0000 (23:03 +0100)]
Updates to buildings and trees
1) Clean up after ourselves - remove memory leak
2) Face buildings the right way

12 years agoAdd support for double-sided taxiway signs and create 3D models for them
Christian Schmitt [Wed, 25 Apr 2012 15:36:11 +0000 (17:36 +0200)]
Add support for double-sided taxiway signs and create 3D models for them

12 years agoRemove unused SGMakeRunwaySign function.
Christian Schmitt [Thu, 3 May 2012 14:35:47 +0000 (16:35 +0200)]
Remove unused SGMakeRunwaySign function.

12 years agoRemove redundant inclusion of math/SGMath.hxx
Frederic Bouvier [Sat, 5 May 2012 09:19:20 +0000 (11:19 +0200)]
Remove redundant inclusion of math/SGMath.hxx

12 years agoFix C compiler warning.
ThorstenB [Sat, 5 May 2012 07:46:11 +0000 (09:46 +0200)]
Fix C compiler warning.
"no-overloaded-virtual" warnings are a CXX-compiler feature

12 years agoFix rpmlint/Linux packager complaints
ThorstenB [Fri, 4 May 2012 23:41:45 +0000 (01:41 +0200)]
Fix rpmlint/Linux packager complaints
about outdated/invalid FSF address in some license headers.

12 years agoFix rpmlint/Linux packager complaints
ThorstenB [Fri, 4 May 2012 22:30:16 +0000 (00:30 +0200)]
Fix rpmlint/Linux packager complaints
about outdated/invalid FSF address in some license headers.

12 years agoopenSUSE "more architectures" patch
ThorstenB [Fri, 4 May 2012 22:18:26 +0000 (00:18 +0200)]
openSUSE "more architectures" patch
(Alpha anyone? ;-) )

12 years agoMove vector property templates to separate header file.
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.

12 years agoGanael Laplanche: fix include dependencies for FreeBSD support
ThorstenB [Fri, 4 May 2012 21:24:10 +0000 (23:24 +0200)]
Ganael Laplanche: fix include dependencies for FreeBSD support

12 years agoFix signed vs unsigned compiler warnings
ThorstenB [Fri, 4 May 2012 21:13:54 +0000 (23:13 +0200)]
Fix signed vs unsigned compiler warnings

12 years agoFixes to Random Buildings:
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)

12 years agoRevert "Temporary hack to make the new version of expat build under windows"
Frederic Bouvier [Fri, 4 May 2012 18:48:04 +0000 (20:48 +0200)]
Revert "Temporary hack to make the new version of expat build under windows"
A proper fix has been provided

This reverts commit 655971208fb491628e610788d1b4d1e581755573.

12 years agoChange how HAVE_EXPAT_CONFIG_H is defined, to hopefully fix MSVC properly.
James Turner [Fri, 4 May 2012 09:10:46 +0000 (10:10 +0100)]
Change how HAVE_EXPAT_CONFIG_H is defined, to hopefully fix MSVC properly.

12 years agoTemporary hack to make the new version of expat build under windows
Frederic Bouvier [Fri, 4 May 2012 07:09:11 +0000 (09:09 +0200)]
Temporary hack to make the new version of expat build under windows

12 years agoMissed files from previous commit, needed for Windows.
James Turner [Thu, 3 May 2012 17:55:13 +0000 (18:55 +0100)]
Missed files from previous commit, needed for Windows.

12 years agoUpdate to latest expat for improved BOM / encoding handling.
James Turner [Thu, 3 May 2012 16:29:16 +0000 (17:29 +0100)]
Update to latest expat for improved BOM / encoding handling.

(Related to http://code.google.com/p/flightgear-bugs/issues/detail?id=635)

12 years agoEmissive lighting for random buildings. Requires up to date fgdata.
Stuart Buchanan [Tue, 1 May 2012 21:35:42 +0000 (22:35 +0100)]
Emissive lighting for random buildings.  Requires up to date fgdata.

12 years agoAllow "texture-path" XML entries to be present but empty.
ThorstenB [Mon, 30 Apr 2012 16:29:44 +0000 (18:29 +0200)]
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.

12 years agoUse observer_ptr to cache light effects
Frederic Bouvier [Sun, 29 Apr 2012 11:25:15 +0000 (13:25 +0200)]
Use observer_ptr to cache light effects

12 years agoNasal is C code, not C++
Frederic Bouvier [Sat, 28 Apr 2012 22:17:38 +0000 (00:17 +0200)]
Nasal is C code, not C++

12 years agoUse Effects system for random buildings.
Stuart Buchanan [Sat, 28 Apr 2012 22:11:52 +0000 (23:11 +0100)]
Use Effects system for random buildings.

12 years agoStrange, somehow missed this file in last commit.
James Turner [Sat, 28 Apr 2012 22:08:05 +0000 (23:08 +0100)]
Strange, somehow missed this file in last commit.

12 years agoNasal Ghosts can optionally specify member get/set functions.
James Turner [Sat, 28 Apr 2012 21:25:57 +0000 (22:25 +0100)]
Nasal Ghosts can optionally specify member get/set functions.

12 years agoReduce the number of Drawables generated by the random buildings by reducing the...
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.

12 years agoChange random object placement to a grid-like scheme to reduce building overlap.
Stuart Buchanan [Sat, 28 Apr 2012 18:58:09 +0000 (19:58 +0100)]
Change random object placement to a grid-like scheme to reduce building overlap.

12 years agoImplement blinking hold-short line lights
Christian Schmitt [Fri, 30 Mar 2012 17:17:59 +0000 (19:17 +0200)]
Implement blinking hold-short line lights
This is supported by the apt.dat 850 format and latest TG

12 years agoConvert random buildings to avoid use of BIND_PER_PRIMITVE.
James Turner [Wed, 25 Apr 2012 23:18:47 +0000 (00:18 +0100)]
Convert random buildings to avoid use of BIND_PER_PRIMITVE.
(which pushes me to a slow OSG path)

12 years ago#717: Disabling advanced weather crashes the sim
ThorstenB [Wed, 25 Apr 2012 19:08:37 +0000 (21:08 +0200)]
#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).

12 years agoNo round function for MSVC (forgot the template argument)
Frederic Bouvier [Wed, 25 Apr 2012 06:59:04 +0000 (08:59 +0200)]
No round function for MSVC (forgot the template argument)

12 years agoNo round function for MSVC
Frederic Bouvier [Wed, 25 Apr 2012 06:54:57 +0000 (08:54 +0200)]
No round function for MSVC

12 years agoRandom buildings - initial commit.
Stuart Buchanan [Tue, 24 Apr 2012 21:00:35 +0000 (22:00 +0100)]
Random buildings - initial commit.

12 years agoFix latent bug in Nasal hash cget / cset functions, where the embedded string length
James Turner [Mon, 23 Apr 2012 21:29:54 +0000 (22:29 +0100)]
Fix latent bug in Nasal hash cget / cset functions, where the embedded string length
was set to an incorrect marker value.

12 years agoRevert "Add virtual destructor to SGReferenced."
ThorstenB [Mon, 23 Apr 2012 17:41:09 +0000 (19:41 +0200)]
Revert "Add virtual destructor to SGReferenced."
As suggested by Mathias, will use different solution.
This reverts commit 4abcf3215f6322c467718c69d0968e123231f9fa.

12 years agoMerge commit 'refs/merge-requests/22' of git://gitorious.org/fg/simgear into merge...
James Turner [Sun, 22 Apr 2012 19:21:45 +0000 (20:21 +0100)]
Merge commit 'refs/merge-requests/22' of git://gitorious.org/fg/simgear into merge-requests/22

12 years agoAdd virtual destructor to SGReferenced.
ThorstenB [Sat, 21 Apr 2012 18:50:07 +0000 (20:50 +0200)]
Add virtual destructor to SGReferenced.

12 years agoRevert "Remove ambient component of additional lights" because this was Yet Another...
Frederic Bouvier [Wed, 18 Apr 2012 17:56:31 +0000 (19:56 +0200)]
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

This reverts commit fe8ba57c9412c18681429c4cea6f37a6ef5ec14d.

12 years agoRemove ambient component of additional lights
Frederic Bouvier [Mon, 16 Apr 2012 06:25:59 +0000 (08:25 +0200)]
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

12 years agolight animation: avoid that similar effects are merged
Frederic Bouvier [Sat, 14 Apr 2012 21:16:23 +0000 (23:16 +0200)]
light animation: avoid that similar effects are merged

12 years agoEnsure uniform are there before trying to use them
Frederic Bouvier [Sat, 14 Apr 2012 16:00:42 +0000 (18:00 +0200)]
Ensure uniform are there before trying to use them

12 years agoAdd a <dim-factor> parameter in the light animation
Frederic Bouvier [Sat, 14 Apr 2012 07:57:20 +0000 (09:57 +0200)]
Add a <dim-factor> parameter in the light animation
<dim-factor> contains a <property> element, and optionally <factor>,
<offset>, <expression>, <interpolation>, <min> and <max>

12 years agoError messages when installing property aliases fails.
ThorstenB [Thu, 5 Apr 2012 18:03:07 +0000 (20:03 +0200)]
Error messages when installing property aliases fails.

12 years agoperformance monitor: start measurement interval with a fresh timestamp.
ThorstenB [Thu, 5 Apr 2012 17:30:00 +0000 (19:30 +0200)]
performance monitor: start measurement interval with a fresh timestamp.

12 years agoSet the filename as the OSG object name on shaders - should have done this years...
James Turner [Wed, 4 Apr 2012 15:44:23 +0000 (16:44 +0100)]
Set the filename as the OSG object name on shaders - should have done this years ago :)

12 years agoRevert "Disable LOD when rendering to the shadow map."
Frederic Bouvier [Mon, 2 Apr 2012 17:50:50 +0000 (19:50 +0200)]
Revert "Disable LOD when rendering to the shadow map."

This reverts commit b95fb48a162fcdea8ec1384c265dc799001c8bac.

12 years agoperformance monitor improvement
ThorstenB [Mon, 2 Apr 2012 18:26:17 +0000 (20:26 +0200)]
performance monitor improvement
Record cumulative time consumed (all time) and current total time (current
measurement only) for subsystems.

12 years agoUse observer_ptr::lock for thread-safe pointer retrieval.
ThorstenB [Mon, 2 Apr 2012 18:09:02 +0000 (20:09 +0200)]
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).

12 years agoDisable LOD when rendering to the shadow map.
Frederic Bouvier [Sun, 1 Apr 2012 21:06:32 +0000 (23:06 +0200)]
Disable LOD when rendering to the shadow map.
Produce few NaNs at start

12 years agoFix typo in SGGeodesy.
Mathias Froehlich [Sun, 1 Apr 2012 15:50:49 +0000 (17:50 +0200)]
Fix typo in SGGeodesy.

Pointed out by Carl Godkin.
Thanks!