Dobrohotov Alexei
971ba81ed2
Use higher level transformations in UVController
4 years ago
Dobrohotov Alexei
24f4bf9c28
Fix NiUVController UV offset calculations (bug #5995 )
4 years ago
Nelsson Huotari
f78a5d795c
Separate keyframes logic to provide basis for osgAnimation integration.
4 years ago
Alexei Dobrohotov
a46699fb1e
Handle NiGeomMorpherController interpolator list
4 years ago
Alexei Dobrohotov
f3f5dcb016
Read a few more NIF types
...
NiFloatInterpolator, NiPoint3Interpolator, NiTransformInterpolator, NiBoolInterpolator
Update a few existing controller records
Update NiSkinInstance
4 years ago
Andrei Kortunov
065ed5138e
Use emplace_back instead of push_back
4 years ago
Alexei Dobrohotov
302d8eed27
Clean up Roll- and FlipController implementation
4 years ago
AnyOldName3
b2cb98d30e
Fix NiFlipController
...
NiFlipControllers *always* affect the base texture, even if no base
texture is bound. When no base texture is bound, they default to UV set
zero and to having wrapped UV coordinates, instead of using the settings
for the disabled base texture.
4 years ago
Capostrophic
35de34c019
Don't clamp GeomMorpherController recovered weight value
...
Seems that Morrowind doesn't do it.
4 years ago
Capostrophic
3d31d21bc2
Don't encapsulate NIF transformation changes
...
Currently that causes issues
4 years ago
Capostrophic
f93655e803
Encapsulate NIF transform changes in NifOsg::MatrixTransform
5 years ago
Capostrophic
a61267f57d
Replace NodeUserData with a custom transform node
5 years ago
bzzt lost a hitlab login
26ab176389
profiling
...
Signed-off-by: Bret Curtis <psi29a@gmail.com>
5 years ago
bzzt lost a hitlab login
f12879a04c
allow statesetupdater as cullcallback = faster + works in paging
...
Signed-off-by: Bret Curtis <psi29a@gmail.com>
5 years ago
Capostrophic
30fc2e3e5e
Add basic NiPathController support (movement only)
5 years ago
Bret Curtis
68549828b4
create static functions to set/get hidden node mask; compromise on magic numbers to make things easier to understand
5 years ago
Bret Curtis
8a8107e837
as it says; revert vismask and uncomplicate openmw
5 years ago
Andrei Kortunov
7b5ec76db4
Fix regression in the NiVisController
5 years ago
Andrei Kortunov
84979fa8b7
Move VisMask to components
5 years ago
Capostrophic
83f61d1636
Support target color in NiMaterialColorController (bug #5159 )
5 years ago
Andrei Kortunov
7995a92672
Initialize missing variables
6 years ago
Andrei Kortunov
60f112d11c
Add support for NiRollController (feature #4675 )
6 years ago
Andrei Kortunov
7e2bda459b
Check if there are textures in FlipController to avoid division by zero (bug #4614 )
6 years ago
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
9 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