Commit Graph

452 Commits

Author SHA1 Message Date
Lasse Öörni
1034f8856f Added scene load/save to C++ VehicleDemo. 2013-09-15 16:38:29 +00:00
Lasse Öörni
ef43398d7f Added scene load/save to CharacterDemo, both C++ & script versions. 2013-09-15 10:51:27 +00:00
Wei Tjong Yao
205fffb4ad Refactored Sample.h to use class forward for Sprite class. Fixed the alignment of the forward classes to be inlined with convention used by other codes in Urho3D. Added the generated LuaScript wiki into SVN. 2013-09-12 05:44:23 +00:00
Lasse Öörni
629d96473c Added skybox material.
Demonstrate use of skybox in the Physics sample.
2013-09-10 09:16:13 +00:00
Lasse Öörni
c1e03c48db Combine octree update & reinsertion queuing.
Queue only one large work item per thread for threaded Octree & View operations.
Protect the network replication dirty sets with mutex if nodes/components are inserted during the threaded update phase.
2013-09-07 21:08:40 +00:00
Lasse Öörni
e6d0b4d3f3 Normalize ray direction in constructor. 2013-09-04 14:42:32 +00:00
Lasse Öörni
94a3c80e34 Added C++ version of HugeObjectCount example, and animation to both versions.
Added note of event subscription time to the first C++ example.
2013-09-03 19:32:10 +00:00
Wei Tjong Yao
274c06d3a4 Use the else-if construct as the conditions are mutually exclusive. 2013-09-02 13:59:08 +00:00
Lasse Öörni
55ef6dd6c3 CharacterDemo & VehicleDemo in script. 2013-09-02 13:40:10 +00:00
Lasse Öörni
9cbea3b331 Added SoundEffects, Navigation, Chat & SceneReplication samples in script. 2013-09-02 00:05:05 +00:00
Lasse Öörni
b9cc284048 PhysicsStressTest & Ragdolls samples in script. 2013-09-01 17:36:01 +00:00
Lasse Öörni
869046d7cb Added Physics sample in script. 2013-09-01 12:05:11 +00:00
Lasse Öörni
30b7905d98 Decals & MultipleViewports samples in script.
Fixed camera rotation in VehicleDemo.
2013-08-31 14:22:36 +00:00
Lasse Öörni
3c6a0f57d7 In the SoundEffects sample, start/stop music when buttons released. 2013-08-31 12:41:37 +00:00
Lasse Öörni
7b4ae12fe0 Ported Sprites, StaticScene & AnimatingScene samples to AngelScript. 2013-08-29 21:34:34 +00:00
Lasse Öörni
10abc4414b Ported HelloGUI sample to script. 2013-08-29 15:53:55 +00:00
Lasse Öörni
5094541394 Ported the first sample to AngelScript. 2013-08-29 14:11:34 +00:00
Lasse Öörni
26901cdc4c Added vehicle sample. 2013-08-28 23:35:10 +00:00
Lasse Öörni
04b00263b0 Moved CharacterDemo to the samples.
Use forward declarations in the samples.
2013-08-27 21:45:43 +00:00
Lasse Öörni
3b32acf27f Added possibility to clear scene of only replicated or local content. Do not clear local content from a client scene when joining a server. This makes the startup of the SceneReplication sample faster, as the static scene is not replicated.
Exposed missing Node::RemoveAllComponents() to script.
2013-08-27 15:15:30 +00:00
Lasse Öörni
dfb318b4f9 Added scene network replication sample. 2013-08-27 00:12:07 +00:00
Lasse Öörni
796d8871b9 Sample code cleanup. 2013-08-26 07:41:02 +00:00
Lasse Öörni
426d664990 Added network chat sample. Cleaned up UI creation code in SoundEffects sample.
Include kNet include dir when finding Urho3D library.
Reset the server connection pointer before sending disconnection event in the Network subsystem.
2013-08-25 23:42:22 +00:00
Lasse Öörni
31da083870 Disallow headless mode from the samples as they do not nullcheck eg. for the Graphics subsystem and would crash. 2013-08-25 21:25:15 +00:00
Lasse Öörni
cfb11454b4 Refactored raycast code in the Decals & Navigation samples.
Added adding & removing obstacles in the Navigation sample.
2013-08-25 20:50:04 +00:00
Lasse Öörni
829bd2a221 Clean up some comments. 2013-08-25 18:52:02 +00:00
Lasse Öörni
fc1c2e6f13 Initial Navigation sample.
Added overload of NavigationMesh::DrawDebugGeometry() that finds the DebugRenderer component from the root scene node automatically.
2013-08-25 18:47:48 +00:00
Lasse Öörni
056acfcc68 Added sound effects example. 2013-08-25 09:20:56 +00:00
Lasse Öörni
e7558a3be9 Demonstrate rolling friction in the Ragdolls sample. 2013-08-24 20:21:16 +00:00
Lasse Öörni
2271d6ba83 Added Ragdolls sample.
Added template version of RemoveComponent to Node.
2013-08-24 14:20:02 +00:00
Lasse Öörni
31f4ac0bab Larger plane in the Physics sample. 2013-08-23 05:09:26 +00:00
Lasse Öörni
81d87af14c Make the mesh objects larger for more interesting collision response. 2013-08-22 21:29:45 +00:00
Lasse Öörni
e7e469cf5a Added PhysicsStressTest sample. 2013-08-22 21:23:20 +00:00
Lasse Öörni
58903874f7 Scene node name consistency in the samples. 2013-08-22 06:35:49 +00:00
Lasse Öörni
056a071ed2 Adjusted physics sample materials. Let the boxes fall a bit in the beginning.
Copy export header only if it has changed to prevent unnecessary engine rebuild.
2013-08-22 06:30:41 +00:00
Lasse Öörni
b8882c588f Adjust the physics sample initial object positions & friction. 2013-08-21 23:07:16 +00:00
Lasse Öörni
497bd8c101 Added Physics sample. 2013-08-21 22:58:41 +00:00
Lasse Öörni
27f1f3ec59 Use the same object count in RenderToTexture as in AnimatingScene. 2013-08-21 10:03:22 +00:00
Lasse Öörni
dbdafefaae Set bilinear filter on the render texture so it looks better up close. 2013-08-20 23:29:36 +00:00
Lasse Öörni
99b2724708 Adjust object & camera position in the RenderToTexture sample. 2013-08-20 23:27:41 +00:00
Lasse Öörni
87a6ee9578 Added MultipleViewports & RenderToTexture samples.
Added diffuse unlit & notexture unlit techniques.
Do not use occlusion if viewport is very tall compared to width, as the pixel width of the occlusion buffer is fixed and would result in large CPU time consumption.
2013-08-20 23:23:42 +00:00
Lasse Öörni
4a31966a14 Updated comments in the samples.
Updated script API.
2013-08-20 07:08:02 +00:00
Lasse Öörni
e4ed439148 Added common rendering quality controls to all samples.
Fixed quality for the Logo & LogoLarge textures.
2013-08-20 06:39:01 +00:00
Lasse Öörni
cc494ac7e7 Added safety check for the number of animation states. 2013-08-19 20:31:00 +00:00
Lasse Öörni
54a0c90d7a Update AnimatedModel's bounding box with bone accuracy only when the animation is updated. Otherwise transform the previous last calculated bone bounding box. This results in a significant performance boost when a large amount of AnimatedModels are both moved, and animated. 2013-08-19 20:24:01 +00:00
Lasse Öörni
0f4fbda5fb Added Decals example.
Refactored SkeletalAnimation example to use a custom component as well.
2013-08-19 19:45:27 +00:00
Lasse Öörni
26a9bc763e Added Temporary flag to Serializable, which means it will not be saved if enabled. Currently the sub-nodes created by Terrain are marked temporary.
Temporary objects are by default not shown in the editor.
Added trigonometric functions which take degrees argument into the C++ API, not just script.
Edited the Billboards sample.
Made the Urho3D logo in the samples slightly transparent.
2013-08-18 16:50:28 +00:00
Lasse Öörni
a9eb0e1e61 Added Billboards sample.
Some code cleanup/formatting of the other samples.
2013-08-17 23:45:09 +00:00
Lasse Öörni
f74f4dd6f8 Moved the logic for determining whether to use executable directory or the current working directory into FileSystem::GetProgramDir(). 2013-08-17 21:09:47 +00:00
Lasse Öörni
1ef35d353c Added skeletal animation sample.
Fixed build of samples.
Removed line to disable MinSizeRel build type in CMake script as it seems to have no effect any longer.
Removed unused function to get AnimationState by C string of animation name.
2013-08-17 18:38:07 +00:00
Lasse Öörni
e2d2c01636 Added AnimatingScene sample. 2013-08-11 22:24:26 +00:00
Wei Tjong Yao
02512cecf9 In order to move the out-of-source 'build' directory back to Urho3D project root directory, all the source codes sub-directories are now moved down one level to a new directory under project root called 'Source'. 2013-08-09 10:29:22 +00:00