]>
git.mxchange.org Git - simgear.git/log
Mathias Froehlich [Fri, 24 Aug 2012 19:20:40 +0000 (21:20 +0200)]
bvh: Implement paging for osg derived bvh trees.
Mathias Froehlich [Fri, 24 Aug 2012 19:20:40 +0000 (21:20 +0200)]
bvh: Add an abstract pager implementation.
Implement a paging implementation for bounding
volume hierarchy nodes. We will need this for
hla clients that need ground queries.
Mathias Froehlich [Fri, 24 Aug 2012 19:20:40 +0000 (21:20 +0200)]
bvh: Introduce BVHMaterial independent of SGMaterial.
The bounding volumes in core should not depend on scenery.
Therefore reference material properties relevant for the BVH
tree in BVHMaterial.
Mathias Froehlich [Fri, 24 Aug 2012 19:20:40 +0000 (21:20 +0200)]
bvh: Move the basic bounding volume tree functionality into core.
The basic boundignvolume implementation does only need math and
geometry. As such it is agnostic to the scenegraph being used.
Only the parts building this query structure from terrain
depend on the implementation of the terrain.
So, move this into the simgear core component.
James Turner [Wed, 22 Aug 2012 18:02:46 +0000 (19:02 +0100)]
Refactor mat.hxx header.
Avoid many includes in mat.hxx, so ground testing code (e.g., Yasim) doesn't end up pulling in many OSG and scene classes.
James Turner [Tue, 21 Aug 2012 22:49:30 +0000 (23:49 +0100)]
Fix more Linux warnings/errors.
(I'm away from the VM I would normally use to test such things before pushing, apologies for the churn)
James Turner [Tue, 21 Aug 2012 21:55:04 +0000 (22:55 +0100)]
Fix tests linkage when building static libs.
James Turner [Tue, 21 Aug 2012 21:49:36 +0000 (22:49 +0100)]
Unbreak Linux: malloc() needs <cstdlib>
James Turner [Tue, 21 Aug 2012 18:25:33 +0000 (19:25 +0100)]
Remove a couple of lingering alut references.
James Turner [Tue, 21 Aug 2012 12:18:45 +0000 (13:18 +0100)]
Remove ALUT usage from SimGear .
Adapt the freealut code into a WAV-file reader. As a side-effect, it would now be possible to deploy WAV files compressed with gzip, since we use ZLib's gzread functions to read from disk.
Frederic Bouvier [Sat, 18 Aug 2012 12:53:14 +0000 (14:53 +0200)]
Compatibility fix
ThorstenB [Fri, 17 Aug 2012 21:48:41 +0000 (23:48 +0200)]
Christoph Korn/PlayDeb.net: support additional architechtures
Frederic Bouvier [Wed, 15 Aug 2012 21:02:29 +0000 (23:02 +0200)]
Restore auto-detection of SVN libs on Windows
Mathias Froehlich [Sun, 12 Aug 2012 09:45:10 +0000 (11:45 +0200)]
hla: Add virtual method for creating data elements.
James Turner [Sat, 11 Aug 2012 14:21:52 +0000 (15:21 +0100)]
Mac changes for Subversion bundling.
Tim Moore [Mon, 6 Aug 2012 08:58:51 +0000 (10:58 +0200)]
change dynamic variance of effect attributes
Previously, any effect attribute that was set via effect parameters i.e., was
not a constant value, was marked with data variance DYNAMIC. Now, only
attributes that get their values from the property tree are so marked.
Mathias Froehlich [Sat, 4 Aug 2012 08:53:48 +0000 (10:53 +0200)]
hla: Do not call time advance with non positive increment.
Tim Moore [Fri, 3 Aug 2012 20:33:57 +0000 (22:33 +0200)]
Merge branch 'timoore/optimizations' into next
Tim Moore [Fri, 3 Aug 2012 20:32:39 +0000 (22:32 +0200)]
add libosgGA to OpenSceneGraph libraries used with tests
The DeletionManager needs osgGA. This becomes apparent when building shared
libraries.
Tim Moore [Fri, 3 Aug 2012 18:15:36 +0000 (20:15 +0200)]
Merge branch 'timoore/optimizations' into next
Tim Moore [Fri, 3 Aug 2012 15:15:15 +0000 (17:15 +0200)]
DeletionManager
Class for safely deleting objects that may be active in different threads.
This is now used in the implementation of spin animations.
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
Stuart Buchanan [Wed, 1 Aug 2012 20:06:59 +0000 (21:06 +0100)]
Allow a <parameters> section of a material definition, to pass parameters straight into the effect.
James Turner [Mon, 30 Jul 2012 23:57:09 +0000 (00:57 +0100)]
Make dependent template lookups explicit.
Clang (in Xcode 4.4) is being strict about dependent lookup rules, so apply the recommended fix-it.
Mathias Froehlich [Sun, 29 Jul 2012 18:58:07 +0000 (20:58 +0200)]
hla: Remove reference to deprecated VariantDataType.
Mathias Froehlich [Sun, 29 Jul 2012 18:43:39 +0000 (20:43 +0200)]
hla: Remove deprecated ObjectModelFactory interface.
Mathias Froehlich [Sun, 29 Jul 2012 14:16:20 +0000 (16:16 +0200)]
hla: Remove deprecated AttributeCallback.
Mathias Froehlich [Sat, 21 Jul 2012 10:55:53 +0000 (12:55 +0200)]
spt: Disable particle systems under a PagedLOD.
Mathias Froehlich [Sat, 21 Jul 2012 10:55:53 +0000 (12:55 +0200)]
hla: Add HLABoolDataElement.
Mathias Froehlich [Sat, 21 Jul 2012 10:55:53 +0000 (12:55 +0200)]
hla: Make HLAFixedRecordDataElement work with delayed data type setting.
Mathias Froehlich [Sat, 21 Jul 2012 10:55:53 +0000 (12:55 +0200)]
math: Remove obsolete commented out code.
Mathias Froehlich [Sat, 21 Jul 2012 10:55:53 +0000 (12:55 +0200)]
hla: Remove deprecated methods from HLAObjectClass
Mathias Froehlich [Sat, 21 Jul 2012 10:55:53 +0000 (12:55 +0200)]
hla: Remove deprecated tick method.
Mathias Froehlich [Sat, 21 Jul 2012 10:55:53 +0000 (12:55 +0200)]
hla: Remove deprecated types and methods from HLADataElement.
Mathias Froehlich [Sat, 21 Jul 2012 10:55:53 +0000 (12:55 +0200)]
hla: Remove deprecated HLAVariant* in favour of HLAVariantRecord*
Tim Moore [Thu, 19 Jul 2012 22:37:39 +0000 (00:37 +0200)]
Merge branch 'timoore/optimizations' into next
Some changes aimed at reducing the cost of the huge scene graph.
Tim Moore [Thu, 19 Jul 2012 22:34:47 +0000 (00:34 +0200)]
set name string for update callbacks
This makes it easier to find nodes with update callbacks in the scene graph dump.
Tim Moore [Thu, 19 Jul 2012 22:32:22 +0000 (00:32 +0200)]
change optimizer options for models
Tristrips are old and busted, index meshes are the new hotness :)
Tim Moore [Thu, 19 Jul 2012 22:30:53 +0000 (00:30 +0200)]
prune empty quadtree leaves created for random vegatation
A lot of empty primitive sets were being left in the per-tile random vegatation quadtree.
Tim Moore [Wed, 18 Jul 2012 22:42:38 +0000 (00:42 +0200)]
Replace rotation animation update callbacks with cull callbacks
Update callbacks are expensive because they force large parts of the scenegraph to be traversed
by OSG.
ThorstenB [Tue, 17 Jul 2012 17:18:05 +0000 (19:18 +0200)]
Add warning for in-source-directory builds.
ThorstenB [Tue, 17 Jul 2012 17:14:45 +0000 (19:14 +0200)]
Add dot-files to gitignore.
ThorstenB [Tue, 17 Jul 2012 16:48:38 +0000 (18:48 +0200)]
Bump simgear version to 2.9.0
Frederic Bouvier [Mon, 16 Jul 2012 18:06:53 +0000 (20:06 +0200)]
Add a node mask bit for permanent lights (needed by Rembrandt)
Frederic Bouvier [Sat, 14 Jul 2012 11:00:05 +0000 (13:00 +0200)]
More node mask fix
Stuart Buchanan [Fri, 13 Jul 2012 19:00:06 +0000 (20:00 +0100)]
Fix degenerate random building placement case which resulted in buildings
being placed outside of the triangle bounds.
Frederic Bouvier [Fri, 13 Jul 2012 15:53:00 +0000 (17:53 +0200)]
Precipitation don't cast shadows
Stuart Buchanan [Thu, 12 Jul 2012 15:31:27 +0000 (16:31 +0100)]
Correct index used by building.eff for lightmap.
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)
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.
Stuart Buchanan [Wed, 4 Jul 2012 18:50:20 +0000 (19:50 +0100)]
Fix a memory leak in random buildings.
ThorstenB [Mon, 2 Jul 2012 19:51:40 +0000 (21:51 +0200)]
Add SimGear RPM package spec file.
Example for Linux package builders.
Frederic Bouvier [Sat, 30 Jun 2012 14:25:21 +0000 (16:25 +0200)]
Working 'noshadow' animation
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 [Tue, 26 Jun 2012 20:43:48 +0000 (22:43 +0200)]
Update README/INSTALL documentation.
Frederic Bouvier [Mon, 25 Jun 2012 15:55:46 +0000 (17:55 +0200)]
Don't render ocean tiles in the light pass
Frederic Bouvier [Mon, 25 Jun 2012 09:58:49 +0000 (11:58 +0200)]
Fix a typo
Frederic Bouvier [Mon, 25 Jun 2012 09:58:22 +0000 (11:58 +0200)]
Add header file to the cmake project
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
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 [Sat, 23 Jun 2012 08:26:28 +0000 (10:26 +0200)]
Remove (un-maintained) MSVC projects from the tree prior to the next release.
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.
James Turner [Thu, 21 Jun 2012 08:21:26 +0000 (10:21 +0200)]
Use standard version of FindPackageStandardArgs, no need to copy it.
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.
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.
ThorstenB [Tue, 19 Jun 2012 20:15:33 +0000 (22:15 +0200)]
Patch clean-up
Harald JOHNSEN [Sun, 10 Jun 2012 11:01:57 +0000 (13:01 +0200)]
- stop sounds when removing a sound group
Markus Pargmann [Mon, 18 Jun 2012 08:00:29 +0000 (10:00 +0200)]
Signs change <= to <
Markus Pargmann [Sun, 17 Jun 2012 10:50:44 +0000 (12:50 +0200)]
Airport sign size 3 bugfix
Frederic Bouvier [Sun, 17 Jun 2012 15:52:17 +0000 (17:52 +0200)]
Avoid an annoying OSG warning
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
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.
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)
Frederic Bouvier [Mon, 11 Jun 2012 07:11:52 +0000 (09:11 +0200)]
Terrain tiles are not light volumes
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
ThorstenB [Fri, 8 Jun 2012 11:53:15 +0000 (13:53 +0200)]
Drop obsolete TODO
ThorstenB [Fri, 8 Jun 2012 11:10:47 +0000 (13:10 +0200)]
Add INSTALL and README.cmake files.
Frederic Bouvier [Thu, 31 May 2012 18:22:40 +0000 (20:22 +0200)]
Fix lights when added as submodels
Frederic Bouvier [Wed, 30 May 2012 20:18:57 +0000 (22:18 +0200)]
Restore lights in the Rembrandt renderer
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
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.
Stuart Buchanan [Fri, 25 May 2012 18:47:45 +0000 (19:47 +0100)]
Add logging for the total number of random buildings generated.
Mathias Froehlich [Mon, 21 May 2012 05:18:55 +0000 (07:18 +0200)]
Runway signs: avoid adding empty group without signs.
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.
Frederic Bouvier [Sun, 20 May 2012 13:42:55 +0000 (15:42 +0200)]
Try to exclude unwanted geometry in the additional light pass
Frederic Bouvier [Sun, 20 May 2012 09:49:31 +0000 (11:49 +0200)]
Remove redundant inclusion of SGMath.hxx
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 .
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
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.
Frederic Bouvier [Fri, 18 May 2012 10:27:08 +0000 (12:27 +0200)]
Allow to change texture buffer name on the fly
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.
Frederic Bouvier [Wed, 9 May 2012 21:31:06 +0000 (23:31 +0200)]
Allow to specify buffer name from parameters in effects
Frederic Bouvier [Sun, 15 Apr 2012 12:51:20 +0000 (14:51 +0200)]
Use names to identify deferred buffers
Change effect syntax for buffers
James Turner [Fri, 11 May 2012 09:00:35 +0000 (10:00 +0100)]
Updated sign case UV calculation from Christian.
James Turner [Tue, 8 May 2012 12:29:34 +0000 (13:29 +0100)]
build signs for an STG into single geometry.
James Turner [Tue, 8 May 2012 08:47:42 +0000 (09:47 +0100)]
Phase 1 - single geometry per material
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
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