Commit Graph

10192 Commits

Author SHA1 Message Date
Lasse Öörni
2ac921de60 When editor is run from Urho3DPlayer, enable Lua if possible to allow editing Lua scripted scenes. Closes #294. 2014-04-03 10:45:24 +03:00
Lasse Öörni
4fcb6ed246 Use spawnRadius parameter in world space. 2014-04-03 00:08:10 +03:00
szamq
a7e72070c7 Merge branch 'master' of https://github.com/urho3d/Urho3D 2014-04-02 18:06:43 +02:00
szamq
0d21c51c4f Code format, deleted commented code, tabs to spaces 2014-04-02 18:05:07 +02:00
Lasse Öörni
97ec02619f Locate scene node in editor by doubleclicking in the hierarchy window. 2014-04-02 18:33:56 +03:00
szamq
85e244aef0 Merge branch 'master' of https://github.com/szamq/Urho3D 2014-04-02 15:45:15 +02:00
szamq
e17dea61cf Add radius and count parameters. Add spawn window layout 2014-04-02 15:40:39 +02:00
szamq
ddc536e36a Spawn window in editor 2014-04-02 14:51:01 +02:00
Aster Jian
88ca8a56b5 Remove AttributeAnimation.h from master. 2014-04-02 10:54:07 +08:00
Lasse Öörni
6be531d66f Set frustum size shader parameter as Vector3. 2014-04-02 01:33:19 +03:00
urho3d-travis-ci
b5d5aca5b3 Travis CI: API documentation update at 2014-04-01 19:36:44 UTC.
[ci package]
2014-04-01 19:36:44 +00:00
Lasse Öörni
8945322476 Fix spelling: ClipBoard -> Clipboard. Use the system clipboard by default in the editor. 2014-04-01 21:06:07 +03:00
Lasse Öörni
0d2879bbf0 Fix OpenGL build. 2014-04-01 20:06:50 +03:00
aster2013
e1a2c7a2bf Update AttributeAnimation.h 2014-04-01 23:31:05 +08:00
Lasse Öörni
ee9868e29e Refactor setting global & camera shader parameters to functions. Used both by Batch & View. Ensure that same parameters are set in both scene and quad (postprocess) rendering. Note that quad rendering still does not use the camera's real projection matrix to ensure stability. 2014-04-01 13:56:39 +03:00
urho3d-travis-ci
f3ec1387e9 Travis CI: API documentation update at 2014-04-01 10:40:37 UTC.
[ci package]
2014-04-01 10:40:37 +00:00
Lasse Öörni
cf4c43d344 Added Serializer / Deserializer functions for reading & writing matrices. Added bool success parameter to Quaternion::FromLookRotation() and Node::LookAt(), as it can potentially give a NaN result (in which case the original rotation is kept). Optimized reading of math objects in Deserializer to avoid default construction. 2014-04-01 12:29:17 +03:00
urho3d-travis-ci
c148392a0e Travis CI: API documentation update at 2014-03-31 22:44:26 UTC.
[ci package]
2014-03-31 22:44:26 +00:00
Lasse Öörni
f7b99ecdee Added Matrix types to Variant. Added ToString() to Matrix types. Added Matrix getters/setters to XMLElement. Added ToMatrix string conversion functions. Added possibility to assign shader parameters from Matrix variants. Fixed missing setting of Color variant shader parameter on Direct3D9. 2014-03-31 23:32:06 +03:00
Lasse Öörni
2bedd953ce Fixes to sceneless renderpath on OpenGL. 2014-03-31 12:25:24 +03:00
Yao Wei Tjong 姚伟忠
af23b5075e Automate setup of Urho3D documentation integration for Eclipse IDE.
[ci skip]
2014-03-31 13:53:49 +08:00
urho3d-travis-ci
6f9ca8abf0 Travis CI: API documentation update at 2014-03-31 00:29:48 UTC.
[ci package]
2014-03-31 00:29:48 +00:00
Lasse Öörni
73d57ec738 Re-dump NinjaSnowWar shader combinations. 2014-03-31 01:20:17 +03:00
Lasse Öörni
6bfcc28010 Allow a pass to be marked as SM3-only, so that rendering limitations can be defined as data-driven instead of hardcoding in the engine. Moved specular disable for SM2 shadowed pointlight from code to shaders. Mention in the documentation that some materials may be too complex for SM2 and dynamic shadows. 2014-03-31 01:17:00 +03:00
Lasse Öörni
1418fb7e83 Changed the SM2.0 tradeoffs to allow 4-sample shadow mapping and to verify that shaders again work on GPU's without hardware shadow compare (eg. Radeon 9800.) Removed unnecessary shader code & simplified the LitSolid & light volume shaders. 2014-03-30 20:27:15 +03:00
Yao Wei Tjong 姚伟忠
8197101bc1 Integrating Urho3D documentation into some IDEs. [ci skip] 2014-03-30 21:53:00 +08:00
urho3d-travis-ci
4df29c07f9 Travis CI: API documentation update at 2014-03-29 22:59:40 UTC.
[ci package]
2014-03-29 22:59:40 +00:00
Lasse Öörni
c3425334a3 Switch forward light calculations back to world space instead of tangent space to avoid light attenuation bugs when TBN matrix is not orthogonal. Shader code becomes simpler and more similar between forward and deferred, and number of vertex shader variations is reduced, but disadvantage is a more complex pixel shader which requires disabling expensive features on SM2.0 to avoid exceeding the arithmetic instruction limit. Fix cube mapped point light displaying the cube map upside down. Closes #276. 2014-03-30 00:44:07 +02:00
Lasse Öörni
1838e604f3 Do more work in the ParseTextureUnitName() function to reduce duplicated code. 2014-03-29 23:47:17 +02:00
Yao Wei Tjong 姚伟忠
0961641354 Clean up batch files - do not echo null initialization of OPT variable.
[ci skip]
2014-03-29 13:09:24 +08:00
Lasse Öörni
6833f858dc If a view's renderpath has no scene passes, allow rendering it also when no scene, camera & octree are provided. Closes #267. 2014-03-29 00:25:36 +02:00
Lasse Öörni
212a3b34b2 Merge remote-tracking branch 'remotes/silverkorn/master' 2014-03-28 22:54:41 +02:00
Lasse Öörni
8854f83dca To avoid cluttering the editor view when selecting a skeleton hierarchy, do not debug draw the child nodes. 2014-03-28 22:15:03 +02:00
urho3d-travis-ci
001a35eff1 Travis CI: API documentation update at 2014-03-28 06:19:55 UTC.
[ci package]
2014-03-28 06:19:55 +00:00
aster2013
882a7d3929 Remove ContainerLuaAPI.pkg 2014-03-28 13:32:50 +08:00
aster2013
4c00c655bf Remove PhysicsWorld from default scene components. Don't allow remove MaterialCache2D and DrawableProxy2D in scene. 2014-03-28 13:11:45 +08:00
aster2013
1ba3fe00fa Rename sensor to trigger. 2014-03-28 13:00:45 +08:00
Yao Wei Tjong 姚伟忠
b8368401fd Use alternative way to suppress CMP0022 warning. Closes 287. 2014-03-28 08:51:19 +08:00
Lasse Öörni
c66d294801 Fixed missing potion in NinjaSnowWar. 2014-03-28 01:21:40 +02:00
urho3d-travis-ci
3271f832ba Travis CI: API documentation update at 2014-03-27 22:49:42 UTC.
[ci package]
2014-03-27 22:49:43 +00:00
Lasse Öörni
35195939c1 Exposed allowed screen orientations (effective on iOS only currently) and the flush GPU setting as engine startup parameters. 2014-03-28 00:23:31 +02:00
Danny B
e738209746 Added descriptions mapping for LuaScript packages' hooks.
In "ToDoxHook.lua":
- Added "getCurrentDirectory" function;
- Added process to fetch and map C++ headers' descriptions to Lua elements;
- [TODO] Write descriptions from Lua elements for Doxygen output.

In "ToZerobraneStudioHook.lua":
- Writes descriptions from Lua elements for ZerobraneStudio API file.
2014-03-27 16:29:40 -04:00
aster2013
0cfe56310a Use multi thread check Drawable2D visiblity. 2014-03-27 19:46:19 +08:00
aster2013
a47c9ebe32 Add visibility property in Drawable2D.[ci skip] 2014-03-27 19:46:18 +08:00
Yao Wei Tjong 姚伟忠
20edf417ce Fix LuaJIT search path which was broken after v2.0.3 update. 2014-03-27 14:09:40 +08:00
aster2013
c52d2e35d5 Delay call Drawable2D::GetVertices. 2014-03-27 13:25:53 +08:00
aster2013
252375abc1 Add material compare in Drawable2D. 2014-03-27 12:08:08 +08:00
urho3d-travis-ci
efca7e4554 Travis CI: API documentation update at 2014-03-26 18:38:49 UTC.
[ci package]
2014-03-26 18:38:49 +00:00
Lasse Öörni
18217a0fdd Added UI hover start/end events. 2014-03-26 20:07:24 +02:00
aster2013
0354d3a2f2 Add visibility checking in DrawableProxy2D. 2014-03-26 20:59:27 +08:00