Commit Graph

9869 Commits

Author SHA1 Message Date
Lasse Öörni
20b67638e3 Hack fix for render-to-texture failing on iOS. 2014-01-23 01:44:00 +02:00
Lasse Öörni
eb9bc8847f UI drawing code cleanup. 2014-01-22 22:52:01 +02:00
Lasse Öörni
7d4d956691 Check if GLES2 device supports 24-bit depth texture, or 24/8-bit depth+stencil through extensions. 2014-01-22 22:52:01 +02:00
Lasse Öörni
928cf6b708 Added missing icon for ToolTip element. 2014-01-22 22:52:00 +02:00
Lasse Öörni
7a7e86589b Optimized drawing of color-modified UI quads. UIBatch has new function SetColor() which can be used before drawing with modified color, and which performs the uint-conversion only once. This overrides the element's gradient if any. 2014-01-22 22:52:00 +02:00
Lasse Öörni
0a97b5824c Minor Math library cleanup. Inline short Ray functions. 2014-01-22 22:52:00 +02:00
Mike3D
187e847367 Update InputAPI.cpp
Expose TouchState lastPosition to script
2014-01-22 20:47:44 +01:00
Yao Wei Tjong 姚伟忠
f5db8dd8fd Only add D3D include directories for MSVC. Fixes #143. 2014-01-22 14:30:24 +08:00
Lasse Öörni
fa8ac788c8 Fixed uninitialized default value of Camera's clip plane. 2014-01-22 01:36:54 +02:00
Lasse Öörni
0c393f915a Added note of clip plane being unsupported on OpenGL ES 2.0. 2014-01-22 00:52:38 +02:00
Lasse Öörni
d723bef62b On OpenGL ES 2.0, create depth renderbuffers in explicit GL_DEPTH_COMPONENT16 format, as GL_DEPTH_COMPONENT is unsupported on some devices. Possibly a fix for #140.
For better performance, avoid backbuffer resolve to texture on OpenGL ES 2.0 and instead prefer to render into a texture if the viewport contents need to be read.
2014-01-22 00:52:16 +02:00
Lasse Öörni
dbdfce095f If window is not resizable, do not maximize it at the default resolution (1024x768) to keep the border intact. 2014-01-21 18:38:29 +02:00
Lasse Öörni
030f890ed5 Further fixes and optimizations to View render target pingpong handling. Update Material memory use when modified programmatically. 2014-01-21 18:00:54 +02:00
Yao Wei Tjong 姚伟忠
48eb0497df Rename var name from <package>_INCLUDE_DIR to <package>_INCLUDE_DIRS.
See http://urho3d.prophpbb.com/topic9.html.
2014-01-21 15:57:07 +08:00
Lasse Öörni
093d4b6a4f Fixed pass name in the sky plane technique. 2014-01-21 02:38:05 +02:00
Lasse Öörni
3718b3dc29 Set currentRenderTarget for safety in case the renderpath has no commands. 2014-01-21 01:12:10 +02:00
Lasse Öörni
4aeeefdd38 Safety check to skip renderpath commands with no output names, could cause out-of-bounds indexing. 2014-01-21 00:41:13 +02:00
Lasse Öörni
30455bfba2 Rewrote viewport resolve / pingpong logic in View. Optimizes away unnecessary framebuffer copies and fixes #138. 2014-01-21 00:26:57 +02:00
Lasse Öörni
1c92bc3a09 Only find the DirectX SDK when compiling with Visual Studio, as the headers are incompatible with MinGW. Fixed export statements for MinGW. Closes #142. 2014-01-20 22:54:16 +02:00
Lasse Öörni
112102cc83 Perform all plane transforms through Matrix4 multiply to ensure correctness. 2014-01-20 19:50:54 +02:00
Lasse Öörni
40d759fbae New skybox from Vladimir. Set fog to white in scenes using the skybox. Water scene lighting slightly brightened to match the skybox. 2014-01-20 12:01:38 +02:00
urho3d-travis-ci
983b32dac6 Travis CI: API documentation update at 2014-01-20 08:35:31 UTC.
[ci skip]
2014-01-20 08:35:31 +00:00
Lasse Öörni
18e2349ae1 Added script bindings for the new SDL controller constants. Updated Input documentation. 2014-01-20 10:19:50 +02:00
Jordan Patterson
1a49c6ebfc Add support for SDL2 GameControllers 2014-01-19 22:03:36 -07:00
urho3d-travis-ci
f2de586353 Travis CI: API documentation update at 2014-01-19 22:34:55 UTC.
[ci skip]
2014-01-19 22:34:55 +00:00
Lasse Öörni
0697ad0750 Improved Spline attribute editing. Moved Spline to Logic category in the editor. 2014-01-20 00:21:13 +02:00
Lasse Öörni
71e9559bee Merge remote-tracking branch 'remotes/alexparlett/feature/spline' 2014-01-19 23:54:39 +02:00
Lasse Öörni
a20d38b13d Code formatting. 2014-01-19 23:51:26 +02:00
Lasse Öörni
d9bf3d9731 Merge remote-tracking branch 'remotes/hjmediastudios/master' 2014-01-19 23:40:24 +02:00
Lasse Öörni
669aa04ef2 Find DirectX SDK on Windows also in OpenGL mode as SDL depends on files like dsound.h. 2014-01-19 23:26:55 +02:00
Lasse Öörni
8c26cf6c45 Export the NvOptimusEnablement variable to prefer NVIDIA GPU on switchable GPU systems. Closes #139. 2014-01-19 23:26:15 +02:00
Yao Wei Tjong 姚伟忠
115b4a8b4b Fix spacing. [ci skip] 2014-01-20 01:25:07 +08:00
Yao Wei Tjong 姚伟忠
29594b7170 Clean up Urho3D-CMake-magic cmake module. 2014-01-20 01:20:34 +08:00
Yao Wei Tjong 姚伟忠
40eeac7600 Merge branch 'ninja-clang' of github.com:evolarium/Urho3D. 2014-01-20 01:15:01 +08:00
Alex Parlett
fb690e6838 Added Lua Bindings.
Added the ability to set how far along the spline the parent node has traveled.
Added the ability to get the Vector3 for the furthest point along the Spline the parent node has traveled.
Changed Length calculations so that they are performed on a Move call if a push or pop has been called since the last Move call or when the Control Nodes are set from either serialization or from the function.
Removed detach and attach. Attach can be replaced by calling GetPosition and using a SmoothMove or Lerp to get there.
2014-01-19 15:13:02 +00:00
Yao Wei Tjong 姚伟忠
23bdd79d88 Fix Editor null pointer exception when in UI Element picking mode. 2014-01-19 22:13:06 +08:00
Lasse Öörni
7f80c53be5 Fixed line breaks in credits. 2014-01-19 15:51:10 +02:00
Lasse Öörni
1ace697dc9 Added water example with reflection/refraction. Improved the water shader to include proper fresnel calculation and a noise map. Closes #120. 2014-01-19 15:47:56 +02:00
Nick Royer
9fa11144a7 Commit Message 2014-01-18 22:23:28 -06:00
Jordan Patterson
a5f596c6b5 Use color Clang diagnostics when using Ninja build system 2014-01-18 20:44:23 -07:00
Nick Royer
9985f0a122 Added a convenience function to find the angle between two vectors. 2014-01-18 19:01:34 -06:00
Lasse Öörni
a26d5b98d5 Added example of manual bone control to CharacterDemo. Added a version of Skeleton::GetBone() that takes a C string parameter to avoid ambiguity. 2014-01-18 23:05:52 +02:00
urho3d-travis-ci
ac9c16b943 Travis CI: API documentation update at 2014-01-18 19:04:40 UTC.
[ci skip]
2014-01-18 19:04:40 +00:00
Lasse Öörni
eb4e99457c Code cleanup. Removed Camera functions to return forward, right, up vectors as they are now also in Node. Added Lua property accessors for Node up/right vectors. Exposed SmoothStep() to script. Modified Node::LookAt() to use the new Quaternion function. Updated credits. 2014-01-18 20:41:46 +02:00
Nick Royer
432b9d3645 Added scripting APIs for the previous convenience functions 2014-01-18 10:40:09 -06:00
Nick Royer
0e84a2a2d9 Added a few math and node convenience functions 2014-01-18 10:19:43 -06:00
Lasse Öörni
4f9287b7c8 Added AssetImporter options. Skip copy of zero-sized textures. In FileSystem::CopyFile(), do not overwrite destination file if opening the source file fails. Closes #129. 2014-01-18 16:15:38 +02:00
urho3d-travis-ci
5eaf9a0d9d Travis CI: API documentation update at 2014-01-18 13:02:12 UTC.
[ci skip]
2014-01-18 13:02:12 +00:00
Lasse Öörni
b1573df336 Fixed PhysicsWorld::DrawDebugGeometry() not exposed to Lua. Closes #133. 2014-01-18 14:48:43 +02:00
urho3d-travis-ci
fafde877a9 Travis CI: API documentation update at 2014-01-17 18:15:15 UTC.
[ci skip]
2014-01-17 18:15:15 +00:00