]>
git.mxchange.org Git - simgear.git/log
frohlich [Thu, 4 Jan 2007 12:52:50 +0000 (12:52 +0000)]
Modified Files:
Makefile.am SGNodeMasks.hxx
Added Files:
SGPickCallback.hxx SGSceneUserData.hxx: Preparations for generic
scenery picking.
frohlich [Thu, 4 Jan 2007 12:51:13 +0000 (12:51 +0000)]
Modified Files:
condition.hxx: Also derive from SGReferenced
frohlich [Thu, 4 Jan 2007 12:47:12 +0000 (12:47 +0000)]
Modified Files:
Makefile.am commands.cxx commands.hxx
Added Files:
SGBinding.cxx SGBinding.hxx: Move FGBinding to SGBinding
frohlich [Thu, 28 Dec 2006 13:25:14 +0000 (13:25 +0000)]
Modified Files:
SGIntersect.hxx: Make it compile with win32
frohlich [Wed, 27 Dec 2006 10:33:37 +0000 (10:33 +0000)]
Modified Files:
obj.cxx: Some kind of polygon offset for GL_POINTS.
frohlich [Wed, 27 Dec 2006 10:07:19 +0000 (10:07 +0000)]
Modified Files:
Makefile.am SGReferenced.hxx
Added Files:
SGAtomic.cxx SGAtomic.hxx:
Make the reference counts thread safe.
frohlich [Wed, 27 Dec 2006 09:23:39 +0000 (09:23 +0000)]
Modified Files:
Makefile.am SGMathTest.cxx SGQuat.hxx SGVec3.hxx
Added Files:
SGBox.hxx SGGeometry.hxx SGGeometryFwd.hxx SGGeometryTest.cxx
SGIntersect.hxx SGLineSegment.hxx SGPlane.hxx SGRay.hxx
SGSphere.hxx SGTriangle.hxx:
Small updates to the vector code, new geometry and collision
classes for use with a bv tree to speed up collission tests.
Also included is a rought unit test for the collissions.
ehofman [Sat, 23 Dec 2006 12:15:05 +0000 (12:15 +0000)]
Wether you like it or not, MispPro needs these libraries referenced
fredb [Sun, 17 Dec 2006 17:52:15 +0000 (17:52 +0000)]
memcpy needs #include <string.h>
fredb [Sat, 16 Dec 2006 17:29:16 +0000 (17:29 +0000)]
Port jpgfactory to OSG
fredb [Sat, 16 Dec 2006 13:12:48 +0000 (13:12 +0000)]
Project files for MSVC 7.1 aka .NET 2003
frohlich [Thu, 14 Dec 2006 05:24:16 +0000 (05:24 +0000)]
Modified Files:
simgear/math/SGVec3.hxx: fix spelling
frohlich [Fri, 8 Dec 2006 12:22:10 +0000 (12:22 +0000)]
Modified Files:
simgear/scene/sky/bbcache.cxx simgear/scene/sky/bbcache.hxx
simgear/scene/sky/cloudfield.cxx
frohlich [Fri, 8 Dec 2006 12:17:30 +0000 (12:17 +0000)]
Modified Files:
SGVec3.hxx: Generate any perpandicular vector to a given one.
frohlich [Fri, 8 Dec 2006 12:16:56 +0000 (12:16 +0000)]
Modified Files:
point3d.hxx: Add explicit conversion functions to SGVec*
frohlich [Tue, 5 Dec 2006 06:14:41 +0000 (06:14 +0000)]
Modified Files:
simgear/scene/model/animation.cxx: Fix a problem of muliple
texturre transform not finding the correct configuration.
frohlich [Tue, 5 Dec 2006 05:43:13 +0000 (05:43 +0000)]
Return void instead of bool.
frohlich [Sun, 3 Dec 2006 17:44:27 +0000 (17:44 +0000)]
Modified Files:
simgear/screen/extensions.hxx: Make it compile on macos
frohlich [Sun, 3 Dec 2006 17:27:46 +0000 (17:27 +0000)]
Modified Files:
simgear/scene/material/mat.cxx: Put solid scenery into the
opaque render bin
frohlich [Sun, 3 Dec 2006 17:02:40 +0000 (17:02 +0000)]
Modified Files:
simgear/scene/util/SGNodeMasks.hxx: Add pickable bit
frohlich [Sun, 3 Dec 2006 16:57:20 +0000 (16:57 +0000)]
Modified Files:
simgear/scene/model/Makefile.am
simgear/scene/model/animation.cxx
simgear/scene/model/animation.hxx
simgear/scene/model/model.cxx
simgear/scene/model/persparam.cxx
simgear/scene/model/persparam.hxx
simgear/scene/model/shadanim.cxx
Added Files:
simgear/scene/model/SGMaterialAnimation.cxx
simgear/scene/model/SGMaterialAnimation.hxx
Big animation overhaul. Improoves animation correctness.
frohlich [Sun, 3 Dec 2006 16:46:23 +0000 (16:46 +0000)]
Modified Files:
SGUpdateVisitor.hxx: Include light information.
frohlich [Sat, 2 Dec 2006 15:59:23 +0000 (15:59 +0000)]
Modified Files:
SGMisc.hxx: Add clip and periodic normalize functions.
frohlich [Sat, 2 Dec 2006 15:57:55 +0000 (15:57 +0000)]
Modified Files:
SGVec2.hxx SGVec3.hxx SGVec4.hxx: Add inf norm function
frohlich [Sat, 2 Dec 2006 15:56:55 +0000 (15:56 +0000)]
Modified Files:
interpolater.cxx interpolater.hxx: Enable reading tables directly
from our dom like tree.
frohlich [Mon, 27 Nov 2006 17:11:35 +0000 (17:11 +0000)]
Modified Files:
simgear/scene/sky/oursun.cxx: Fix the 'sun has wrong size' bug.
Thanks to Mark Akermann.
frohlich [Tue, 21 Nov 2006 18:44:54 +0000 (18:44 +0000)]
Modified Files:
simgear/math/interpolater.cxx simgear/math/interpolater.hxx
simgear/props/condition.cxx simgear/props/condition.hxx
simgear/scene/model/animation.cxx
simgear/scene/model/animation.hxx: Optimize interpolation table
lookup by using a std::map.
frohlich [Tue, 21 Nov 2006 18:39:57 +0000 (18:39 +0000)]
Modified Files:
SGVec2.hxx SGVec3.hxx SGVec4.hxx: Implement min/max for vectors
frohlich [Mon, 20 Nov 2006 18:19:02 +0000 (18:19 +0000)]
Modified Files:
model.cxx: Tweak model optimizations
frohlich [Mon, 20 Nov 2006 18:17:56 +0000 (18:17 +0000)]
Modified Files:
placementtrans.cxx placementtrans.hxx: Make use of that view
information in the update visitor
frohlich [Mon, 20 Nov 2006 18:15:34 +0000 (18:15 +0000)]
Modified Files:
SGUpdateVisitor.hxx: Store some view imformation in the
update visitor.
fredb [Sat, 18 Nov 2006 18:58:51 +0000 (18:58 +0000)]
Mac fix from Ima Sudonim
frohlich [Tue, 14 Nov 2006 21:15:20 +0000 (21:15 +0000)]
Modified Files:
VC8/SimGear.vcproj: Import buildsystem from Olaf Flebbe
frohlich [Tue, 14 Nov 2006 21:09:44 +0000 (21:09 +0000)]
Modified Files:
animation.hxx animation.cxx: Improove material/texture/blend animation
frohlich [Sun, 12 Nov 2006 10:32:42 +0000 (10:32 +0000)]
Modified Files:
animation.cxx animation.hxx: Fix crash on A-10 load
frohlich [Sun, 12 Nov 2006 07:28:59 +0000 (07:28 +0000)]
Modified Files:
model.cxx: Leave it to osg when to do mipmapping.
frohlich [Sun, 12 Nov 2006 07:23:42 +0000 (07:23 +0000)]
Modified Files:
model.cxx: Reset the database path past the whole model is loaded
frohlich [Sun, 12 Nov 2006 07:22:44 +0000 (07:22 +0000)]
Modified Files:
SGQuat.hxx: Make const method const
frohlich [Fri, 10 Nov 2006 05:30:37 +0000 (05:30 +0000)]
Modified Files:
simgear/scene/material/mat.cxx
simgear/scene/material/matlib.cxx simgear/scene/sky/cloud.cxx
simgear/scene/sky/dome.cxx simgear/scene/sky/moon.cxx
simgear/scene/sky/oursun.cxx simgear/scene/sky/sphere.cxx
simgear/scene/sky/stars.cxx simgear/scene/tgdb/apt_signs.cxx
simgear/scene/tgdb/leaf.cxx simgear/scene/tgdb/leaf.hxx
simgear/scene/tgdb/obj.cxx simgear/scene/tgdb/pt_lights.cxx
simgear/scene/util/SGDebugDrawCallback.hxx
simgear/screen/Makefile.am: Use color arrays for every geode.
Just use osg::Material instead of osg::Material and the associated
mode.
frohlich [Thu, 9 Nov 2006 05:42:06 +0000 (05:42 +0000)]
Modified Files:
scene/model/model.cxx: Next step in direction liveries
fredb [Tue, 7 Nov 2006 21:31:17 +0000 (21:31 +0000)]
copysign is already in compiler.h
frohlich [Tue, 7 Nov 2006 17:49:36 +0000 (17:49 +0000)]
Modified Files:
simgear/screen/extensions.cxx simgear/screen/extensions.hxx: Avoid
the assumption that with glx-1.4 glXGetProcAddress is available -
use dlsym to get that function.
fredb [Tue, 7 Nov 2006 07:22:48 +0000 (07:22 +0000)]
This class is for plib only
frohlich [Tue, 7 Nov 2006 06:40:35 +0000 (06:40 +0000)]
Modified Files:
mat.cxx: Fix dark scenery problem.
frohlich [Tue, 7 Nov 2006 06:02:47 +0000 (06:02 +0000)]
Modified Files:
simgear/Makefile.am: Make 'make distclean' work
frohlich [Tue, 7 Nov 2006 05:55:46 +0000 (05:55 +0000)]
Modified Files:
projects/VC8/SimGear.vcproj: Olaf Flebbe: updated project files
frohlich [Tue, 7 Nov 2006 05:47:00 +0000 (05:47 +0000)]
Modified Files:
simgear/scene/util/SGUpdateVisitor.hxx: Only traverse active
children.
frohlich [Tue, 7 Nov 2006 05:46:25 +0000 (05:46 +0000)]
Modified Files:
simgear/scene/util/SGDebugDrawCallback.hxx
simgear/math/SGQuat.hxx: Olaf Flebbe: Make it compile on some more
win32 variants.
fredb [Mon, 6 Nov 2006 21:59:02 +0000 (21:59 +0000)]
Don't try to load textures when no name is given
fredb [Fri, 3 Nov 2006 18:08:46 +0000 (18:08 +0000)]
Attempt to fix the APIENTRY problem. It looks like a problem in OSG, or a conflict between OSG and plib/pui
fredb [Fri, 3 Nov 2006 10:04:58 +0000 (10:04 +0000)]
For some reason I don't know yet, the APIENTRY stuff in osg/GL is broken for some files. Include the real windows.h until we find why.
fredb [Fri, 3 Nov 2006 09:57:02 +0000 (09:57 +0000)]
add copysign definition for MSVC
fredb [Thu, 2 Nov 2006 17:40:54 +0000 (17:40 +0000)]
Win32 compilation fix
frohlich [Thu, 2 Nov 2006 13:37:23 +0000 (13:37 +0000)]
Modified Files:
SGMath.hxx: Attempt to help IRIX builds
frohlich [Thu, 2 Nov 2006 06:15:14 +0000 (06:15 +0000)]
Modified Files:
projects/VC8/SimGear.sln projects/VC8/SimGear.vcproj: Import Olafs
project files
frohlich [Wed, 1 Nov 2006 21:25:21 +0000 (21:25 +0000)]
Modified Files:
Makefile.am SGMath.hxx SGMathFwd.hxx SGMatrix.hxx SGQuat.hxx
Added Files:
SGVec2.hxx
Improove the matrix functions. Improove the quaterion functions.
Add the 2d vector.
mfranz [Wed, 1 Nov 2006 21:24:24 +0000 (21:24 +0000)]
+ .deps/
frohlich [Tue, 31 Oct 2006 06:26:50 +0000 (06:26 +0000)]
Modified Files:
simgear/scene/model/Makefile.am
simgear/scene/model/animation.cxx
simgear/scene/model/animation.hxx
simgear/scene/model/modellib.cxx
simgear/scene/model/modellib.hxx
Removed Files:
simgear/scene/model/personality.cxx
simgear/scene/model/personality.hxx:
Updates to the animation system.
Personality can be implemented easier now
frohlich [Tue, 31 Oct 2006 06:14:38 +0000 (06:14 +0000)]
Modified Files:
Makefile.am SGStateAttributeVisitor.hxx
SGTextureStateAttributeVisitor.hxx
Added Files:
SGStateAttributeVisitor.cxx SGTextureStateAttributeVisitor.cxx:
Move implementation into cxx files
frohlich [Tue, 31 Oct 2006 05:37:45 +0000 (05:37 +0000)]
Modified Files:
simgear/math/SGQuat.hxx: Initialize with zero not with null pointer
frohlich [Tue, 31 Oct 2006 05:36:50 +0000 (05:36 +0000)]
Modified Files:
simgear/screen/extensions.cxx simgear/screen/extensions.hxx:
use glXGetProcAddress if approriate
frohlich [Tue, 31 Oct 2006 05:33:48 +0000 (05:33 +0000)]
Modified Files:
simgear/timing/timestamp.hxx: Remove reimplemented default
implementations
frohlich [Mon, 30 Oct 2006 19:56:09 +0000 (19:56 +0000)]
Modified Files:
configure.ac: Add a configure flag for osg
mfranz [Sun, 29 Oct 2006 20:08:27 +0000 (20:08 +0000)]
Makefile(.in)
frohlich [Sun, 29 Oct 2006 19:27:08 +0000 (19:27 +0000)]
Modified Files:
configure.ac simgear/environment/visual_enviro.cxx
simgear/ephemeris/ephemeris.cxx
simgear/ephemeris/ephemeris.hxx simgear/ephemeris/stardata.cxx
simgear/ephemeris/stardata.hxx simgear/math/SGMatrix.hxx
simgear/math/SGQuat.hxx simgear/math/SGVec3.hxx
simgear/math/SGVec4.hxx simgear/scene/Makefile.am
simgear/scene/material/mat.cxx simgear/scene/material/mat.hxx
simgear/scene/material/matlib.cxx
simgear/scene/material/matlib.hxx
simgear/scene/material/matmodel.cxx
simgear/scene/material/matmodel.hxx
simgear/scene/model/Makefile.am
simgear/scene/model/animation.cxx
simgear/scene/model/animation.hxx
simgear/scene/model/custtrans.hxx
simgear/scene/model/model.cxx simgear/scene/model/model.hxx
simgear/scene/model/modellib.cxx
simgear/scene/model/modellib.hxx
simgear/scene/model/personality.cxx
simgear/scene/model/personality.hxx
simgear/scene/model/placement.cxx
simgear/scene/model/placement.hxx
simgear/scene/model/placementtrans.cxx
simgear/scene/model/placementtrans.hxx
simgear/scene/model/shadanim.cxx
simgear/scene/model/shadowvolume.hxx
simgear/scene/sky/cloud.cxx simgear/scene/sky/cloud.hxx
simgear/scene/sky/cloudfield.cxx simgear/scene/sky/dome.cxx
simgear/scene/sky/dome.hxx simgear/scene/sky/moon.cxx
simgear/scene/sky/moon.hxx simgear/scene/sky/newcloud.cxx
simgear/scene/sky/oursun.cxx simgear/scene/sky/oursun.hxx
simgear/scene/sky/sky.cxx simgear/scene/sky/sky.hxx
simgear/scene/sky/sphere.cxx simgear/scene/sky/sphere.hxx
simgear/scene/sky/stars.cxx simgear/scene/sky/stars.hxx
simgear/scene/tgdb/apt_signs.cxx
simgear/scene/tgdb/apt_signs.hxx simgear/scene/tgdb/leaf.cxx
simgear/scene/tgdb/leaf.hxx simgear/scene/tgdb/obj.cxx
simgear/scene/tgdb/obj.hxx simgear/scene/tgdb/pt_lights.cxx
simgear/scene/tgdb/pt_lights.hxx
simgear/scene/tgdb/userdata.cxx
simgear/scene/tgdb/userdata.hxx simgear/scene/tgdb/vasi.hxx
simgear/screen/jpgfactory.cxx simgear/screen/tr.cxx
simgear/structure/Makefile.am simgear/threads/SGThread.hxx
Added Files:
simgear/scene/util/Makefile.am
simgear/scene/util/SGDebugDrawCallback.hxx
simgear/scene/util/SGNodeMasks.hxx
simgear/scene/util/SGStateAttributeVisitor.hxx
simgear/scene/util/SGTextureStateAttributeVisitor.hxx
simgear/scene/util/SGUpdateVisitor.hxx
Removed Files:
simgear/screen/ssgEntityArray.cxx
simgear/screen/ssgEntityArray.hxx
simgear/structure/ssgSharedPtr.hxx
Big BLOB on the way to OSG.
curt [Sat, 28 Oct 2006 22:12:48 +0000 (22:12 +0000)]
wim van hoydonck:
Updated to World Magnetic Model 2005.
mfranz [Tue, 24 Oct 2006 20:28:08 +0000 (20:28 +0000)]
- don't need a guarded pointer here
- shorten variable, fix indentation
mfranz [Tue, 24 Oct 2006 19:44:38 +0000 (19:44 +0000)]
allow to switch on/off at runtime a whole imported <model> via <condition>:
<model>
<path>some/model.xml</path>
<condition>
<property>model/switch</property>
</condition>
</model>
Of course, one could add "select" animations for all <object-name> in the
<model>, but this is tedious and can hardly be done e.g. for all
objects in all instruments in $FG_ROOT/Aircraft/Instruments-3d/ etc.
The feature will be used in the bo105, so that civilian variants can
have a HSI instrument, where military variants have a TACAN etc.
durk [Sun, 22 Oct 2006 19:42:17 +0000 (19:42 +0000)]
Compile time fixes needed to build SimGear on recent cygwin versions.
durk [Sun, 22 Oct 2006 19:41:16 +0000 (19:41 +0000)]
Make configuration script compatible with "home-built" openal libraries
on cygwin.
mfranz [Sun, 22 Oct 2006 13:08:09 +0000 (13:08 +0000)]
- // This will come back and remove
- // the current item each time. Is
- // that OK?
No, it is not OK. This messes up the vector and confuses the iterator.
And it leads to crashes. Better read the vector in reverse order.
curt [Thu, 19 Oct 2006 03:36:22 +0000 (03:36 +0000)]
Step #1 towards abandoning the original point lighting scheme in favor of
sprite based lighting.
frohlich [Sat, 30 Sep 2006 07:11:16 +0000 (07:11 +0000)]
Modified Files:
SimGear.vcproj: Import changes from Olaf
durk [Sat, 30 Sep 2006 05:11:25 +0000 (05:11 +0000)]
Memory leak fix.
fredb [Wed, 27 Sep 2006 20:16:32 +0000 (20:16 +0000)]
Win32 only : Don't alloc a console when it is not needed
fredb [Sat, 2 Sep 2006 11:21:22 +0000 (11:21 +0000)]
Add a simple program to benchmark SGTimeStamp::stamp()
fredb [Thu, 31 Aug 2006 18:26:45 +0000 (18:26 +0000)]
Make the SGTimeStamp behave under Windows just like for other environments
fredb [Mon, 28 Aug 2006 19:38:23 +0000 (19:38 +0000)]
Use getNodeValue as initially planned
ehofman [Mon, 28 Aug 2006 18:53:36 +0000 (18:53 +0000)]
MispPro requires an explicit declaration.
curt [Sat, 26 Aug 2006 14:02:17 +0000 (14:02 +0000)]
Frederic Bouvier:
Make line feed behavior consistent between linux/windows.
fredb [Fri, 25 Aug 2006 19:25:56 +0000 (19:25 +0000)]
Better encapsulation for personality
mfranz [Thu, 24 Aug 2006 23:03:52 +0000 (23:03 +0000)]
compile (gcc 4.1.0)
("In member function 'T SGPersonalityParameter<T>::shuffle()':
28: error: there are no arguments to 'sg_random' that depend on a template
parameter, so a declaration of 'sg_random' must be available")
fredb [Thu, 24 Aug 2006 22:46:40 +0000 (22:46 +0000)]
Reorganize personality parameters and add personality to translate, blend and scale animations
frohlich [Tue, 8 Aug 2006 05:05:09 +0000 (05:05 +0000)]
Remove duplicate linker line in the resulting Makefile
fredb [Sun, 30 Jul 2006 21:02:36 +0000 (21:02 +0000)]
Win32 fix
frohlich [Sun, 30 Jul 2006 07:48:06 +0000 (07:48 +0000)]
Remove fastmath funktions like discussed on the list.
Add a new header with forward declarations of the SGMath stuff.
frohlich [Thu, 27 Jul 2006 16:34:32 +0000 (16:34 +0000)]
Clean up scenery center handling.
durk [Thu, 27 Jul 2006 05:15:20 +0000 (05:15 +0000)]
Mark's dynamic sun color changes.
curt [Fri, 21 Jul 2006 15:45:01 +0000 (15:45 +0000)]
Additional functionality for animated point lights (i.e. approach light
rabbits, REIL, VASI/PAPI, etc.)
This allows the calling layer (i.e. FlightGear) better control over the use
of OpenGL point drawing extensions.
curt [Wed, 12 Jul 2006 15:08:00 +0000 (15:08 +0000)]
Updated dist content.
mfranz [Wed, 5 Jul 2006 09:31:36 +0000 (09:31 +0000)]
remove the last redundant "delete" check in all of fgfs/sg (except JSBSim)
andy [Wed, 5 Jul 2006 02:52:06 +0000 (02:52 +0000)]
The previous update (and, embarassingly, the "nasal 1.0" release I
announced on Freshmeat.net) was broken. This is the proper
break/continue fix.
andy [Mon, 3 Jul 2006 05:13:27 +0000 (05:13 +0000)]
Been hacking at Nasal recently:
Fix bug with break/continue inside of a foreach or forindex: Don't pop
the vector/index inside OP_EACH, do it at the end of the loop.
In the process, discovered and fixed a scary corruption issue with
continue; it never really worked right, although simple usage was
likely to get away without crashing. Both the continue's OP_BREAK and
the cleanup code at the end of a loop would pop the "mark" stack,
leading to an underflow. Introduced an OP_CONTINUE which adjusts
stack but doesn't change markTop
Re-inline the PUSH macro. This thing is called all over the place
from the inner loop. If the problem is intra-expression side effects,
then just use another expression in the macro.
Return an empty vector when requesting zero-length subvec, not nil
Have call() return the call stack in the error vector; see docs on
plausible.org/nasal or ask Andy about this feature.
Default closure()'s level argument to zero, not nil
Add an optional "file name" argument to compile()
mfranz [Sat, 1 Jul 2006 20:06:05 +0000 (20:06 +0000)]
actually query the <condition> that is already set up in SGShaderAnimation
mfranz [Sun, 25 Jun 2006 11:55:56 +0000 (11:55 +0000)]
add knots <-> feet-per-second conversion constants
fredb [Sat, 17 Jun 2006 22:02:32 +0000 (22:02 +0000)]
Compile again on Win32 platforms
frohlich [Sat, 17 Jun 2006 16:04:28 +0000 (16:04 +0000)]
Make at least the header aliasing safe.
frohlich [Sat, 17 Jun 2006 16:04:05 +0000 (16:04 +0000)]
Make it compile with gcc-3.3.6
fredb [Fri, 16 Jun 2006 10:03:38 +0000 (10:03 +0000)]
Compile again on Win32 platforms
mfranz [Fri, 16 Jun 2006 09:29:54 +0000 (09:29 +0000)]
add float_to_int() rounding function from Cockpit/hud_opts.hxx. The original
file said "(c) FlightGear Project" and "probably written by Norman Vine".