X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=ChangeLog;h=858c3b28390f5c8a3bdd14fc306d3891fa9465b3;hb=dfc4b1564fd2783a2ac5772a822334d804145a91;hp=e69de29bb2d1d6434b8b29ae775ad8c2e48c5391;hpb=5173d709e090b953eaf800cbcd1bf897de332a12;p=simgear.git diff --git a/ChangeLog b/ChangeLog index e69de29b..858c3b28 100644 --- a/ChangeLog +++ b/ChangeLog @@ -0,0 +1,12243 @@ +2010-01-17 13:14 fredb + + * simgear/simgear_config.h-msvc90: Change version in comment + +2010-01-17 13:05 fredb + + * projects/VC90/SimGear.vcproj, simgear/simgear_config.h-msvc90: + Update simgear config.h version + +2010-01-17 13:00 fredb + + * projects/VC90/SimGear.vcproj: Update MSVC 9 project + +2010-01-17 12:59 fredb + + * simgear/: props/AtomicChangeListener.cxx, + scene/material/EffectBuilder.hxx, scene/tgdb/TreeBin.cxx, + scene/util/CopyOp.cxx: Win32 fixes + +2010-01-13 15:29 ehofman + + * simgear/sound/soundmgr_openal.cxx: test for an AL or ALC error + before calling an ALUT function. + +2010-01-05 12:23 ehofman + + * configure.ac: + + Tatsuhiro Nishioka: These patches fixes minor bug in addition to + providing --with-openal-framework and --with-cocoa-framework. + Now you can use your own version of OpenAL.framework for + selecting various audio output device. Plus, you can build FG/SG + on Snow Leopard with cocoa configuration. + +2010-01-04 20:51 torsten + + * simgear/scene/tgdb/apt_signs.cxx: Csaba Halasz: Fix airport signs + by reverting to rev 1.22 of apt_sign.cxx. Tweaked a little to + handle missing materials better. + +2010-01-04 15:53 ehofman + + * simgear/sound/soundmgr_openal.cxx: MacOS returns an unsopported + AL error when a file is not found, work around this. + +2010-01-02 17:40 torsten + + * simgear/math/: SGGeoc.hxx, SGGeod.hxx: add "operator == ()" to + SGGeod and SGGeoc + +2009-12-31 17:48 jmt + + * simgear/math/: SGGeodesy.cxx, SGGeodesy.hxx: Allow geocentric + distance computations to return radians. + +2009-12-31 11:14 ehofman + + * simgear/structure/subsystem_mgr.cxx: Also unbind subsystem groups + in reverse order and destruct them in reverse order to be + consistent. + +2009-12-29 15:28 ehofman + + * simgear/structure/subsystem_mgr.cxx: unbind in reverse order to + try to prevent order dependency problems. + +2009-12-29 10:47 ehofman + + * simgear/sound/soundmgr_openal.cxx: Rearrange alut error checking + a bit + +2009-12-28 21:57 jmt + + * simgear/xml/xmltok.c: XML encodings: support 'ASCII' as an alias + for 'US-ASCII' + +2009-12-26 11:07 ehofman + + * simgear/sound/: soundmgr_openal.cxx, soundmgr_openal.hxx: keep a + pointer to the OpenAL vendor and renderer for reference + +2009-12-14 20:47 ehofman + + * simgear/version.h.in: revert previous patch, it confuses + FlightGear's test for detecting the proper version of SimGear + +2009-12-14 20:43 ehofman + + * simgear/sound/soundmgr_openal.cxx: proper typecasting + +2009-12-14 10:14 ehofman + + * simgear/version.h.in: make version a string + +2009-12-14 07:06 timoore + + * simgear/scene/material/EffectCullVisitor.cxx: don't render an + EffectGeode if there is no valid technique + + Normal geometry has a default effect; geometry with no default + effect is unlikely to look correct with no state set applied. + This fixes the problem of clouds being displayed as multi-colored + rectangles when shader effects are turned off. + + Author: Tim Moore Committer: Tim Moore + + +2009-12-09 14:56 ehofman + + * simgear/sound/soundmgr_openal.cxx: fix a typo. + +2009-12-09 11:09 ehofman + + * simgear/sound/: sample_openal.cxx, sample_openal.hxx, + soundmgr_openal.cxx: Don't assign the buffer data to the sample + in case it is a file. Test for result when calling load() + +2009-12-09 10:38 ehofman + + * simgear/sound/soundmgr_openal.cxx: Fix crash in + SGSoundMgr::stop(): do not try to erase buffer items one at a + time + +2009-12-08 06:37 timoore + + * simgear/scene/model/: ModelRegistry.cxx, ModelRegistry.hxx: take + locks out of ModelRegistry + + They should be unnecessary and were causing deadlock with Effects + that load images. + + Author: Tim Moore + +2009-12-06 10:56 ehofman + + * simgear/sound/soundmgr_openal.cxx: add alcSuspendContext and + alcProcessContext again to prevent sound artifacts on hardware + accelerated soundcards. + +2009-12-02 10:32 ehofman + + * simgear/sound/sample_group.cxx: check if suspend, resume and + volume changed much from the previous value before setting them. + +2009-12-02 09:32 ehofman + + * simgear/sound/: sample_group.cxx, soundmgr_openal.cxx: Fix + runtime switching of sound devices. + +2009-11-30 15:22 ehofman + + * simgear/sound/: sample_group.cxx, sample_group.hxx, + soundmgr_openal.cxx: Updates to allow runtime chaning of the + sound device + +2009-11-29 17:51 timoore + + * configure.ac: Revert boost requirement to 1.37 + + I don't want to get into testing for tr1::unordered_map, and the + boost compatibility doesn't exist in 1.34. + + Author: Tim Moore + +2009-11-28 14:31 ehofman + + * simgear/sound/: soundmgr_openal.cxx, soundmgr_openal.hxx: Add a + function to retreive all available playback devices. + +2009-11-28 13:59 ehofman + + * simgear/sound/sample_group.cxx: initialize volume to a proper + value + +2009-11-28 11:48 ehofman + + * simgear/sound/soundmgr_openal.cxx: Small bugfix + +2009-11-28 11:37 ehofman + + * simgear/sound/: soundmgr_openal.cxx, soundmgr_openal.hxx: Make it + possible to specify a different device name + +2009-11-26 18:24 timoore + + * simgear/scene/sky/: CloudShaderGeometry.cxx, + CloudShaderGeometry.hxx, newcloud.cxx: fix a memory leak in + newcloud.cxx + + Author: Tim Moore + +2009-11-26 18:24 timoore + + * simgear/scene/sky/: cloudfield.cxx, cloudfield.hxx, newcloud.cxx, + newcloud.hxx: Use an effect for 3d clouds + + Author: Tim Moore + +2009-11-26 18:23 timoore + + * simgear/scene/material/Effect.cxx: Support for shader program + attributes in effects + + Also, use a hash table for the effect shader program cache. + + Author: Tim Moore + +2009-11-26 18:23 timoore + + * simgear/scene/material/: EffectBuilder.cxx, EffectBuilder.hxx, + TextureBuilder.cxx, makeEffect.cxx: Better error reporting for + effects + + Throw an exception when an undefine attribute value is found in + an effect. + + Also, fix a typo in TexEnvCombine operand attributes. + + Author: Tim Moore + +2009-11-26 18:23 timoore + + * simgear/props/props_io.cxx: add a property debugging function + + Author: Tim Moore + +2009-11-26 14:05 ehofman + + * simgear/sound/soundmgr_openal.cxx: a slightly more readable + version of the test + +2009-11-26 13:19 ehofman + + * simgear/sound/soundmgr_openal.cxx: Also test for older versions + of OpenAL-Sample + +2009-11-24 14:33 timoore + + * simgear/scene/material/Effect.cxx: add depth attribute to Effect + + Author: Tim Moore + +2009-11-23 12:54 ehofman + + * simgear/sound/soundmgr_openal.cxx: Don't forget to apply the + doppler adjustment factor to the listener velocity also + +2009-11-23 11:32 ehofman + + * simgear/sound/: sample_group.cxx, soundmgr_openal.cxx, + soundmgr_openal.hxx: test for implementations with 'bad' doppler + effects and adjust for it. + +2009-11-23 11:31 ehofman + + * simgear/sound/: openal_test2.cxx, openal_test3.cxx: fix test + programs + +2009-11-23 10:35 ehofman + + * simgear/sound/: sample_group.cxx, soundmgr_openal.cxx, + soundmgr_openal.hxx: proper listener velocity calculation, this + has no effect yet but is required when other models start + emitting sounds. + +2009-11-22 23:23 timoore + + * acinclude.m4, configure.ac, simgear/scene/material/Effect.hxx: + Drop required Boost version from 1.37 to 1.34 + + Use boost/tr1 to bring in std::tr1::unordered_map instead of the + Boost version. + + Author: Tim Moore + +2009-11-22 01:00 timoore + + * simgear/scene/: material/Effect.cxx, material/Effect.hxx, + material/makeEffect.cxx, tgdb/TreeBin.cxx: Move tree shaders to + an effect + + Also, improve effect hash keys. + + Author: Tim Moore + +2009-11-22 00:59 timoore + + * simgear/scene/material/Effect.cxx: Effect file support for + GL_VERTEX_PROGRAM_TWO_SIDE and POINT_SIZE + + Author: Tim Moore + +2009-11-22 00:59 timoore + + * simgear/scene/material/Technique.cxx: shader language predicate + + Author: Tim Moore + +2009-11-19 16:29 ehofman + + * simgear/sound/: soundmgr_openal.cxx, sample_group.cxx: the wrong + name also mislead me: rotate velocity to the proper quat + +2009-11-18 14:49 ehofman + + * simgear/sound/sample_openal.cxx: make the relative positions + fixed against the body again. + +2009-11-17 14:06 ehofman + + * simgear/sound/: sample_group.cxx, soundmgr_openal.cxx, + xmlsound.cxx: Set to default distance attenuation function but + change the parameters a but for better sound effects (and most of + all quieter sounds at greta distance + +2009-11-17 07:19 timoore + + * simgear/scene/model/SGMaterialAnimation.cxx: descend into Effects + to find default material animation values + + Author: Tim Moore + +2009-11-17 07:19 timoore + + * simgear/scene/: material/TextureBuilder.cxx, + util/StateAttributeFactory.cxx, util/StateAttributeFactory.hxx: + add a transparent texture for effects + + This is used as a default texture for the chrome animation. + + Also, fix a typo in creating combiners. + + Author: Tim Moore + +2009-11-17 07:19 timoore + + * simgear/props/: AtomicChangeListener.cxx, + AtomicChangeListener.hxx: Make MultiChangeListener derive + publicly from SGPropertyChangeListener + + Otherwise it doesn't work as a listener! + + Author: Tim Moore + +2009-11-16 14:32 ehofman + + * simgear/sound/: sample_group.cxx, sample_openal.cxx, + sample_openal.hxx, soundmgr_openal.cxx, xmlsound.cxx: What do you + know, the real problem turned out to be the distance attenuation + function.. + +2009-11-16 00:11 timoore + + * simgear/scene/model/model.cxx: When instantiating effects, copy + user data of any created nodes. + + This bug was the cause of the huge memory consumption / death + reported at some places: the BVH data on "raw" .ac models (random + objects) was dropped on the floor. + + Author: Tim Moore + +2009-11-15 01:41 timoore + + * configure.ac: Bump boost version to 1.37 + + Author: Tim Moore + +2009-11-15 01:41 timoore + + * simgear/: props/props.cxx, props/props.hxx, + scene/material/Effect.cxx, scene/material/Effect.hxx, + scene/material/makeEffect.cxx: optimize creation and sharing of + effects + + Implement equality test and hash for for property trees. In an + Effect, make a hash table of Effects that inherit from it keyed + on their unmerged property tree. Using that, makeEffect() should + return a single Effect for given property tree description. + Animations may change that in the future... + + Author: Tim Moore + +2009-11-15 01:41 timoore + + * projects/VC7.1/SimGear.vcproj, projects/VC90/SimGear.vcproj, + simgear/props/AtomicChangeListener.cxx, + simgear/props/AtomicChangeListener.hxx, + simgear/props/ExtendedPropertyAdapter.hxx, + simgear/props/Makefile.am, simgear/props/props.hxx, + simgear/scene/material/Effect.cxx, + simgear/scene/material/Effect.hxx, + simgear/scene/material/EffectBuilder.cxx, + simgear/scene/material/EffectBuilder.hxx, + simgear/scene/material/EffectGeode.cxx, + simgear/scene/material/EffectGeode.hxx, + simgear/scene/material/TextureBuilder.cxx, + simgear/scene/material/makeEffect.cxx, + simgear/scene/model/SGReaderWriterXML.cxx, + simgear/scene/model/model.cxx, simgear/scene/util/Makefile.am, + simgear/scene/util/UpdateOnceCallback.cxx, + simgear/scene/util/UpdateOnceCallback.hxx: Effects in models + working for transparent materials and chrome animation + + Implementation of animated effect values via the property system. + + Add names for TexEnvCombine attributes + + Author: Tim Moore + +2009-11-15 01:40 timoore + + * simgear/scene/material/: Effect.cxx, EffectBuilder.cxx, + EffectBuilder.hxx, TextureBuilder.cxx, TextureBuilder.hxx: Move + Texture unit builder into TexBuilder.cxx + + Do the refactoring necessary to make that work. + + Author: Tim Moore + +2009-11-15 01:40 timoore + + * projects/VC7.1/SimGear.vcproj, projects/VC90/SimGear.vcproj, + simgear/scene/material/Effect.cxx, + simgear/scene/material/Effect.hxx, + simgear/scene/material/EffectGeode.cxx, + simgear/scene/material/Technique.cxx, + simgear/scene/material/TextureBuilder.cxx, + simgear/scene/material/makeEffect.cxx, + simgear/scene/model/SGReaderWriterXML.cxx, + simgear/scene/model/model.cxx, simgear/scene/model/model.hxx, + simgear/scene/model/modellib.cxx, simgear/scene/util/CopyOp.cxx, + simgear/scene/util/CopyOp.hxx, simgear/scene/util/Makefile.am: + Effects for models + + Basically working, at last. Among other things, create effects in + models loaded directly from .ac files; this can happen, for + example, with the random models from the materials library. + + Author: Tim Moore + +2009-11-15 01:40 timoore + + * projects/VC7.1/SimGear.vcproj, projects/VC90/SimGear.vcproj, + simgear/scene/util/Makefile.am, + simgear/scene/util/SplicingVisitor.cxx, + simgear/scene/util/SplicingVisitor.hxx: Splicing visitor for + rewriting scene graphs with a minimum of copying + + Author: Tim Moore + +2009-11-15 01:40 timoore + + * simgear/scene/material/: Effect.cxx, Effect.hxx, + TextureBuilder.cxx, TextureBuilder.hxx: Dump texture attributes + of StateSet into effect property tree + + Also, decode blend function. + + Author: Tim Moore + +2009-11-15 01:39 timoore + + * simgear/: scene/material/Effect.cxx, structure/OSGUtils.hxx: + getStateAttribute utility function + + This provides a concise, typesafe way to get attributes from + osg::StateSet. + + Also, blew away BackRefInserter. + + Author: Tim Moore + +2009-11-15 01:39 timoore + + * simgear/scene/material/Effect.cxx: Add support for blend + functions and alpha test functions in effects + + Author: Tim Moore + +2009-11-15 01:39 timoore + + * simgear/scene/: material/Effect.cxx, material/EffectBuilder.hxx, + material/TextureBuilder.cxx, material/makeEffect.cxx, + model/ModelRegistry.cxx, model/SGReaderWriterXML.cxx: wip for + effects in models + + multi-index for effect attributes + + Author: Tim Moore + +2009-11-15 01:39 timoore + + * simgear/scene/: model/ModelRegistry.cxx, model/ModelRegistry.hxx, + model/SGReaderWriterXML.cxx, model/model.cxx, model/model.hxx, + tgdb/SGReaderWriterBTG.cxx: remove CopyPolicy from ModelRegistry + + Put the responsibility for copying a loaded model directly in + SGReaderWriterXML. + + Author: Tim Moore + +2009-11-12 21:41 ehofman + + * simgear/sound/: sample_group.cxx, sample_openal.cxx, + sample_openal.hxx, soundmgr_openal.cxx, soundmgr_openal.hxx: + temporarily remove listener (viewer) and source offsets. they + mess things up + +2009-11-10 22:19 timoore + + * simgear/props/props.cxx: fix typo + + Author: Tim Moore + +2009-11-10 15:28 ehofman + + * simgear/sound/: sample_group.cxx, sample_group.hxx, + sample_openal.cxx, soundmgr_openal.hxx, xmlsound.cxx: also + recalculate the velocity in update_pos_and_orienation, so pass + the north-east-down velocity directly and orientate position, + orientation and velocity to OpenGL/OpenAL frames (x-right, y-up + and z-back) + +2009-11-10 09:56 timoore + + * simgear/scene/: material/Effect.cxx, tgdb/userdata.cxx, + tgdb/userdata.hxx: Move propertyExpression code from flightgear + to simgear + + Also add a function (possibly redundant) to access the global + property root. + + Author: Tim Moore + +2009-11-10 09:56 timoore + + * simgear/props/: props.cxx, props.hxx, props_io.cxx: Property + system optimizations + + Profiling startup with the new effects code exposed some + performance gotchas. The objective is to reduce allocation of + std::string temporaries, especially when looking up node path + names. Also, I changed some paths to initialize strings with + strings instead of char *; this causes less allocation, at least + with glibc. Also, eliminate the old version of find_node and its + helper functions by writing the template version of find_node_aux + to handle an explicit index parameter. + + Also, add const char[] as an internal property type + + This doesn't actually add a new type to the property system, but + allows using character arrays as arguments to certain templates. + + Author: Tim Moore Committer: Tim + Moore + +2009-11-10 09:56 timoore + + * simgear/scene/: model/SGPagedLOD.cxx, model/animation.cxx, + model/animation.hxx, util/SGSceneUserData.cxx, + util/SGSceneUserData.hxx: Add writeLocalData functions for + internal scenegraph classes + + This makes the scenegraph dump more complete and therefore more + useful. + + Author: Tim Moore + +2009-11-09 11:28 ehofman + + * simgear/sound/: xmlsound.cxx, xmlsound.hxx: allow sound effects + in the configuration file to be added to the 'avionics' sample + group by setting 'avionics'. + +2009-11-09 10:23 ehofman + + * SimGear.dsp, SimGear.dsw: Remove old MSVC6.0 files that doen't + work anymore + +2009-11-05 17:58 ehofman + + * simgear/scene/sky/sky.cxx: Oops, it was the scenery up vector, + not the viewer up vector + +2009-11-05 14:46 ehofman + + * simgear/scene/sky/: sky.cxx, sky.hxx: Save a costly + SGVec3d::fromGeod() calculation + +2009-11-05 13:48 ehofman + + * simgear/scene/sky/: sky.cxx, sky.hxx: pass the geodetic position + and view orientation to the sky reposition function + +2009-11-04 11:25 ehofman + + * simgear/: environment/visual_enviro.cxx, sound/sample_group.cxx: + small fixes + +2009-11-03 12:42 ehofman + + * simgear/sound/: sample_group.cxx, sample_group.hxx, + sample_openal.cxx, sample_openal.hxx: fix directional sound + orientation + +2009-11-03 11:16 ehofman + + * simgear/sound/openal_test3.cxx: adjust to recent changes + +2009-11-03 10:59 ehofman + + * simgear/sound/: sample_openal.hxx, soundmgr_openal.hxx, + xmlsound.cxx: some small fixes + +2009-11-02 22:38 ehofman + + * simgear/sound/: sample_group.cxx, sample_group.hxx, + sample_openal.cxx, sample_openal.hxx, soundmgr_openal.cxx, + soundmgr_openal.hxx, xmlsound.cxx: Remove more unneeded code and + properly set relative position and sound direction + +2009-11-02 12:39 ehofman + + * simgear/sound/: sample_group.cxx, sample_group.hxx, + sample_openal.cxx, sample_openal.hxx: Small code reorganization, + mostly removing unneeded code + +2009-11-02 11:31 ehofman + + * simgear/sound/: sample_group.cxx, sample_group.hxx, + sample_openal.cxx, sample_openal.hxx, soundmgr_openal.cxx, + soundmgr_openal.hxx: Position and orientation fixes thanks to Tim + Moore (finaly). Code optimizations by moving code over from + SGSoundSample to SGSampleGroup which means it will only run once + for every sample group instead of once for every sample. + +2009-11-01 18:34 ehofman + + * simgear/sound/sample_openal.hxx: silently clip pitch and gain to + their maximum values + +2009-11-01 15:51 ehofman + + * simgear/sound/: sample_openal.cxx, sample_openal.hxx, + soundmgr_openal.cxx, xmlsound.cxx: proper orientation(?) and + comment out relative position and direction code since it messes + with OpenAL in such a way that volume doesn't work properly + anymore + +2009-10-31 15:18 ehofman + + * simgear/sound/: openal_test3.cxx, sample_group.cxx, + sample_group.hxx, sample_openal.cxx, sample_openal.hxx, + soundmgr_openal.cxx, soundmgr_openal.hxx: another attempt at + getting something useful without any result. + +2009-10-31 09:53 ehofman + + * simgear/sound/Makefile.am: fix a typo + +2009-10-31 09:46 ehofman + + * simgear/compiler.h: fix a gcc version test + +2009-10-31 09:41 ehofman + + * simgear/compiler.h: MacOS X fix + +2009-10-30 13:59 ehofman + + * simgear/sound/sample_openal.cxx: add relative pos back in + +2009-10-29 18:03 ehofman + + * simgear/sound/sample_group.cxx: pass the float pointer to the + isNaN function instead of the SGVec3 type + +2009-10-29 15:58 ehofman + + * simgear/sound/sample_openal.cxx: multiply quats in the right + order + +2009-10-29 14:33 ehofman + + * simgear/sound/: openal_test3.cxx, sample_group.cxx, + sample_group.hxx, sample_openal.cxx, sample_openal.hxx, + soundmgr_openal.cxx, soundmgr_openal.hxx, xmlsound.cxx: Commit + the current state of affairs to see if it fixes the position code + for others + +2009-10-29 13:53 ehofman + + * simgear/sound/: Makefile.am, openal_test2.cxx, openal_test3.cxx: + another test program, using real world locations + +2009-10-28 15:27 ehofman + + * simgear/sound/: openal_test2.cxx, sample_group.cxx, + sample_openal.cxx, sample_openal.hxx, soundmgr_openal.cxx, + soundmgr_openal.hxx: Fix a bug where a sample was removed from + the sample list before it was stopped. Proper listener + orientation when inside the airplane (need to find a good + solution for outside view). + +2009-10-27 13:21 ehofman + + * simgear/sound/soundmgr_openal.cxx: also test for NaN in listener + code + +2009-10-27 13:10 ehofman + + * simgear/sound/: sample_group.cxx, sample_openal.cxx, + sample_openal.hxx: small code reorganization and addition of + debugging tests. + +2009-10-26 23:10 timoore + + * simgear/scene/: material/matmodel.cxx, model/model.cxx: More + include SGMath.hxx to keep MSVC happy + + Author: Tim Moore + +2009-10-26 22:06 ehofman + + * simgear/sound/: sample_group.cxx, sample_openal.cxx, + soundmgr_openal.cxx, soundmgr_openal.hxx, xmlsound.cxx: + FGViewer::recalcLookFrom turned out to be an excellent source of + information for prosition and orientation + +2009-10-26 11:47 ehofman + + * simgear/sound/: sample_group.cxx, soundmgr_openal.cxx, + xmlsound.cxx: re-enable sound positioning and velocity, test for + NaN's and print a message when it happens (debugging, should be + removed later on). + +2009-10-26 10:05 ehofman + + * simgear/compiler.h: move all isnan() declarations from + sample_group.cxx to compiler.h since it's too important not to + have available everywhere. + +2009-10-24 14:57 ehofman + + * simgear/sound/: sample_group.cxx, sample_group.hxx, + sample_openal.cxx, soundmgr_openal.cxx: Use shared pointers for + any reference to SGSoundSample, fix the constructor of + SGSoundSample where data is supplied by the calling program. + +2009-10-24 10:18 ehofman + + * simgear/sound/: sample_group.cxx, sample_openal.cxx, + sample_openal.hxx, soundmgr_openal.cxx: get rid of aut_ptr, it + only works with objects that can destroyed with delete (and not + even delete[]) which is too limited. take drastic actions to find + the sound-not-playing-bug: set all positions and orientations to + default all the time. + +2009-10-22 14:11 ehofman + + * simgear/sound/sample_openal.cxx: .. and remove some debugging + code + +2009-10-22 14:10 ehofman + + * simgear/sound/: sample_openal.cxx, xmlsound.cxx: revert some test + code + +2009-10-22 14:07 ehofman + + * simgear/sound/sample_openal.hxx: should use free instead of + delete for malloced data. + +2009-10-22 10:58 ehofman + + * simgear/sound/: sample_group.cxx, soundmgr_openal.cxx: a few more + temporarty debugging statements + +2009-10-22 10:32 ehofman + + * simgear/sound/: openal_test1.cxx, sample_group.cxx, + sample_openal.cxx, soundmgr_openal.cxx: fix a memory leak and add + some temporary debugging statements. + +2009-10-21 18:56 ehofman + + * simgear/sound/: openal_test2.cxx, sample_openal.cxx, + xmlsound.cxx: Updates to the test utilies. + +2009-10-21 18:52 ehofman + + * simgear/sound/: Makefile.am, openal_test1.cxx: Updates to the + test utilies. + +2009-10-20 13:31 ehofman + + * simgear/sound/: sample_group.cxx, sample_group.hxx, + soundmgr_openal.cxx, soundmgr_openal.hxx: Fix a pause situation + where more code was executed than expected. Unbind an OpenAL + buffer from an OpenAL source when requested to stop playing. + +2009-10-19 16:09 ehofman + + * simgear/sound/: sample_openal.cxx, sample_openal.hxx, + soundmgr_openal.cxx: use auto_ptr instead + +2009-10-19 12:40 ehofman + + * simgear/sound/: openal_test1.cxx, sample_group.cxx, + sample_group.hxx, sample_openal.cxx, sample_openal.hxx, + soundmgr_openal.cxx, soundmgr_openal.hxx: do not yet add the + relative sound position to the absolute position, it's generating + NaN's at the moment. Fix a bunch of other small bugs + +2009-10-18 20:52 ehofman + + * simgear/sound/soundmgr_openal.cxx: sigh, forgot another alut* at + the wrong place. + +2009-10-18 18:31 timoore + + * simgear/: io/sg_binobj.hxx, math/sg_types.hxx, misc/texcoord.cxx, + scene/sky/oursun.cxx, scene/tgdb/SGLightBin.hxx, + sound/sample_openal.cxx: forward declare Point3D in sg_types.hxx + + This avoids sucking in SGMath.hxx -- and therefore a bunch of OSG + headers -- into many compilation units. + + Author: Tim Moore + +2009-10-18 15:55 ehofman + + * simgear/sound/soundmgr_openal.cxx: restore some part of the code + to prevent an untwanted segmentationf fault. + +2009-10-18 15:44 ehofman + + * simgear/sound/: sample_group.hxx, soundmgr_openal.cxx, + soundmgr_openal.hxx: Start the sound manager in a deactived + state. This means the code now has to activate it explicitly when + desired. A non active state means the update function will no be + executed. + +2009-10-18 11:34 ehofman + + * simgear/sound/: sample_openal.cxx, sample_openal.hxx, + soundmgr_openal.cxx: Don't delete the sample data if it wasn't + constructed as a file. It's now deleted when calling free_data() + by the owner or in the destructor. + +2009-10-18 10:48 ehofman + + * simgear/structure/SGAtomic.cxx: revert to previous version + +2009-10-17 15:09 ehofman + + * simgear/sound/: sample_openal.cxx, soundmgr_openal.cxx: make sure + update_late isn't executed when dt=0 + +2009-10-17 14:36 ehofman + + * simgear/sound/: sample_group.cxx, sample_group.hxx, + sample_openal.cxx, sample_openal.hxx, soundmgr_openal.cxx, + soundmgr_openal.hxx: documentation, licensing, copyright and + small api updates. + +2009-10-16 15:19 ehofman + + * simgear/sound/sample_openal.cxx: convert _relative_pos to a + vector of doubles and set the relative offset + +2009-10-16 13:37 ehofman + + * simgear/sound/sample_openal.hxx: _data is not an array of pointer + +2009-10-16 11:45 ehofman + + * simgear/sound/: sample_group.cxx, sample_group.hxx, + sample_openal.cxx, sample_openal.hxx, soundmgr_openal.cxx: Alut < + 1.0 fixes and finaly fix the sound orientation + +2009-10-15 19:08 ehofman + + * simgear/sound/: sample_group.cxx, sample_group.hxx, + soundmgr_openal.cxx, soundmgr_openal.hxx: + + Initialization was done much earlier than expected resulting in + some sample groups not being activated (and sample loading using + OpenAL/ALUT functions to be scheduled before OpenAL was + initilialized). + + fix alutInit counter remove left over static declaration fro + SGSoundMgr::load + +2009-10-15 14:33 ehofman + + * simgear/sound/soundmgr_openal.cxx: add a debugging statement + +2009-10-15 14:00 ehofman + + * simgear/environment/visual_enviro.cxx: fix for latest changes + +2009-10-15 11:18 ehofman + + * simgear/sound/: sample_group.cxx, sample_group.hxx, + sample_openal.cxx, sample_openal.hxx, soundmgr_openal.cxx, + soundmgr_openal.hxx, xmlsound.cxx: give the sample class as much + info as possible to properly position and orientate the sounds. + unfortunately at this time orientation seems to be from straight + behind which means that sounds that have outer-gain set to 0.0 + will not be heard yet. + +2009-10-12 19:22 ehofman + + * simgear/sound/soundmgr_openal.cxx: + + Alex Buzin: I got an error with the Sunday CVS - FG crashed while + exiting . gdb reports SIGSEGV error at file soundmgr_openal.cxx, + line 159. + + Error was fixed by changing lines 157-159 from: + buffer_map_iterator buffers_current = _buffers.begin(); + buffer_map_iterator buffers_end = _buffers.end(); for ( ; + buffers_current != buffers_end; ++buffers_current ) { to : + buffer_map_iterator buffers_current; + while(_buffers.size()){ buffers_current = + _buffers.begin(); + +2009-10-11 15:38 ehofman + + * simgear/sound/: sample_group.cxx, sample_group.hxx, + sample_openal.cxx, sample_openal.hxx, soundmgr_openal.cxx, + soundmgr_openal.hxx, xmlsound.cxx: Correct (and verrified) + position, orientation and velocity vector. Todo: proper sound + orientation (the all face forward using the airplane orientation + now) and disabling doppler effect when tied to the listener + +2009-10-11 10:47 ehofman + + * simgear/constants.h: proper naming is everything + +2009-10-09 11:00 ehofman + + * simgear/sound/: sample_group.cxx, sample_group.hxx, + soundmgr_openal.cxx, soundmgr_openal.hxx: OpenAL buffer + management; add a buffer cache to prevent loading the same sample + in memory twice. Especially useful to save memory for + multi-aircraft configurations and (later) for AI models. + +2009-10-07 14:54 ehofman + + * simgear/sound/: sample_group.cxx, sample_group.hxx, + soundmgr_openal.cxx, soundmgr_openal.hxx: add the option to tie a + SampleGroup to the listener position and orientation + +2009-10-07 09:31 ehofman + + * simgear/sound/soundmgr_openal.cxx: alut pre-1.0 doesn't support + aletGetError but then again, this function doesn't get called in + that case either so just comment it out at build time + +2009-10-06 22:05 jmt + + * simgear/screen/: screen-dump.cxx, screen-dump.hxx: Update the + screen-dump code to use osgDB, and hence write out files in more + common formats (PNG, JPEG, etc). The PPM writing code is retained + for the moment, in case someone other than FG is relying upon it. + +2009-10-06 14:11 ehofman + + * simgear/sound/sample_group.cxx: fix a typo + +2009-10-06 14:09 ehofman + + * simgear/sound/: README, sample_group.cxx, sample_openal.cxx, + soundmgr_openal.cxx: (try to) properly align model and viewer + +2009-10-05 15:42 ehofman + + * simgear/sound/soundmgr_openal.cxx: default listener (master + volume) default to 0.0 to save some ugly code in FlightGear + +2009-10-05 13:10 ehofman + + * simgear/sound/soundmgr_openal.hxx: add the alc.h header file vor + OpenAL context related code + +2009-10-05 10:56 ehofman + + * simgear/sound/: sample_group.cxx, sample_group.hxx, + soundmgr_openal.cxx, soundmgr_openal.hxx: Rename update() to + update_late() for the sound manager to be able to initialize it + before any other class that uses it. This will allow the + SoundManager to be safely accessed in the constructor of those + classes. + +2009-10-04 15:52 ehofman + + * simgear/: environment/visual_enviro.cxx, + environment/visual_enviro.hxx, sound/Makefile.am, sound/jet.wav, + sound/openal_test2.cxx, sound/sample_group.cxx, + sound/sample_group.hxx, sound/sample_openal.cxx, + sound/sample_openal.hxx, sound/soundmgr_openal.cxx, + sound/soundmgr_openal.hxx, sound/xmlsound.cxx, + sound/xmlsound.hxx, structure/SGAtomic.cxx: Initial commit of the + new sound system, expect more updates to follow + +2009-10-02 07:44 durk + + * simgear/scene/sky/: CloudShaderGeometry.cxx, newcloud.cxx: Stuart + Buchanan: Improvements to the cloudsystem: - A new xml + format - Texture indexing based on the position of the + sprite in the cloud mass, allowing more control over + the texture set. - Improved fog and shading - + Better sprite distribution - A more natural distribution + of clouds, so no more obvious grids. + +2009-10-01 00:33 timoore + + * simgear/misc/: strutils.cxx, strutils.hxx: Back out + convertToLowerCase function + + It brought in an OSG dependency; we'll just use + boost::to_lower_copy instead. + + Author: Tim Moore + +2009-09-26 13:44 jmt + + * simgear/misc/: strutils.cxx, strutils.hxx: Extend + simgear::strutils with convertToLowerCase helper - currently a + proxy for osgDB helper of the same name. + +2009-09-24 09:07 ehofman + + * configure.ac: just small fixes + +2009-09-22 16:17 torsten + + * simgear/math/SGGeodesy.cxx: Catch a possible floating point error + in SGGeodesy::SGCartToGeod() for cartesian coordinates close to + the geocenter region. + +2009-09-19 00:38 timoore + + * simgear/scene/material/EffectCullVisitor.cxx: check for null + effect in EffectCullVisitor + + An EffectGeode might not have any effect. + + Author: Tim Moore + +2009-09-16 19:01 torsten + + * configure.ac, simgear/io/Makefile.am, simgear/props/Makefile.am: + Tatsuhiro Nishioka: Patches for configure.ac and Makefile.am + files in FG/SG so Mac developers can build these in a unix way. + These also enables Mac developers to choose either PLIB framework + or PLIB static libs. + +2009-09-16 07:06 frohlich + + * simgear/math/: SGVec2.hxx, SGVec3.hxx, SGVec4.hxx: Correct finite + precision issues. Use consistent function names. Implement + changes consistently over the different vector sizes. + + Modified Files: SGVec2.hxx SGVec3.hxx SGVec4.hxx + +2009-09-16 07:04 frohlich + + * simgear/structure/: SGSharedPtr.hxx, SGWeakPtr.hxx: Make the weak + pointer work. Some bits were left when importing. + + Modified Files: SGSharedPtr.hxx SGWeakPtr.hxx + +2009-09-14 14:36 jmt + + * simgear/sound/xmlsound.cxx: Logging:less verbose sound loading. + +2009-09-14 14:30 jmt + + * simgear/scene/tgdb/TileEntry.cxx: Logging: quiet down STG + parsing. + +2009-09-14 14:20 jmt + + * simgear/scene/model/ModelRegistry.cxx: Logging: quiet down + model/image loading policy. + +2009-09-14 14:18 jmt + + * simgear/scene/model/ModelRegistry.cxx: Logging: quiet the BVH + building policy. + +2009-09-14 14:09 jmt + + * simgear/scene/material/matlib.cxx: Logging: quiet material + loading. + +2009-09-14 14:08 jmt + + * simgear/sound/xmlsound.cxx: Logging - downgrade play/stop + messages to debug. + +2009-09-09 23:32 timoore + + * simgear/math/: SGVec3.hxx, vector.cxx, vector.hxx: Implement + vector _projection_ functions. + +2009-09-09 23:30 timoore + + * simgear/scene/model/animation.cxx: Make "repeat" start slower on + pick-animation mouse events; + + otherwise it is unusable. + +2009-09-08 15:50 ehofman + + * simgear/sound/: soundmgr_openal.cxx, xmlsound.cxx: Dont execute + code in case the soundmanager isn't properly initialized + +2009-09-07 23:42 frohlich + + * simgear/: math/SGGeod.cxx, math/SGQuat.hxx, math/SGVec2.hxx, + math/SGVec3.hxx, math/SGVec4.hxx, scene/material/Effect.cxx, + scene/model/SGInteractionAnimation.cxx, + scene/model/SGMaterialAnimation.cxx, + scene/model/SGRotateTransform.cxx, + scene/model/SGScaleTransform.cxx, + scene/model/SGTranslateTransform.cxx, scene/model/animation.cxx, + scene/model/particles.cxx, scene/model/placement.cxx, + scene/model/shadanim.cxx, scene/sky/CloudShaderGeometry.cxx, + scene/sky/cloud.cxx, scene/sky/cloudfield.cxx, + scene/sky/dome.cxx, scene/sky/sky.cxx, + scene/tgdb/GroundLightManager.cxx, scene/tgdb/SGOceanTile.cxx, + scene/tgdb/SGTexturedTriangleBin.hxx, + scene/tgdb/SGVasiDrawable.cxx, scene/tgdb/TreeBin.cxx, + scene/tgdb/obj.cxx, scene/tgdb/pt_lights.cxx, + scene/util/SGUpdateVisitor.hxx: Switch to new vector conversion + functions. + + Modified Files: simgear/math/SGGeod.cxx + simgear/math/SGQuat.hxx simgear/math/SGVec2.hxx + simgear/math/SGVec3.hxx simgear/math/SGVec4.hxx + simgear/scene/material/Effect.cxx + simgear/scene/model/SGInteractionAnimation.cxx + simgear/scene/model/SGMaterialAnimation.cxx + simgear/scene/model/SGRotateTransform.cxx + simgear/scene/model/SGScaleTransform.cxx + simgear/scene/model/SGTranslateTransform.cxx + simgear/scene/model/animation.cxx + simgear/scene/model/particles.cxx + simgear/scene/model/placement.cxx + simgear/scene/model/shadanim.cxx + simgear/scene/sky/CloudShaderGeometry.cxx + simgear/scene/sky/cloud.cxx simgear/scene/sky/cloudfield.cxx + simgear/scene/sky/dome.cxx simgear/scene/sky/sky.cxx + simgear/scene/tgdb/GroundLightManager.cxx + simgear/scene/tgdb/SGOceanTile.cxx + simgear/scene/tgdb/SGTexturedTriangleBin.hxx + simgear/scene/tgdb/SGVasiDrawable.cxx + simgear/scene/tgdb/TreeBin.cxx simgear/scene/tgdb/obj.cxx + simgear/scene/tgdb/pt_lights.cxx + simgear/scene/util/SGUpdateVisitor.hxx + +2009-09-07 22:37 frohlich + + * simgear/scene/: material/matlib.cxx, material/matlib.hxx, + model/BoundingVolumeBuildVisitor.hxx: Fix problem with ocean + files not recognized as water. Move dynamic casts to EffectGeode + into the findMaterial method. + + Modified Files: simgear/scene/material/matlib.cxx + simgear/scene/material/matlib.hxx + simgear/scene/model/BoundingVolumeBuildVisitor.hxx + +2009-09-05 14:25 frohlich + + * simgear/math/SGQuat.hxx: Add some comments. Make sure floating + point constants do not introduce useless upcasts. Remove now + unused and not really usefull method. + + Modified Files: simgear/math/SGQuat.hxx + +2009-09-05 13:56 ehofman + + * simgear/magvar/Makefile.am: Also install coremag.hxx since it is + being used by JSBSim now + +2009-09-05 08:54 frohlich + + * simgear/scene/util/SGSceneFeatures.hxx: Remove unused member. + + Modified Files: simgear/scene/util/SGSceneFeatures.hxx + +2009-09-05 08:53 frohlich + + * simgear/: scene/sky/dome.cxx, math/SGGeod.cxx, math/SGGeod.hxx, + math/SGQuat.hxx, math/SGVec2.hxx, math/SGVec3.hxx, + math/SGVec4.hxx: Should be now more easy to make use of SGMath + without having osg. + + Modified Files: simgear/scene/sky/dome.cxx + simgear/math/SGGeod.cxx simgear/math/SGGeod.hxx + simgear/math/SGQuat.hxx simgear/math/SGVec2.hxx + simgear/math/SGVec3.hxx simgear/math/SGVec4.hxx + +2009-09-03 22:14 frohlich + + * simgear/scene/model/SGMaterialAnimation.cxx: Return a osg::Vec + value instead of a non const reference. + + Modified Files: scene/model/SGMaterialAnimation.cxx + +2009-09-03 22:13 frohlich + + * simgear/scene/model/: SGTranslateTransform.cxx, + SGRotateTransform.cxx, SGScaleTransform.cxx: Avoid the non const + SGVec*::osg() method. + + Modified Files: SGTranslateTransform.cxx + SGScaleTransform.cxx SGRotateTransform.cxx + +2009-09-03 22:10 frohlich + + * simgear/scene/model/: CheckSceneryVisitor.cxx, + CheckSceneryVisitor.hxx: Use const refs for const data. + + Modified Files: + simgear/scene/model/CheckSceneryVisitor.hxx + simgear/scene/model/CheckSceneryVisitor.cxx + +2009-08-29 15:38 torsten + + * simgear/scene/model/: SGText.cxx, SGText.hxx: Spare one node in + the scenegraph if there is no + +2009-08-25 09:19 timoore + + * simgear/scene/: material/Effect.cxx, tgdb/ShaderGeometry.cxx, + tgdb/ShaderGeometry.hxx, tgdb/TreeBin.cxx, tgdb/TreeBin.hxx, + tgdb/obj.cxx: Change trees code to use a faster OpenGL path + + The (random) dimensions of a large number of trees is stored in + an array shared by all the tree geodes. The coordinates of the + origin of each tree are replicated in an another array. This + allows an entire block of trees to be rendered with a few OpenGL + calls, instead of one function call per tree. + +2009-08-24 19:30 torsten + + * projects/VC90/SimGear.vcproj: support osgText in models + +2009-08-24 19:29 torsten + + * simgear/scene/model/: Makefile.am, SGReaderWriterXML.cxx, + SGText.cxx, SGText.hxx: support osgText in models. See + docs/README.osgtext for details + +2009-08-21 17:55 torsten + + * simgear/scene/tgdb/apt_signs.cxx: Don't load materials without a + name + +2009-08-21 14:10 torsten + + * simgear/math/SGGeodesy.cxx: Avoid NAN due to floating point + rounding errors + +2009-08-21 09:43 ehofman + + * simgear/scene/sky/oursun.cxx: prevent division by zero + +2009-08-20 17:24 torsten + + * simgear/screen/: RenderTexture.cpp, TestRenderTexture.cpp: Alan + Teeder: fix incomplete dbg_printf for non-gcc. + +2009-08-20 15:10 torsten + + * simgear/: misc/Makefile.am, sound/Makefile.am: don't build + tabbed_value_test, swap_test, openal_test1 and openal_test2 by + default. + +2009-08-20 15:09 torsten + + * simgear/sound/openal_test1.cxx: warning fix: unused variables + +2009-08-20 15:09 torsten + + * simgear/screen/TestRenderTexture.cpp: extinguish many warnings + (at least for gcc) + +2009-08-20 15:08 torsten + + * simgear/scene/: model/CheckSceneryVisitor.cxx, + sky/cloudfield.cxx, tgdb/TileEntry.cxx, tgdb/TreeBin.cxx: warning + fix: initializing members in the order they are declared keeps + gcc happy + +2009-08-20 13:53 torsten + + * simgear/scene/sky/: CloudShaderGeometry.cxx, newcloud.cxx: + warning fixes + +2009-08-20 13:44 torsten + + * simgear/screen/RenderTexture.cpp: extinguish many warnings (at + least for gcc) + +2009-08-20 13:09 torsten + + * simgear/scene/util/PrimitiveUtils.cxx: warning fix: abort program + and spit out a message if getNumPrims() is called with unknown + mode. (Shouldn't happen anyway) + +2009-08-20 13:02 torsten + + * simgear/scene/sky/cloud.cxx: warning fix: unused variable + +2009-08-20 13:02 torsten + + * simgear/scene/model/SGClipGroup.cxx: warning fix, unused code + +2009-08-20 12:55 torsten + + * simgear/scene/tgdb/apt_signs.cxx: don't use uninitialized + variables + +2009-08-20 12:55 torsten + + * simgear/scene/tgdb/: SGTexturedTriangleBin.hxx, + ShaderGeometry.cxx: warning fixes + +2009-08-20 11:17 torsten + + * simgear/scene/model/: ModelRegistry.cxx, animation.cxx, + ModelRegistry.hxx, shadanim.cxx: warning fixes + +2009-08-20 11:00 torsten + + * simgear/scene/material/: Effect.cxx, makeEffect.cxx: warning + fixes + +2009-08-20 10:51 torsten + + * simgear/math/SGIntersect.hxx: warning fix (multiline comment) + +2009-08-20 10:46 torsten + + * simgear/props/: props.cxx, props.hxx, props_io.cxx: warning fix + +2009-08-20 10:43 torsten + + * simgear/environment/visual_enviro.cxx: warning fix + +2009-08-20 10:41 torsten + + * simgear/math/SGGeodesy.cxx: warning fixes + +2009-08-20 10:32 torsten + + * simgear/structure/exception.cxx: Warning fix: array subscript is + above array bounds + +2009-08-16 21:33 ehofman + + * simgear/scene/sky/: oursun.cxx, oursun.hxx, sky.hxx: Expose the + color of the sun (which is not the scene specular color anymore) + +2009-08-16 10:42 ehofman + + * simgear/scene/sky/: oursun.cxx, oursun.hxx: Differentiate between + sun color (based in visibility) and scene color (based on + humidity) + +2009-08-09 12:49 torsten + + * simgear/scene/: material/mat.cxx, material/mat.hxx, tgdb/obj.cxx, + tgdb/SGTexturedTriangleBin.hxx: Stuart Buchanan: I've been + working on a small patch to allow trees to be grouped together + into woods. This allows what seems to me to be a more realistic + grouping of trees for farmland in particular. + +2009-08-08 14:26 fredb + + * projects/VC90/SimGear.vcproj, + simgear/scene/material/EffectBuilder.cxx, + simgear/scene/material/TextureBuilder.cxx: Compile under MSVC9 + +2009-08-08 12:19 timoore + + * projects/VC7.1/SimGear.vcproj, simgear/scene/material/Effect.cxx, + simgear/scene/material/EffectBuilder.cxx, + simgear/scene/material/EffectBuilder.hxx, + simgear/scene/material/Makefile.am, + simgear/scene/material/Noise.cxx, + simgear/scene/material/Noise.hxx, + simgear/scene/material/TextureBuilder.cxx, + simgear/scene/material/TextureBuilder.hxx, + simgear/scene/material/makeEffect.cxx, + simgear/scene/material/mat.cxx, simgear/scene/material/mat.hxx: + New effects from Till Busch: crops, water, landmass + + As shown at LinuxTag, with modifications from Tim Moore: the base + landmass texture is mixed with the steepness and snow effects. + Till's new syntax for textures in effect files was also added. + syntax for textures. Also, syntax for accessing internal + textures, such as Till's 3D noise texture, was added. + + Several bugs in the effect inheritance algorithm were fixed. + +2009-07-28 16:33 torsten + + * simgear/scene/model/animation.cxx: Allow multiple