Lasse Öörni
|
a40fead7dc
Updated license for the new year.
|
13 years ago |
Lasse Öörni
|
7d8558a51f
Applied massive patch from weitjong.
|
13 years ago |
Lasse Öörni
|
aeb5d9d281
Updated to AngelScript 2.25.0.
|
13 years ago |
Lasse Öörni
|
88aaa46465
Corrected formatting issues. License.txt & Readme.txt encoded as UTF-8, source code uses ASCII encoding.
|
13 years ago |
Lasse Öörni
|
fa4e6ea827
To be consistent, removed the dependency of animation and terrain LOD from viewport pixel size, as the actual size of screen pixels can not be known. Now the LOD only depends on distance and scale.
|
13 years ago |
Lasse Öörni
|
f0b6d55b28
Enclosed Urho3D classes inside Urho3D namespace to avoid clashes with external libraries.
|
13 years ago |
Lasse Öörni
|
eb3af6e90f
Animation state editing. Note: is a breaking change to AnimatedModel serialization, due to the extra variable needed!
|
13 years ago |
Lasse Öörni
|
363e9139de
Added possibility to read animation state start bone as String for handcrafted XML files.
|
13 years ago |
Lasse Öörni
|
170ee77019
To avoid confusion when to use what, and as the performance is usually better, use only HashMap & HashSet instead of Map & Set.
|
13 years ago |
Lasse Öörni
|
248fc3c1b6
Terrain attributes.
|
13 years ago |
Lasse Öörni
|
ab89278a5c
Create AnimatedModel morph vertex buffers on demand (when first non-zero morph weight set.)
|
13 years ago |
Lasse Öörni
|
92510672f7
Serialize also skinned decals.
|
13 years ago |
Lasse Öörni
|
6643bf7717
Started work on skinned decals.
|
13 years ago |
Lasse Öörni
|
06371a62ed
Wrap decal around static geometry.
|
13 years ago |
Lasse Öörni
|
e2790f81b0
To save GPU memory with many morphed instances of an AnimatedModel, copy only the morphable attributes into the morph vertex buffer, and read other (static) attributes from the original vertex buffer.
|
13 years ago |
Lasse Öörni
|
38fd976aa9
Fixed potential infinite loop when setting morphs.
|
13 years ago |
Lasse Öörni
|
153106519e
Restored public locking API for vertex & index buffers. On OpenGL locking is always emulated using either shadow or scratch data.
|
13 years ago |
Lasse Öörni
|
9654d7e5b0
Restore whole morph vertex buffer if data lost.
|
13 years ago |
Lasse Öörni
|
a4c1924e04
Vertex & index buffer refactoring to unify feature set between graphics APIs, cleanup code, and prepare for Android OpenGL context loss handling.
|
13 years ago |
Lasse Öörni
|
101b2ee338
Fixed crash if model had zero submeshes.
|
13 years ago |
Lasse Öörni
|
0debc43fed
Further Android fixes.
|
13 years ago |
Lasse Öörni
|
a556679a42
Fixed crash caused by assigning Geometry shared ptr's in multiple threads.
|
13 years ago |
Lasse Öörni
|
4548687d1b
Set Skybox distance to a fixed 0.
|
13 years ago |
Lasse Öörni
|
48190acfca
Eliminated most virtual function calls from getting Drawable batches.
|
13 years ago |
Lasse Öörni
|
e6fe0d6cf0
Removed convenience GetWorldTransform() from Component to make it explicit that an indirection to the parent node is being made.
|
13 years ago |
Lasse Öörni
|
8a4351b8ec
Removed the IsLoading() flag from Serializable. Instead implemented separately in AnimatedModel, which is the only component that needs that information.
|
13 years ago |
Lasse Öörni
|
496a21d984
Optimized CalculateLodLevels() when it's a no-op.
|
13 years ago |
Lasse Öörni
|
c936e216d9
Optimized StaticModel batch structure for less cache misses.
|
13 years ago |
Lasse Öörni
|
71beb9e343
Optimized UpdateDistance() for case of 1 submesh only.
|
13 years ago |
Lasse Öörni
|
7a06dc73e5
Avoid Component::GetWorldTransform() and related functions where possible to avoid extra indirection and function call.
|
13 years ago |