Lasse Öörni
4f1e1ce9b8
Added Slider UI element.
2011-01-18 22:11:22 +00:00
Lasse Öörni
61b2af9c14
Code cleanup.
...
Removed debug prints.
2011-01-18 18:18:24 +00:00
Lasse Öörni
916b30bcb3
Removed exception throwing from XMLElement code.
...
Fixed divide by zero bug in AnimationState.
2011-01-18 16:50:50 +00:00
Lasse Öörni
ed09fb3e67
Use ordinary exceptions in UIElement::setStyle(), as the function has a script wrapper.
2011-01-17 22:09:59 +00:00
Lasse Öörni
bf9f51ba4d
Refactored setting UI element style.
...
All UI elements derived from BorderImage can now define different graphics to be used on hover.
UI layout loading support.
2011-01-17 22:03:43 +00:00
Lasse Öörni
7d27a44d19
Added CheckBox UI element.
2011-01-16 21:46:17 +00:00
Lasse Öörni
ec14f7a3a2
Further UI refactoring. A hover color modification is now defined for all UI elements.
2011-01-16 18:49:21 +00:00
Lasse Öörni
4ef7ce7d3f
Renamed ModelConverter to OgreImporter.
...
Updated documentation.
2011-01-16 12:54:42 +00:00
Lasse Öörni
88a24c5bd0
Added LOD combine mode to AssetImporter.
...
Documentation update.
2011-01-16 12:05:58 +00:00
Lasse Öörni
22bc96f2a6
Added material support to AssetImporter.
2011-01-15 23:12:41 +00:00
Lasse Öörni
347fe0815d
Added more default materials.
...
Re-added fast square root & fast inverse square root, and fast variations of normalizing vectors & quaternions.
Skinning & instancing vertex shaders are now chosen automatically without the material having to specify them.
Refactored Button logic.
2011-01-15 20:35:13 +00:00
Lasse Öörni
8cdbcab464
Enabled nlerp interpolation in the Test example.
...
Fixed too high animation update rate in orthographic mode for invisible objects.
2011-01-14 20:25:45 +00:00
Lasse Öörni
665790609c
Registered setUseNlerp() / getUseNlerp() to script.
...
Documentation update.
2011-01-14 07:25:05 +00:00
Lasse Öörni
6c762c029c
Fixes to skinning & bone bounding box information and skeletal animation save in AssetImporter.
...
Model format changed: now the offset matrix is explicitly specified in the skeleton.
Removed onParentChanged(), onChildAdded() & onChildRemoved() from Node as unnecessary for now.
2011-01-13 21:05:51 +00:00
Lasse Öörni
f11e811262
Added binary scene save option.
...
Added resource base path option.
2011-01-13 07:37:05 +00:00
Lasse Öörni
437c8cd97e
Use scene path for models.
2011-01-12 22:10:28 +00:00
Lasse Öörni
cd9a426fc9
Added initial scene save support to AssetImporter.
2011-01-12 22:03:38 +00:00
Lasse Öörni
bcaf35fd4b
Removed debug prints from AssetImporter.
...
Removed unnecessary functions from Animation.
2011-01-12 06:13:19 +00:00
Lasse Öörni
ba10256fca
Added animation support to AssetImporter.
...
Added functions in Animation to set name and length, and add/remove tracks.
AnimationState now uses name hashes to query for bones.
Use world bounding box size for LOD scaled distance of GeometryNode and subclasses.
Removed manual animation LOD adjustments from NinjaSnowWar, as they became unnecessary.
Lowered the animation LOD basescale slightly, as now the bounding box dimensions are taken into account correctly.
2011-01-11 21:01:50 +00:00
Lasse Öörni
2d2d98fd5d
Added skeleton support to AssetImporter.
...
Added setBones() function to Skeleton, which does not copy the bones.
AnimatedModel now shows skeleton in debug geometry.
2011-01-11 08:04:44 +00:00
Lasse Öörni
e14db52ca0
More AssetImporter functionality.
...
Moved getD3DColor() as an inline function outside Renderer.
Fixed terminology in shaders: bitangent instead of binormal.
2011-01-10 21:23:24 +00:00
Lasse Öörni
039aa0c73a
Initial model conversion & save in AssetImporter.
...
Initialize the GeometryBoneMappings of a Model when the number of geometries is set.
2011-01-10 11:24:43 +00:00
Lasse Öörni
f345ef3776
Slight optimization of skeleton reset.
2011-01-09 18:43:07 +00:00
Lasse Öörni
09644088b8
Removed the autosyncsource feature from AnimatedModel as it is difficult to ensure that animation LOD updates line up correctly. Manual sync should be used instead.
...
Added local animation flag for AnimatedModel. When enabled, animation and morph updates will not be sent over network.
Added missing registration of syncAnimation() & syncMorphs() to script.
2011-01-09 16:01:48 +00:00
Lasse Öörni
265239438e
Combined script API registration includes to one file.
...
Optimized quaternion * vector function.
Separated VolumeNode update before octree reinsertion, and the actual reinsertion. Now the update has to be requested explicitly.
Changed animation update. Now also invisible AnimatedModels will update at a low frequency, so that renderer raycasts can be performed on invisible parts of the world with relative accuracy. Headless mode always updates all animated models at full frequency, as there is no concept of visibility.
Removed tracking of whether a skeleton has attached nodes, because it is no longer necessary.
2011-01-09 14:42:50 +00:00
Lasse Öörni
7b7e885515
Changed View related profiling block names.
...
Simplified the signature of markInView() & isInView().
2011-01-08 19:29:49 +00:00
Lasse Öörni
925512a1f9
Added Channel::getTimePosition().
...
Simulated sound playback uses the time position to also support compressed sounds.
2011-01-08 16:38:04 +00:00
Lasse Öörni
852cdeef0e
Added Signal & Thread classes. Audio is now a Thread subclass.
...
Removed MutexImpl class. Now the critical section is dynamically allocated instead.
Re-added LOD levels to the Jack model.
2011-01-08 14:58:30 +00:00
Lasse Öörni
46f4938c37
Removed cppunit, because Open Asset Import Library itself does not need it.
...
Script garbage collection is now one step only on each frame.
Audio thread adjusts its sleep time on how long it took to update (aims for 100 FPS.)
2011-01-08 10:37:10 +00:00
Lasse Öörni
51629b18c6
Added Open Asset Import Library.
...
Added skeleton of AssetImporter tool.
2011-01-07 17:08:09 +00:00
Lasse Öörni
6c1227c4f8
Implemented save for Material.
...
Refactored material & texture parameter loading.
Modified XMLFile's save() function to fit the new signature.
2011-01-06 21:20:19 +00:00
Lasse Öörni
4e37bbd3cc
Added optional save() function to Resource.
...
Implemented save for Model & Animation.
2011-01-06 18:12:28 +00:00
Lasse Öörni
ec1465adb7
Fixed Z-fail stencil clearing after drawing a split shadowed light.
...
Removed ResourceCache debug print.
2011-01-06 16:14:05 +00:00
Lasse Öörni
8efc696275
Added #include directive for scripts.
...
Added note of Resource::load() throwing exception on failure.
2011-01-06 14:13:39 +00:00
Lasse Öörni
a37f84c0a6
Added procedural scripted event handling support.
...
Reduced the maximum script execution nesting level.
2011-01-05 22:35:35 +00:00
Lasse Öörni
a9bde7738f
Use asynchronous scene loading when connecting to a server, so that there is no risk of timeout if the scene takes a long time to load.
...
Do not render while the scene is being loaded asynchronously.
2011-01-05 20:50:36 +00:00
Lasse Öörni
e488c7a155
Scene throws exception if null file specified for async load.
...
Made null pointer exceptions and errors more descriptive.
2011-01-04 09:35:39 +00:00
Lasse Öörni
24ef4f94f3
Moved most of the script API registration to Engine library.
...
Removed static instances from subsystems that do not need them.
2011-01-03 22:57:00 +00:00
Lasse Öörni
ad9edd8e72
Moved NinjaSnowWar audio initialization to script for quick verification of the script API.
...
Added possibility to transmit a VariantMap of custom login data when connecting to a server.
Added isClient() and isServer() functions to the script API.
ScriptFile::execute() borrows the ScriptEngine's immediate context automatically if a null context is specified.
Changed AngelScript x86 function calls to use EMMS instead of FNINIT to clear the floating point stack, to not affect the floating point control word.
Updated documentation.
2011-01-03 20:49:08 +00:00
Lasse Öörni
526f35bf16
Minor changes to binary formats for consistency.
...
Documented the binary scene format.
2011-01-03 14:57:40 +00:00
Lasse Öörni
04716f5115
Documentation update.
2011-01-03 00:26:00 +00:00
Lasse Öörni
902dfd4a13
Re-commit for the new year. Let's aim for less wiki update spam this time!
2011-01-02 23:33:36 +00:00