Commit Graph

  • 4f1906d598 Fix missing include file. Lasse Öörni 2014-07-24 23:48:03 +0300
  • d93fdb5aa4 Fix texture reload when device is initially lost. Lasse Öörni 2014-07-24 23:44:38 +0300
  • ad737e0d6e Documentation for background resource loading. Expanded Scene::LoadAsync() to either background load resources only, load scene + resources synchronously, or background load resources first, then load the scene. Closes #406. Lasse Öörni 2014-07-24 22:03:31 +0300
  • 33b15ebc31 Clean up ResourceCache template functions. Lasse Öörni 2014-07-24 17:24:24 +0300
  • be66059009 Refactor resource background loading into a separate class. Lasse Öörni 2014-07-24 17:23:00 +0300
  • 80fa911066 Fixed recording of background loaded resource's dependencies so that unnecessary waits do not occur when finishing the resources. Lasse Öörni 2014-07-24 02:20:06 +0300
  • 8c0cc2f916 Disregard background load request with empty name. Lasse Öörni 2014-07-24 01:24:45 +0300
  • e210ef20b2 Fix deadlock when waiting for a resource that is background loading but is now needed immediately. Lasse Öörni 2014-07-24 01:21:51 +0300
  • 3c7126de38 Asynchronous loading for AnimationSet2D. Lasse Öörni 2014-07-23 21:55:32 +0300
  • 3703658f66 Asynchronous loading for Sprite2D & SpriteSheet2D. Lasse Öörni 2014-07-23 20:06:05 +0300
  • 5450b1d111 Asynchronous loading for ParticleEffect2D. Correctly store material dependency when async loading ParticleEffect. Lasse Öörni 2014-07-23 17:48:53 +0300
  • 677ab20986 Asynchronous loading for ParticleEffect. Lasse Öörni 2014-07-23 17:28:20 +0300
  • 21053067bd Asynchronous loading of ScriptFile. Due to possibly accessing arbitrary engine functionality in script initializers the actual script compilation cannot be threaded even if AngelScript itself is compiled as thread-safe. Furthermore AngelScript allows only 1 simultaneous compile, and the resource loading system is not prepared to fail and retry in that case. Lasse Öörni 2014-07-23 17:19:44 +0300
  • d986ec7d25 If loading a Model synchronously, read directly into the buffers like before to avoid extra allocation & copy. Lasse Öörni 2014-07-23 16:27:29 +0300
  • 2b2b500892 Asynchronous loading for Model. Lasse Öörni 2014-07-23 16:16:06 +0300
  • 8ab908b1c9 Configurable max work time in ms per frame for finishing background loaded resources, and for non-threaded work in WorkQueue. Fix iteration bug if finishing several background loaded resources in one go. Lasse Öörni 2014-07-23 15:11:45 +0300
  • cdd2dae4fb Precalculate texture's mip levels during async loading, if applicable. Use a timer to avoid spending too much time per frame on finishing async loaded resources. Lasse Öörni 2014-07-23 14:29:39 +0300
  • 9bee27f0bd Merge branch 'master' into threaded-resource-load Lasse Öörni 2014-07-23 13:39:08 +0300
  • d5cfcd493b Further fixes for threaded drawable updates: ensure drawables per workitem > 0, do not update bounding boxes threaded as they may not be correct in case of hierarchical composition. Lasse Öörni 2014-07-23 13:29:59 +0300
  • 3181986f82 Log message for finalizing a background loaded resource. Lasse Öörni 2014-07-23 13:22:47 +0300
  • f194765e78 Background loading of Materials. Store dependencies of 3D & cube textures so that they will be properly live reloaded if the individual images change. Lasse Öörni 2014-07-23 02:04:28 +0300
  • df67ccdac7 Merge branch 'master' into threaded-resource-load Lasse Öörni 2014-07-22 22:33:43 +0300
  • 4a9ab417a8 As a possible fix to #409, remove the optimization to not mark a node dirty again if it is already dirty. As a consequence the TransformChanged() script function will work more logically. This change would cause reduced performance with a large amount of animating models; to counteract, introduce a "silent update" mechanism for node transforms. Lasse Öörni 2014-07-22 22:20:14 +0300
  • 37bb1e64cc Removed debug print from the material editor. Lasse Öörni 2014-07-22 20:20:03 +0300
  • 92872df9b8 Travis CI: API documentation update at 2014-07-22 14:07:16 UTC. [ci package] urho3d-travis-ci 2014-07-22 14:07:17 +0000
  • d60ca10c8f Restore Drawable base attributes to ParticleEmitter. Closes #407. Lasse Öörni 2014-07-22 16:50:24 +0300
  • 4f0893cf37 Create all timeline nodes. aster 2014-07-22 18:08:57 +0800
  • 5a8910c16c Editor: Update resource browser for particle emitters Chris Friesen 2014-07-22 03:43:30 -0500
  • 8463393377 Initial resource background loading API and implementation. Background loading-capable implementation for textures (load image in background thread, upload image to GPU in main thread), other resources todo. Allow dynamically created profiler block names by copying the name C string. Texture Load() function with image pointer renamed to SetData() to not confuse with the threaded/nonthreaded resource loading functions. Lasse Öörni 2014-07-22 01:30:02 +0300
  • 2b05124ff6 Fix the wrong bash if syntax for checking the existence of perl tool. Yao Wei Tjong 姚伟忠 2014-07-21 22:05:53 +0800
  • 85b1095fdf Also allow skipping of dSYM generation for external project. This should make incremental build using Debug configuration much faster during development. Yao Wei Tjong 姚伟忠 2014-07-21 20:11:40 +0800
  • f8b1b2cc24 Speed up Debug configuration iOS build by skipping dSYM generation. Other build configurations still use iOS default, i.e. dwarf-with-dsym. Yao Wei Tjong 姚伟忠 2014-07-21 14:50:29 +0800
  • 18bf6484cf For Travis CI - wrap package installation steps with 'travis_retry'. Occasionally package installation could fail due to timed out or other unknown one-off network issue, using 'travis_retry' wrapper to retry the installation should fix this. Yao Wei Tjong 姚伟忠 2014-07-21 11:08:43 +0800
  • 840143eb00 Protect some ResourceCache structures with a mutex so that eg. GetFile() or GetTempResource() can be called from worker threads. Verify that GetResource() is only called from the main thread. Lasse Öörni 2014-07-20 23:16:23 +0300
  • 461a61319f Allow logging from outside the main thread. These log messages are collected and handled at the end of frame. Lasse Öörni 2014-07-20 22:08:41 +0300
  • 346da1e1f9 Detect main thread when sending events or using profiler blocks; make these no-ops when called from outside the main thread. Lasse Öörni 2014-07-20 21:32:55 +0300
  • f3024b9f4b Added GetCurrentThreadID() static function to Thread. Store the thread which created the Context. Lasse Öörni 2014-07-20 20:40:00 +0300
  • d508eb51cb Use SDL_GetPrefPath also for the crashdump location. Lasse Öörni 2014-07-20 19:07:23 +0300
  • 1f521713e7 Do not store Image resources used during cube/3D texture loading permanently to cache. Lasse Öörni 2014-07-20 18:37:34 +0300
  • c26038fe05 Attempt to fix the MinGW failed build due to linker runs out of mem. Add -fno-keep-inline-dllexport compiler option when building using MinGW in order to reduce the object size and the link time (and thus hopefully reduce the linker memory consumption as well). Yao Wei Tjong 姚伟忠 2014-07-20 19:17:42 +0800
  • 7b79fb972c Fix bug in RigidBody2D. aster 2014-07-20 18:01:29 +0800
  • f7329aa83f Replace with a more proper derived CMake variable for easier maint. Add short comment on the intent of setting up RPATH. Yao Wei Tjong 姚伟忠 2014-07-20 13:43:15 +0800
  • 377c1d3fd1 Set editor camera mask to -1 Chris Friesen 2014-07-19 10:09:46 -0500
  • 62655920b8 Editor: Use viewport callbacks to hide gizmo Chris Friesen 2014-07-19 08:55:33 -0500
  • 91c489bdfb Setup RPATH for Mac OS X. Adjust soversion to keep Apple linker happy. Set CMake policy CMP0042 to NEW for early CMake 3.0.0 adopters to prevent warning message when generating Urho3D project file. Yao Wei Tjong 姚伟忠 2014-07-19 21:20:35 +0800
  • 88919f22f7 Setup soversion for Urho3D library and setup RPATH settings for Linux. Yao Wei Tjong 姚伟忠 2014-07-19 17:46:41 +0800
  • 63a1531076 Simplify the conditional branch to find the SDL_android_main.c. Yao Wei Tjong 姚伟忠 2014-07-18 12:26:55 +0800
  • 9f3247e71b Only search the project source directory when URHO3D_HOME is defined. Yao Wei Tjong 姚伟忠 2014-07-17 15:29:59 +0800
  • 08f08e460b Improve the reliablity to find SDL_android_main.c when using SDK. Replace usage of URHO3D_INSTALL_PREFIX environment variable with the more standard CMake's own CMAKE_PREFIX_PATH environment variable to define prefix path of non-standard SDK installation location. Yao Wei Tjong 姚伟忠 2014-07-17 15:15:15 +0800
  • cf1a0156e9 Briefly comment the CMake policy settings and update the documentation. Yao Wei Tjong 姚伟忠 2014-07-17 12:29:00 +0800
  • f3e18e6412 Make sure animation start time adjustment happens with tick conversion, tabs to spaces, some code reordering + added comments. Lasse Öörni 2014-07-16 19:13:04 +0300
  • 027b2a29ad Merge remote-tracking branch 'remotes/ninjastone/master' Lasse Öörni 2014-07-16 18:43:12 +0300
  • fc60d8de21 Fixed AssetImporter to adjust time of first key frame to 0. ninjastone 2014-07-17 00:06:20 +0900
  • f1fb658719 Travis CI: API documentation update at 2014-07-16 14:05:04 UTC. [ci package] urho3d-travis-ci 2014-07-16 14:05:05 +0000
  • fedd77922c Added zone texture unit also to the textureUnitNames array in Material.cpp. Lasse Öörni 2014-07-16 16:38:27 +0300
  • e82b3d53a1 Added support for zones defining a texture (either cube or 3D), that will be available in pixel shaders when rendering objects inside the zone. Lasse Öörni 2014-07-16 16:27:15 +0300
  • 3c77988d37 Set CMake policy CMP0026 to OLD for early CMake 3.0.0 adopters. This change prevents warning message spams while generating Urho3D project file. Yao Wei Tjong 姚伟忠 2014-07-16 13:15:11 +0800
  • 9b1e3e161a Fix editor camera orbiting with right mouse button when components only are selected in the hierarchy. Lasse Öörni 2014-07-15 23:23:34 +0300
  • 921b1ef792 Fixed the button name in DynamicGeometry touch controls. Lasse Öörni 2014-07-15 22:31:22 +0300
  • f45fc7c426 Travis CI: API documentation update at 2014-07-15 19:26:28 UTC. [ci package] urho3d-travis-ci 2014-07-15 19:26:28 +0000
  • b281e555d7 Added dynamic geometry C++ sample. Minor comment & warning fixes in other samples. Lasse Öörni 2014-07-15 22:03:53 +0300
  • b80fbc8817 Added Clone() function to Model, which deep-copies all data including vertex/index buffers, so that the clone can be individually animated. Closes #402. Lasse Öörni 2014-07-15 21:48:15 +0300
  • 6efadd91a2 Rename imp.png to imp_all.png, add texture parameters xml file. aster 2014-07-14 11:30:48 +0800
  • 56e29f5b24 Fix Transform2D argument.[ci skip] aster 2014-07-11 13:24:53 +0800
  • 1ac9680c52 Remove redundant default parameter.[ci skip] aster 2014-07-10 20:37:33 +0800
  • a11d455511 Do not recreate sprite node in AnimatedSprite2D, Do not use dynamic index buffer bug in DrawableProxy2D. aster 2014-07-10 20:33:12 +0800
  • 1049b6c3d2 For Travis CI - still do the packaging for iOS build no matter what. Yao Wei Tjong 姚伟忠 2014-07-04 00:40:47 +0800
  • 31360310ca For Travis CI - reduce parallel build jobs to 2 for MinGW static lib. This is necessary because the last two CI builds have failed for MinGW static library build due to insufficient memory during linking phase. Yao Wei Tjong 姚伟忠 2014-07-04 00:01:28 +0800
  • 98c09ac614 Insert GLSL version define before other defines if found from the shader code. Closes #398. Lasse Öörni 2014-07-02 21:37:30 +0300
  • dfd82f7f6d Fix typo[ci skip]. Aster@中国上海 2014-07-02 21:49:14 +0800
  • dec9ecfde2 LightAnimation sample now use ObjectAnimation in C++. Aster@中国上海 2014-07-02 21:39:37 +0800
  • cd42bc6f3f Make object animation can set child and component's attribute animation. Aster@中国上海 2014-07-02 21:38:20 +0800
  • 3d649a9f19 Fix calculating fullscreen resolution error metric. Closes #399. Lasse Öörni 2014-07-02 11:12:45 +0300
  • f9e555c19d Merge branch 'remove-short-string-hash' aster 2014-06-30 10:59:49 +0800
  • 2f29b3a5c0 Update documentation to not refer to ShortStringHash. Lasse Öörni 2014-06-29 19:36:14 +0300
  • 413aa66b10 Add more member functions in 2D particle classes. Aster@中国上海 2014-06-29 20:47:16 +0800
  • b69682217d Fixed & improved comments regarding integer colors in Color & Image classes. Lasse Öörni 2014-06-28 12:34:31 +0300
  • 30dc4aaf57 Travis CI: API documentation update at 2014-06-28 07:07:40 UTC. [ci package] urho3d-travis-ci 2014-06-28 07:07:40 +0000
  • 10046d4b26 Added integer API for setting Image pixels. Lasse Öörni 2014-06-28 09:57:13 +0300
  • 06f0257630 Added contributor credits. Lasse Öörni 2014-06-26 23:51:55 +0300
  • 4dbff773cd Reimport the dome model. Lasse Öörni 2014-06-26 23:51:10 +0300
  • 3a749bd889 fixed Dome rotation (Y-up) in blend file rasteron 2014-06-26 08:02:04 +0800
  • 60ce72af6e Merge remote-tracking branch 'upstream/master' rasteron 2014-06-26 07:50:53 +0800
  • 92ad14b2fe Fix memory allocation for the resources directory on iOS. Lasse Öörni 2014-06-25 22:47:55 +0300
  • d9d39592dd Update to AngelScript 2.29.0. Lasse Öörni 2014-06-25 22:20:59 +0300
  • 257d3bdc31 Make sure RigidBody2D mass center is initialized. Fixes #395. Lasse Öörni 2014-06-25 14:34:38 +0300
  • f8bff33517 Added Skydome blend file rasteron 2014-06-24 09:34:14 +0800
  • d875c9444c Added Dome model with UV Map rasteron 2014-06-23 07:53:33 +0800
  • f1c4eb8568 Fix ShortStringHash pointer type in script API registration. Lasse Öörni 2014-06-22 00:21:31 +0300
  • ad59ffa437 Change ShortStringHash to StringHash. Aster@中国上海 2014-06-21 22:21:20 +0800
  • 84fe0946c8 Remove ShortStringHash, Now all of ShortStringHash are replaced by StringHash. Aster@中国上海 2014-06-21 21:45:05 +0800
  • 2868d8e0b1 Add SetSprite in ParticleEffect2D. Aster@中国上海 2014-06-21 20:46:56 +0800
  • 57fbb5f827 Travis CI: API documentation update at 2014-06-20 23:21:27 UTC. [ci package] urho3d-travis-ci 2014-06-20 23:21:27 +0000
  • 016296a860 Remove unused variable. Fix Terrain Lua binding. Lasse Öörni 2014-06-21 02:08:09 +0300
  • c85499b695 Allow relatively fast partial updates to a terrain by modifying the heightmap image and calling ApplyHeightMap(). Added WorldToHeightMap() function to Terrain for converting world coordinates to heightmap pixel positions. Lasse Öörni 2014-06-21 01:51:32 +0300
  • b0bac0b63b Fixed editor warning. Chris Friesen 2014-06-18 22:16:48 -0500
  • a36edf5d1e Fix TerrainPatch raycast normal to world space. Lasse Öörni 2014-06-19 00:22:50 +0300
  • c87f520328 Fix terrain raycast not returning correct position & normal. Lasse Öörni 2014-06-19 00:14:51 +0300
  • 0dd7980a57 Travis CI: API documentation update at 2014-06-18 19:00:44 UTC. [ci package] urho3d-travis-ci 2014-06-18 19:00:44 +0000
  • 914cadf3fd Merge pull request #390 from ninjastone/master Lasse Öörni 2014-06-18 21:18:06 +0300