scrawl
5d524a6a10
Add custom version of MorphGeometry replacing osgAnimation
...
Double buffering, custom bounding box and the update in the cull visitor (instead of update) are now all handled internally rather than needing hacks and/or callbacks.
7 years ago
Allofich
ff3e307059
Pass parameters by const reference
8 years ago
scrawl
33d27a2285
Use ref_ptr
8 years ago
scrawl
62018e802b
Minor fix to particle system AutoPlay flag handling
...
The previous commit broke some magic effects (e.g. shield). The controller's emit start/stop times should control the emitter, while the absence of the ParticleSystem's autoplay flag should freeze the whole particle system if no valid controller source gets assigned. This revised version works for both the Shield effect and the "dagoth ur death sparkles" effect.
9 years ago
scrawl
0c08f705c5
Make the ParticleSystemController freeze the particle system instead of the emitter (Bug #3390 )
9 years ago
scrawl
be6ea3d607
Account for UV coordinate flip in UVController ( Fixes #3203 )
9 years ago
scrawl
daa94cc50e
Fix cppcheck warnings
9 years ago
scrawl
a29aef14f1
Eliminate a dynamic_cast in ParticleSystemController
9 years ago
scrawl
695fcf41c4
Optimize ValueInterpolator / KeyframeController
...
Cache the current position in the animation track and attempt to reuse it in the next frame.
Decent speed up for the Update phase, about 0.3 ms faster in Balmora.
9 years ago
scrawl
38510a56c2
GeomMorpherController: do not dirty the MorphGeometry unless necessary
9 years ago
scrawl
0d49c7fa51
GeomMorpherController: fix double update of MorphGeometry
9 years ago
scrawl
28b20428b9
Remove dynamic_cast in GeomMorpherController
9 years ago
scrawl
16b8ef3164
Don't use a shared Material in MaterialColorController
10 years ago
scrawl
de479e35c8
Fix AlphaController affecting all instances of the StateSet
10 years ago
scrawl
24ae1d5ace
Fix some issues found by coverity
10 years ago
scrawl
bf9c62fa42
Fix for some coverity scan defects
10 years ago
scrawl
01944c33f5
Basic water rendering
10 years ago
scrawl
3dcb167066
Map rendering
10 years ago
scrawl
da24e298ee
Fix -Wreorder warnings
10 years ago
scrawl
cd7808fc11
Cleanup in preparation for animation port
...
Scrapped previous idea for multiple animation sources, better approach incoming.
10 years ago
scrawl
edc5cad79e
Port Animation::addEffect
10 years ago
scrawl
c516e897ee
Move Controller base classes to SceneUtil, add visitor to assign ControllerSources
10 years ago
scrawl
de2c85e0f8
Port nifloader to the more efficient StateSetController
10 years ago
scrawl
a0b43f426e
Avoid setting DYNAMIC DataVariance on StateSets
10 years ago
scrawl
e5e1013c51
TextKeys attached to root node as user data, add .kf loading to scenemanager
10 years ago
scrawl
31adaf2495
Use simulationTime instead of referenceTime
10 years ago
scrawl
173887c2d9
AlphaController copy fix
10 years ago
scrawl
bb32c761df
*very* early texture manager, need a lot more thought to design this properly
10 years ago
scrawl
e938fa4a9d
Implement extrapolation mode in ControllerFunction (Bug #1871 )
10 years ago
scrawl
c179977f20
Fix quaternion rotation order
10 years ago
scrawl
20866b44f7
FlipController fix, DetailTexture & DarkTexture tested
10 years ago
scrawl
6219a7bbfc
Add .kf loader
10 years ago
scrawl
9242e6d256
Avoid copying keyframes in controller instances
10 years ago
scrawl
2db5df77f0
Change rotation/scale workaround in preparation for loading .kf controllers
10 years ago
scrawl
d486cde330
Fix broken VisControllers
10 years ago
scrawl
4957ceeb1d
Refactor controllers, now part of the scene graph as UpdateCallbacks
...
Practical benefits:
- The controller update is now run automatically
- Creating an instance of a scene graph should now work properly using the defined copy constructors
10 years ago
scrawl
ab3c28eb96
Use template function for interpolation
10 years ago
scrawl
f8422c3ed4
Particles mostly completed, still need to attach emitters to the correct node and handle NiBSPArrayController
10 years ago
scrawl
2a92fb57f7
Add FlipController
10 years ago
scrawl
c54ee16748
Add AlphaController and MaterialColorController
10 years ago
scrawl
3839d6f777
Simplify controller classes
10 years ago
scrawl
8e01d8cb19
Add OSG nifloader, currently supports geometry, materials, basic texturing, skinning, morphing, and most controllers.
10 years ago