Commit Graph

  • 629d96473c Added skybox material. Demonstrate use of skybox in the Physics sample. Lasse Öörni 2013-09-10 09:16:13 +0000
  • d72a05fea0 Fixed repeat paging of the slider. Lasse Öörni 2013-09-10 07:00:00 +0000
  • caf5aa4118 Store Lua function to LUA_REGISTRYINDEX table, make better performance. Aster Jian 2013-09-10 05:13:50 +0000
  • e90e99536a Documentation update. Lasse Öörni 2013-09-09 22:00:14 +0000
  • 26fabce801 Added Civetweb library for HTTP requests. Implemented basic HTTP request functionality. Not exposed to script yet. Lasse Öörni 2013-09-09 21:58:24 +0000
  • 22651bf27c Applied UI style and material editor patch from Sebastian Delatorre. Old style is still available as OldStyle.xml & OldUI.png. Lasse Öörni 2013-09-09 17:11:49 +0000
  • 34557813fa Port SkeletalAnimatioin sample to Lua. Aster Jian 2013-09-09 14:21:57 +0000
  • dfc7647277 Replace table with spaces. Aster Jian 2013-09-09 06:50:17 +0000
  • 17bcc5b9e7 Port Animating Scene to lua, test for LuaScriptInstance class. Aster Jian 2013-09-09 06:33:56 +0000
  • f9e2d7c9d1 Add LuaScriptInstance class. Aster Jian 2013-09-09 06:32:58 +0000
  • 4eadb9f6c8 Cleaned up HashTable code. Lasse Öörni 2013-09-08 23:13:45 +0000
  • 1f87bcb9f9 Added HashTable class, which has fixed bucket count and a limited API to optimize for performance. Use HashTable to store Technique's passes to speed up querying for them. Lasse Öörni 2013-09-08 20:23:51 +0000
  • 1799bc5896 Replaced subversion command line tool detection logic as the previous one did not work for cross-compiling cases for Android and Raspberry-Pi. More deterministic Android shared library loading, dependent shared libraries shall be loaded first before the target application shared library. Wei Tjong Yao 2013-09-08 18:15:15 +0000
  • 4741b3cf08 Added Blender exporter from Reattiva. Lasse Öörni 2013-09-08 10:51:02 +0000
  • a24fdc0e96 Check for existence of SVN before querying revision information; create a dummy svnversion.h if not found. Lasse Öörni 2013-09-08 10:22:16 +0000
  • 033dcb4757 Setup resource copying on Xcode only, not Apple/GCC. Lasse Öörni 2013-09-08 09:47:52 +0000
  • 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. Lasse Öörni 2013-09-07 21:08:40 +0000
  • a1f6681de3 Eliminated one loop of going through the drawables in View::GetDrawables(). Instead perform the same work in worker threads. Early-exit StaticModel::CalculateLodLevels() if only one geometry per batch. Lasse Öörni 2013-09-07 16:02:09 +0000
  • 18e1746e2b Added forward declaration of Constraint to RigidBody.h. Lasse Öörni 2013-09-07 08:45:31 +0000
  • 3a908a54c5 Improved Node, RigidBody & SmoothedTransform header comments in regard to world/parent coordinate spaces. Lasse Öörni 2013-09-06 16:55:10 +0000
  • 4ce67126e2 Unversioned the SM2/SM3 shader bytecode destination directories. These are instead created by ShaderCompiler on demand. Lasse Öörni 2013-09-06 06:51:08 +0000
  • 5b38ca8819 Avoid the assumption that E_CONSOLECOMMAND is only being handled by AngelScript and LuaScript subsystems. Cleaned up the direct dependencies to the script subsystems. Wei Tjong Yao 2013-09-06 06:03:15 +0000
  • 2a9be0b23e Cleaner fix for console crashes: only collect messages when posted, and print during PostUpdate. Slightly darker error text color. Updated script API & wiki. Lasse Öörni 2013-09-05 21:09:03 +0000
  • 1d19abcda3 Further crash fix for Console and -logdebug mode. Lasse Öörni 2013-09-05 19:53:30 +0000
  • f950220350 Fixed potential crash if applying console style caused new messages to be logged. As UIElement::GetAppliedStyle() returns an empty string for the 'auto' style, also allow to use SetStyle() with empty string to apply the auto style. Lasse Öörni 2013-09-05 19:26:17 +0000
  • 372fbed88d Normalize resource names in SanitateResourceName() if they also contain a registered resource dir name, ie. Data/Scripts/NinjaSnowWar.as becomes Scripts/NinjaSnowWar.as. This fixes script file possibly getting loaded twice. Fixed renderer raycasts returning wrong distance. Added caseSensitive parameter to several String functions. Added option to convert file extension to lowercase in GetExtension() and GetFileNameAndExtension() functions. Removed unnecessary lowercase conversion of extensions, and complicated string compare logic. Lasse Öörni 2013-09-05 14:57:45 +0000
  • 411f6af885 Add const char* parameter to File's constructor. Aster Jian 2013-09-05 10:24:09 +0000
  • 6bef92973d Avoid hardcoding of highlighted console text style. Console subscribes to handle log message only when it itself is ready to do so. Removed redundant row container vector in the Console class. Hide the Console's linedit and preventing it to gain focus when there is no AngelScript or LuaScript subsystem to handle the E_CONSOLECOMMAND event. Fixed UIElement to send E_ELEMENTREMOVED event for RemoveChildAtIndex() method. Fixed Sample.lua to handle the ESC key to dismiss the Console when it is visible. Wei Tjong Yao 2013-09-05 08:55:05 +0000
  • 556d03a14c Port PhysicsStressTest to Lua. Aster Jian 2013-09-05 06:07:47 +0000
  • 27d15eacc5 Port SoundEffect sample to Lua. Aster Jian 2013-09-05 05:43:37 +0000
  • 1428423af1 Add GetEventSender function, Add Node::GetChild function. Aster Jian 2013-09-05 05:43:00 +0000
  • d966b8f261 Port StaticScene sample to Lua. Aster Jian 2013-09-05 05:12:31 +0000
  • 9f42299eb8 Set error text in red color make it highlight in console. Aster Jian 2013-09-05 02:40:06 +0000
  • caf0994b8f Optimize vector/quaternion Normalize() to a no-op if already at unit length. Changed return value to void. Optimize cache friendliness of Drawable bounding box update by including the local-space bounding box in the base class. Not used in all subclasses. Optimize Drawable zone handling by making the zone pointers raw pointers instead of weak. Now finding a drawable's zone can be performed in the threaded view preparation phase. Removed unnecessary collection of whole visible scene bounding box; it is not used anywhere. Lasse Öörni 2013-09-04 22:08:47 +0000
  • e6d0b4d3f3 Normalize ray direction in constructor. Lasse Öörni 2013-09-04 14:42:32 +0000
  • e803d1c844 Remove unsupported operator != in Color.pkg. Aster Jian 2013-09-04 12:42:09 +0000
  • 699b9b29be Port HugeObjectCount to lua. Aster Jian 2013-09-04 12:41:35 +0000
  • b1a95c1ba8 Use ResourceCache:GetResource("XXX", ...) and Node:CreateComponent("XXX") method. Aster Jian 2013-09-04 11:57:53 +0000
  • 90c29aecfb Add type to some template method, lick Node::CreateComponent etc. Add LoadChunk and LoadAndExecute in LuaFile, Add DrawDebugGeometry in Renderer. Aster Jian 2013-09-04 11:52:10 +0000
  • 05ba4bf719 Favor the non-parented case for SetWorld...() and for updating the world transform. Explain in documentation that the Scene transform is ignored. Lasse Öörni 2013-09-04 08:26:47 +0000
  • 580dd746cf Removed transform attributes from Scene. When a node has the Scene as its parent, assume the parent transform is identity and skip multiplication with the parent's transform. Lasse Öörni 2013-09-04 06:40:31 +0000
  • 7a20f0ad03 Optimize repeated GetWorldBoundingBox() in Drawable::UpdateBatches() override functions. Do not allocate dynamic memory every time when setting a single vertex buffer. Lasse Öörni 2013-09-03 21:41:52 +0000
  • 2f9b955f3c Script API update. Lasse Öörni 2013-09-03 20:46:58 +0000
  • be7636f823 Make the include path absolute in all script examples so that ScriptCompiler can compile them properly. Renamed Octree::Resize() to Octree::SetSize() When destroying a scene, destroy root-level components first so that child node components are detached from their internal structures and can be destroyed faster in turn. Use raw pointers instead of weak pointers in Octree update/reinsertion lists for some performance gain. Lasse Öörni 2013-09-03 20:45:53 +0000
  • 94a3c80e34 Added C++ version of HugeObjectCount example, and animation to both versions. Added note of event subscription time to the first C++ example. Lasse Öörni 2013-09-03 19:32:10 +0000
  • a71f5fc588 Fixed bad performance of cleaning up a scene with many objects. Lasse Öörni 2013-09-03 17:49:15 +0000
  • 964e0c957f Added a step to fix Eclipse project setting file to replace deprecated GNU gmake Error Parser with newer version (6.0 -> 7.0). The deprecated error parser caused Eclipse CDT not clearing errors from previous builds in the Problems view. Wei Tjong Yao 2013-09-03 16:30:06 +0000
  • a0e4538f58 Actually removed the old QuickStart documentation text. Moved the Xcode AngelScript instructions to the Urho3D script host page. Lasse Öörni 2013-09-03 09:00:03 +0000
  • 6c570023bd Added HugeObjectCount sample. Todo: add animation, add C++ version. Lasse Öörni 2013-09-03 07:26:14 +0000
  • c9865078ad List tools in alphabetical order in the documentation; fixed outdated information. Lasse Öörni 2013-09-02 21:11:28 +0000
  • 76161aaecf Build documentation update. Lasse Öörni 2013-09-02 21:01:57 +0000
  • 8da3fa5860 Documentation tweaks. Lasse Öörni 2013-09-02 20:40:06 +0000
  • 4cc1858329 Removed the old large script example applications and batch files to start them. Updated documentation for the new sample applications. Changed the Lua sprite example to use the common sample initialization. Lasse Öörni 2013-09-02 18:50:15 +0000
  • 6229e36a1e Show filename for Lua subsystem error messages where possible. Lasse Öörni 2013-09-02 18:02:34 +0000
  • eef5b89766 Removed the retained message mode from the AngelScript subsystem. Instead, Application class will remember error log messages and display them if ErrorExit() is called without a custom message. This allows showing all error messages from Lua script subsystem equally. Lasse Öörni 2013-09-02 17:46:23 +0000
  • ccdd318eff Use matching else-if construct in AngelScript & Lua Sample code. Changed ErrorDialogs in the Lua subsystem to error logging (subsystems should not pop up dialogs on their own.) Lasse Öörni 2013-09-02 14:23:47 +0000
  • 274c06d3a4 Use the else-if construct as the conditions are mutually exclusive. Wei Tjong Yao 2013-09-02 13:59:08 +0000
  • 55ef6dd6c3 CharacterDemo & VehicleDemo in script. Lasse Öörni 2013-09-02 13:40:10 +0000
  • 9cbea3b331 Added SoundEffects, Navigation, Chat & SceneReplication samples in script. Lasse Öörni 2013-09-02 00:05:05 +0000
  • b9cc284048 PhysicsStressTest & Ragdolls samples in script. Lasse Öörni 2013-09-01 17:36:01 +0000
  • 869046d7cb Added Physics sample in script. Lasse Öörni 2013-09-01 12:05:11 +0000
  • 1eae2e13ab Split UIElement::OnClick() to OnClickBegin() & OnClickEnd(), added global UIMouseClickEnd event, cleaned up Button & CheckBox click handling, based on Chris Friesen's work. Fixed bug in FileSelector which would cause potentially any keypress to select a file. Added missing icon for View3D UI element. Lasse Öörni 2013-09-01 10:52:46 +0000
  • c8a1bc96d7 Refactor UI to not duplicate code for touch and mouse handling. Lasse Öörni 2013-08-31 22:40:57 +0000
  • 68892cae15 Credits fix. Lasse Öörni 2013-08-31 17:13:38 +0000
  • 72c6811269 Added RenderToTexture script sample. Lasse Öörni 2013-08-31 16:38:19 +0000
  • 30b7905d98 Decals & MultipleViewports samples in script. Fixed camera rotation in VehicleDemo. Lasse Öörni 2013-08-31 14:22:36 +0000
  • 3c6a0f57d7 In the SoundEffects sample, start/stop music when buttons released. Lasse Öörni 2013-08-31 12:41:37 +0000
  • f7ac7eb713 Applied window fixed resizing patch from Sebastian Delatorre. Lasse Öörni 2013-08-31 10:28:48 +0000
  • e777dd9e39 Added Billboards sample in script. Lasse Öörni 2013-08-30 22:30:06 +0000
  • 956df0a8f6 Added SkeletalAnimation sample converted to script. Use ScriptInstance component in AnimatingScene script sample to show the "raw" way of creating script objects. Clamp function call count to 99999 in profiler text output, as otherwise the printing goes out of line. Lasse Öörni 2013-08-30 14:41:47 +0000
  • 7f64104825 Added -p command line argument, which specifies resource paths to use. Added IsAbsolutePath() function to FileSystem. Removed unnecessary double error message from ResourceCache. Lasse Öörni 2013-08-30 11:03:07 +0000
  • 5552d06572 Update HelloGUI sample. Aster Jian 2013-08-30 05:43:14 +0000
  • 5fe38d3246 Update 01_HelloWorld.lua and Add 02_HelloGUI.lua. Aster Jian 2013-08-30 05:25:15 +0000
  • 7b4ae12fe0 Ported Sprites, StaticScene & AnimatingScene samples to AngelScript. Lasse Öörni 2013-08-29 21:34:34 +0000
  • 680361327a Fixed the skybox material on case-sensitive systems. Lasse Öörni 2013-08-29 18:48:44 +0000
  • 10abc4414b Ported HelloGUI sample to script. Lasse Öörni 2013-08-29 15:53:55 +0000
  • 5094541394 Ported the first sample to AngelScript. Lasse Öörni 2013-08-29 14:11:34 +0000
  • 59b5967910 Simplify the build script as ABSOLUTE_PATH_LIBS variable works both ways. Wei Tjong Yao 2013-08-29 09:40:35 +0000
  • 643f066179 Use the ABSOLUTE_PATH_LIBS variable instead if the library is found. Just in case the library is found in a path that contains keywords that may be stripped. Wei Tjong Yao 2013-08-29 09:11:25 +0000
  • 1674447226 Use absolute path of d3dcompiler library. Fixed compiling when Direct3D SDK is not found. Lasse Öörni 2013-08-29 08:09:29 +0000
  • c3ea4d7a85 Adjusted Android logging level in SDLActivity java class. Added compiler flag for RASPI build to suppress warning spam about mangling of va_list. Cleaned up header includes in Urho3D class. Wei Tjong Yao 2013-08-29 06:34:12 +0000
  • 367a930a93 Add Lua File class. Make Lua file as resource. Aster Jian 2013-08-29 05:56:35 +0000
  • 26901cdc4c Added vehicle sample. Lasse Öörni 2013-08-28 23:35:10 +0000
  • 04b00263b0 Moved CharacterDemo to the samples. Use forward declarations in the samples. Lasse Öörni 2013-08-27 21:45:43 +0000
  • a01f6ab183 Enhanced post-build automation for Android build to copy all dependent shared libraries to target library output directory. Wei Tjong Yao 2013-08-27 16:01:09 +0000
  • 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. Lasse Öörni 2013-08-27 15:15:30 +0000
  • 0812e0ac07 Cleanup remnant reference to now defunct variable. Wei Tjong Yao 2013-08-27 14:45:01 +0000
  • 9419efa04f Change the variable name back to STRIP_LIBS to avoid variable name clash with other macro. Wei Tjong Yao 2013-08-27 14:38:40 +0000
  • 3efb36599a Refactored Findxxxx and Urho3D-CMake-magic modules to let linker uses absolute path to the found libraries. Updated documentation accordingly. Wei Tjong Yao 2013-08-27 14:31:05 +0000
  • 0ff4759eba Fixed condition expression in post-cmake() function. Wei Tjong Yao 2013-08-27 05:09:31 +0000
  • dfb318b4f9 Added scene network replication sample. Lasse Öörni 2013-08-27 00:12:07 +0000
  • 1051808eee Android java classes code cleanup. Wei Tjong Yao 2013-08-26 15:44:37 +0000
  • 3d9858020f Enhanced SDLActivity java class to automatically load all the shared libraries. Enhanced the Urho3D-CMake-magic module to copy Urho3D shared library to target Android library output path. Wei Tjong Yao 2013-08-26 14:02:57 +0000
  • 796d8871b9 Sample code cleanup. Lasse Öörni 2013-08-26 07:41:02 +0000
  • 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. Lasse Öörni 2013-08-25 23:42:22 +0000
  • 31da083870 Disallow headless mode from the samples as they do not nullcheck eg. for the Graphics subsystem and would crash. Lasse Öörni 2013-08-25 21:25:15 +0000
  • cfb11454b4 Refactored raycast code in the Decals & Navigation samples. Added adding & removing obstacles in the Navigation sample. Lasse Öörni 2013-08-25 20:50:04 +0000
  • 829bd2a221 Clean up some comments. Lasse Öörni 2013-08-25 18:52:02 +0000
  • fc1c2e6f13 Initial Navigation sample. Added overload of NavigationMesh::DrawDebugGeometry() that finds the DebugRenderer component from the root scene node automatically. Lasse Öörni 2013-08-25 18:47:48 +0000
  • 506915adca Applied physics patch from amadeus_osa. Do not make a copy of triangle mesh collision data, improved constraint behavior under external forces (fix from Bullet SVN.) Lasse Öörni 2013-08-25 17:01:41 +0000