Lasse Öörni
691408dddf
Removed unnecessary include.
2014-01-26 14:13:42 +02:00
Lasse Öörni
257c256d9d
In XML mode, allow editing of UnknownComponent attributes as strings. This is as far editing them can go without adding extra data to the whole XML serialization. Closes #149 .
2014-01-26 14:13:42 +02:00
Lasse Öörni
276571f7f0
Fixed mismatching scene savefile names in Lua examples.
2014-01-26 14:13:42 +02:00
Lasse Öörni
989aae2e31
Added a warning when an UnknownComponent is created.
2014-01-26 14:13:42 +02:00
Lasse Öörni
4f64f21915
Increased the threshold for justifying a threaded Octree raycast. Exposed PhysicsWorld::Raycast() to Lua.
2014-01-26 14:13:42 +02:00
Yao Wei Tjong 姚伟忠
fdae68639c
Setup to link against matching Urho3D library version. Fixes #152 .
...
Existing CMake build scripts has been configured to generate different Urho3D library name based on active build configuration. However, when finding and using the library itself, the scripts did not differentiate the two versions and could cause problem with wrong version of the library is being erroneously linked against.
2014-01-26 15:15:25 +08:00
Lasse Öörni
6b38a1cff7
Bruteforce a nonsense component name from hash if necessary so that XML and binary save of an UnknownComponent are compatible.
2014-01-26 02:40:59 +02:00
Lasse Öörni
dd075db33b
Added UnknownComponent mechanism for dealing with unregistered components in scene load/save. For now attributes are not editable. Related to issue #149 .
2014-01-26 01:47:52 +02:00
Chris Friesen
a574f99760
Editor: presidence screwing up grid showing up
2014-01-25 14:33:55 -06:00
Lasse Öörni
d2a7173e5f
Reset UI cursor shape during BeginFrame event, which allows custom logic to set it per frame. Apply OS cursor shape only once during UI rendering to avoid flicker (and potential loss of performance)
2014-01-25 20:56:43 +02:00
Lasse Öörni
25cdbaea97
Do not mouse scroll the camera view when cursor is over a UI element because the element may be taking the wheel input also.
2014-01-25 15:38:38 +02:00
Lasse Öörni
f3edeaa665
Update cameras' nearclip/farclip/fov after recreating them.
2014-01-25 14:56:37 +02:00
Yao Wei Tjong 姚伟忠
d1455cba3f
Minor fix for consistent behaviour immediately after viewport setup.
2014-01-25 16:22:52 +08:00
Yao Wei Tjong 姚伟忠
b740d94a56
Minor documentation update on build options to better use of space.
2014-01-25 16:07:30 +08:00
Lasse Öörni
87a1604860
Set forced max. priority for the Menu/DropDownList popup so that it's more reliably displayed in front.
2014-01-25 01:42:21 +02:00
Lasse Öörni
b1a118c601
Fix multiple view raycast. Fix nearclip/farclip/fov editing. Fix camera look (right mouse) when switching between views. Cleanup UI / camera initialization order. Save viewport setup to editor config file.
2014-01-25 01:15:53 +02:00
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