Commit Graph

9612 Commits

Author SHA1 Message Date
Yao Wei Tjong 姚伟忠
ddf5aa772c Fixed typo in height calculation for accomodating displayed rows. 2014-04-07 23:55:03 +08:00
Yao Wei Tjong 姚伟忠
5730660a80 Use ListView as row container for the Console class. Closes #298. 2014-04-07 23:30:45 +08:00
Yao Wei Tjong 姚伟忠
a897ef1651 Add null check to catch faulty MessageBox window layout. 2014-04-07 14:46:42 +08:00
Yao Wei Tjong 姚伟忠
214a527da3 Fix WriteRaw() to log print with the correct log level on Android. 2014-04-07 14:35:18 +08:00
Yao Wei Tjong 姚伟忠
a2a4690945 Fix document reference's title. 2014-04-05 22:44:19 +08:00
urho3d-travis-ci
2349b6e119 Travis CI: API documentation update at 2014-04-05 14:23:24 UTC.
[ci package]
2014-04-05 14:23:24 +00:00
Lasse Öörni
9066f6873d Merge remote-tracking branch 'remotes/origin/transformspace' 2014-04-05 16:59:24 +03:00
Yao Wei Tjong 姚伟忠
1f879a084d Cleanup the documentation on build options. 2014-04-05 11:59:35 +08:00
Yao Wei Tjong 姚伟忠
a5e6ef597a Fix wrong compiler definition prefix. 2014-04-05 10:38:45 +08:00
Lasse Öörni
c8fe21f06a Revert "Fixes to sceneless renderpath on OpenGL." to fix crash on minimize on Android. 2014-04-05 01:07:28 +03:00
Lasse Öörni
39d733ae11 Added note that Node::Translate() in local mode disregards scale to keep movement speed independent. Removed test variable from 04_StaticScene.as. 2014-04-04 22:57:46 +03:00
Yao Wei Tjong 姚伟忠
901e471c53 Hide build options specific to Urho3D project from external project. 2014-04-05 02:11:00 +08:00
Yao Wei Tjong 姚伟忠
d274b190da Fix MinGW build and external project build. 2014-04-05 01:34:48 +08:00
Yao Wei Tjong 姚伟忠
46285baf97 Refactor build scripts to group Urho3D specific build option.
Initial support of project configuration and generation via cmake-gui.
2014-04-05 00:20:56 +08:00
Yao Wei Tjong 姚伟忠
d37ff60001 Correct data type for spawn object counting variable. 2014-04-04 12:18:29 +08:00
Lasse Öörni
180c8d6bda EditorSpawn.as formatting. Allow to spawn binary prefabs. Refactored common node instantiation code. Fixed performance problems with spawning objects with skeletal hierarchy. 2014-04-04 00:54:08 +03:00
Lasse Öörni
67d603d8e5 Node transform space refactoring. Translate(), Rotate() and LookAt() functions take a transform space (local, parent or world). Translate() has a behavior change: default space is local, as that is most often used in eg. camera movement, and is consistent with the default for rotations (the earlier fixedAxis = false was same as local space). The redundant TranslateRelative() function is removed. Add RotateAround() function, which allows rotating around a pivot in either local, parent or world space. Closes #295. 2014-04-03 22:36:29 +03:00
Lasse Öörni
a70848e464 Fix Lua postupdate handler not being called. 2014-04-03 22:34:18 +03:00
urho3d-travis-ci
1f0ece1d46 Travis CI: API documentation update at 2014-04-03 10:56:57 UTC.
[ci package]
2014-04-03 10:56:57 +00:00
Lasse Öörni
42265071a3 Added a multiplier+addition for depth bias on OpenGL ES platforms. Increased default constant depth bias of lights. 2014-04-03 11:22:40 +03:00
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