Commit Graph

9836 Commits

Author SHA1 Message Date
Lasse Öörni
4e1a38b0a1 Merge remote-tracking branch 'remotes/friesencr/editor-viewports' 2014-01-24 23:08:51 +02:00
Lasse Öörni
d6b838286f Enabled LitSolid shader normal mapping variations also without diffuse map. Added NoTextureNormal variety of techniques. Closes #147. 2014-01-24 22:40:22 +02:00
urho3d-travis-ci
1fb823ef0f Travis CI: API documentation update at 2014-01-24 07:33:29 UTC.
[ci skip]
2014-01-24 07:33:30 +00:00
Chris Friesen
432b5de313 Multiple editor viewports 2014-01-23 18:18:20 -06:00
Lasse Öörni
39e13d49c8 Renamed the plane intercept parameter to "d" and reversed its sign so that it fits the conventional plane formula ax + by + cz + d = 0. 2014-01-24 01:26:10 +02:00
Lasse Öörni
6219289e9f Optimize text batch preparation by avoiding dynamic allocation each frame. Use last glyph if rendering the same glyph several times in a row. Changed repeated postincrement of a destination pointer to indexing where applicable. 2014-01-24 01:10:58 +02:00
Lasse Öörni
d18eb7f430 More informative log prints for the Touch utility raycast. Print both physics & drawable raycast hit object. 2014-01-23 16:17:57 +02:00
Lasse Öörni
9486d17667 Bump the depth constant bias in all shadowed directional light samples to work better on mobile platforms. Disable Urho3D logo in samples when using touch controls. 2014-01-23 16:07:08 +02:00
urho3d-travis-ci
1e5ee94132 Travis CI: API documentation update at 2014-01-23 10:32:31 UTC.
[ci skip]
2014-01-23 10:32:31 +00:00
Lasse Öörni
033b9d7932 Fixed location of Touch.as. 2014-01-23 12:17:39 +02:00
Lasse Öörni
4b739dc15c Added contributor. 2014-01-23 11:37:12 +02:00
Lasse Öörni
063e7e5aa2 Merge remote-tracking branch 'remotes/mike3d/master' 2014-01-23 11:32:30 +02:00
Mike3D
e6a2a63e54 Adding mobile framework implemented via an external file 2014-01-23 08:16:53 +01:00
Mike3D
899d9f66bf Touch/gyroscope framework for mobile via external file 2014-01-23 08:12:58 +01:00
Mike3D
a9227fdc4e Adding touch inputs/gyroscope via external file 2014-01-23 08:08:26 +01:00
Mike3D
c06c025ce3 Create Touch.lua
Adding a touch/gyroscope framework for mobile to example #18
2014-01-23 08:05:55 +01:00
Chris Friesen
3ecbbd5dc8 Editor: bring quickmenu to front on search 2014-01-22 20:59:09 -06:00
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