Lasse Öörni
|
ad7b7451b4
As latest SDL was found to be non-threadsafe in practice, removed the StaticMutex and the OBJECTTYPESTATIC constructs which were added to support multi-context use within a single process.
|
12 years ago |
Lasse Öörni
|
5e5d98581c
Concatenate world rotation separately to fix GetWorldRotation() returning erroneous values when parent node has nonuniform scale.
|
12 years ago |
Lasse Öörni
|
4a3ec28769
Added point inside StaticModel check from Firegorilla.
|
12 years ago |
Lasse Öörni
|
c0dbf7f545
Generalized the factory category for all objects.
|
12 years ago |
Wei Tjong Yao
|
8d1c28bc3e
Group components into categories. In the Editor app, dynamically create the menu structure based on the component categories. Added new GetCategory() method in Component class and exposed it to script. Reviewed and fixed as necessary the default attributes registration of Component's descendant classes. Removed 'Attenuation' and 'Panning' attributes from SoundSource3D as they are updated constantly in this class. Enhanced Context class to 'register' component category during the component factory registration.
|
12 years ago |
Wei Tjong Yao
|
184360dc82
Added new feature in the Editor's edit menu to reset-to-default selected serializable objects (nodes, components, UI-elements) to their default values with undo/redo support. Added new method ResetToDefault() in Serializable class and exposed it to Script. Fixed the constness in Serializable class and all the recently added filtering methods in UIElement descandant classes. Exposed AM_NODEID and AM_COMPONENTID to Script. Added new Keys() method in HashMap class. Fixed SetModel() method in StaticModel and AnimatedModel to accept null model pointer in order to make reset-to-default to work.
|
12 years ago |
Lasse Öörni
|
3f3d63280c
Fixed infinite raycast returning results that were not hit by the ray.
|
12 years ago |
Lasse Öörni
|
af8825047a
Started work on node/component enable & disable.
|
12 years ago |
Lasse Öörni
|
cbc5ccbe58
Fixed wrong signature for ReplaceExtension() function in script.
|
12 years ago |
Lasse Öörni
|
a40fead7dc
Updated license for the new year.
|
13 years ago |
Lasse Öörni
|
42f8b7854d
Fixed raycasts.
|
13 years ago |
Lasse Öörni
|
7d8558a51f
Applied massive patch from weitjong.
|
13 years ago |
Lasse Öörni
|
c7fe3c37bd
Added sound listener component whose position is automatically taken into account by Audio subsystem.
|
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
|
f0b6d55b28
Enclosed Urho3D classes inside Urho3D namespace to avoid clashes with external libraries.
|
13 years ago |
Lasse Öörni
|
abafe9b9f3
Fixed DecalSet functions being private.
|
13 years ago |
Lasse Öörni
|
478a5af9d1
Allow defining depth bias for materials.
|
13 years ago |
Lasse Öörni
|
3982058551
Edited comments.
|
13 years ago |
Lasse Öörni
|
42b9cbc158
Cleaned up terrain code.
|
13 years ago |
Lasse Öörni
|
248fc3c1b6
Terrain attributes.
|
13 years ago |
Lasse Öörni
|
296e36a75b
Calculate tangents for decals.
|
13 years ago |
Lasse Öörni
|
06371a62ed
Wrap decal around static geometry.
|
13 years ago |
Lasse Öörni
|
101b2ee338
Fixed crash if model had zero submeshes.
|
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
|
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 |