Commit Graph

9612 Commits

Author SHA1 Message Date
Yao Wei Tjong 姚伟忠
c21924703c Also recalculate bounding box when Scene's 2D unit size change. 2014-03-11 18:03:51 +08:00
Lasse Öörni
814480fff5 Improved zone gradient documentation. 2014-03-11 11:03:12 +02:00
urho3d-travis-ci
189a04c548 Travis CI: API documentation update at 2014-03-11 08:21:59 UTC.
[ci package]
2014-03-11 08:21:59 +00:00
Yao Wei Tjong 姚伟忠
d5d4d51aff Refactor Drawable2D's pixel-per-unit to Scene's 2D-unit-size attr.
Updating this Scene's attribute would mark all the attached Drawable2D components dirty.
2014-03-11 16:03:31 +08:00
Lasse Öörni
0eb0a5d7a5 When a Zone moves or is removed from octree, clear zone from all drawables within the bounding box, not just from those that belong to the zone. This allows zone search in View to perform more optimally. 2014-03-11 00:28:43 +02:00
Lasse Öörni
2082c026c2 Handle zone search better to avoid erroneous lower-priority zone assignment. Added OnRemoveFromOctree() virtual function to Drawable. Zone code simplified. Remove zone reference from drawables within its bounding box when the zone is being destroyed. 2014-03-11 00:16:14 +02:00
Lasse Öörni
6fbda65a4f Initial negative light support. Right now works only with per-vertex lights. Set negative light color to use. Per-pixel negative lights may be problematic, as they require different blend mode, will also darken any emissive materials, and will not work in light pre-pass mode (there is nothing to subtract from, as light buffer is initialized with black) 2014-03-10 16:28:59 +02:00
urho3d-travis-ci
c868d036ed Travis CI: API documentation update at 2014-03-10 10:51:44 UTC.
[ci package]
2014-03-10 10:51:44 +00:00
Lasse Öörni
b1def74270 Fix PhysicsWorld::GetRigidBodies() not taking collision layer mask into account. Closes #248.
Expose PhysicsWorld::GetRigidBodies() into Lua.
2014-03-10 12:03:10 +02:00
urho3d-travis-ci
af6c1c49df Travis CI: API documentation update at 2014-03-10 07:49:26 UTC.
[ci package]
2014-03-10 07:49:26 +00:00
Yao Wei Tjong 姚伟忠
f48ef6f5bd Minor bug fix, refactoring and reformatting. 2014-03-10 15:34:20 +08:00
urho3d-travis-ci
8788e70b21 Travis CI: API documentation update at 2014-03-10 00:17:40 UTC.
[ci package]
2014-03-10 00:17:40 +00:00
Lasse Öörni
0f3d781c3b Update copyright year in some files. Added copyright notice to ForEach.h. 2014-03-10 00:56:06 +02:00
Lasse Öörni
8f587296f2 Added note to ForEach.h of VS2008 incompatibility. 2014-03-10 00:53:11 +02:00
Lasse Öörni
4d15a2c09b Report correct window size in the screen mode event if maximizing the window on startup. Closes #247. 2014-03-10 00:42:03 +02:00
Lasse Öörni
65c3c50738 Shuffling around of Spline to the Core library to make explicit that it depends on Variant (the dependency is no longer strict as Urho3D library is built as one piece, but is good to keep in mind to retain the Math library theoretically reusable outside Urho3D.)
Register DebugRenderer earlier in the AngelScript API registration for less special cases.
2014-03-10 00:25:37 +02:00
Lasse Öörni
d53079f530 Merge remote-tracking branch 'remotes/alexparlett/feature/spline' 2014-03-09 23:45:39 +02:00
Alex Parlett
751b4f1c97 Changed SplinePath so that it is more flexible its logic is now separate from the scene hierarchy. Control Points are set and removed explicitly with the ability to define the order. Controlled Node is explicitly set so that the Move function affects that Node's WorldPosition. 2014-03-09 19:18:40 +00:00
Lasse Öörni
fb3306170e Material quality, texture quality, texture filter mode and anisotropy level as engine startup parameters and command line options. Closes #241. 2014-03-09 19:36:40 +02:00
Alex Parlett
3bb95a7d5d Refactored Spline to use Variant instead of being a template to allow easier implementation of Scripting APIs. Added additional type safety checks to ensure that the Variant underlying type is the same as existing elements.
Added Lua and Angelscript Bindings for SplinePath and Spline.

fixes #229
2014-03-09 14:14:46 +00:00
Alex Parlett
7aa0d8acc9 Separated the Spline Mathematical aspect from the Component into a new Spline class under Math. No angelscript or lua bindings as of yet as I'm unsure how to go about adding the templated class in a suitable manner.
Old Spline class has been renamed to SplinePath as is build using child nodes of its parent node. To facilitate the functionality a method has been added to Node to allows you to specify the index position of where to add the child Node as that impacts the curve.  DebugGeometry was added which shows the nodes that currently make up the SplinePath and the curve.

Added CScriptArray to PODVector convertor.
2014-03-09 12:48:02 +00:00
Yao Wei Tjong 姚伟忠
dce461469f For Travis CI - detect release tag and do the necessary automatically.
When a release tag is detected in a commit, instruct CI build to perform a released package build that uploaded into release directory instead of Snapshots directory.
2014-03-09 16:42:30 +08:00
Yao Wei Tjong 姚伟忠
3b3b4544d0 For Travis CI - fix packaging for OSX platform. [ci package] 2014-03-09 14:38:38 +08:00
urho3d-travis-ci
db81e0ea61 Travis CI: API documentation update at 2014-03-09 01:50:10 UTC.
[ci package]
2014-03-09 01:50:10 +00:00
Lasse Öörni
2529f4c51a Added IsNaN() to Vector2, Vector3, Vector4, Quaternion. Safeguard against Node::LookAt() misbehaving if target is very close. Closes #231. 2014-03-09 03:34:28 +02:00
Lasse Öörni
d25872ca08 Update Recast/Detour to newest. Remove Navigation.cpp / Navigation.h in Navigation library; moved the library registration to NavigationMesh.cpp. 2014-03-09 03:27:13 +02:00
Lasse Öörni
8be6780654 Update AngelScript threading code to newest from SVN for WinXP compatibility fix. 2014-03-09 02:04:24 +02:00
Lasse Öörni
1941c508b4 Removed erroneous comment from View. Do not treat it a fatal error in OgreImporter if index optimization can't be done. 2014-03-08 17:03:58 +02:00
Chris Friesen
340e09c454 set windowd/scalable by default if no parameters specified 2014-03-07 23:11:09 -06:00
Yao Wei Tjong 姚伟忠
62ce85adfe Add new build options to control FileWatcher/profiling/logging support. 2014-03-07 23:36:07 +08:00
Lasse Öörni
435ccc4f38 Fixed Box2D compile on Android. Added Box2D license to the root License.txt file. 2014-03-07 14:58:00 +02:00
Yao Wei Tjong 姚伟忠
176a9b7009 Minor fix to vertex buffer resize logic. [ci skip] 2014-03-07 14:00:23 +08:00
aster2013
4555aff0c9 Add Box2D. 2014-03-07 13:03:36 +08:00
urho3d-travis-ci
4b5f26b455 Travis CI: API documentation update at 2014-03-07 04:50:42 UTC.
[ci package]
2014-03-07 04:50:42 +00:00
aster2013
b9f106ce9d Add draw debug triangle in DebugRenderer. 2014-03-07 12:34:46 +08:00
aster2013
7913745200 Minor change for comment. 2014-03-07 11:51:53 +08:00
Lasse Öörni
c96f313dbd Fixed erroneous event bitmasks. Optimize LogicComponent memory footprint. 2014-03-07 02:09:35 +02:00
Lasse Öörni
2c3b8117a7 Fixes to LogicComponent event subscription / unsubscription logic. Call DelayedStart() also if neither of Update or FixedUpdate is needed (subscribe once just for that, then unsubscribe.) 2014-03-07 01:44:15 +02:00
Lasse Öörni
2095043114 Added note to LogicComponent that disabling both Update & FixedUpdate will cause DelayedStart to not be called. 2014-03-07 01:18:40 +02:00
Lasse Öörni
8f6d45da02 Log full shader name when a D3D shader variation compiles or loads itself. 2014-03-07 00:18:20 +02:00
Lasse Öörni
854715a47e Fixed NoTextureUnlitVCol technique using the wrong shader, which would cause artifacts with the editor grid in deferred mode. 2014-03-07 00:18:19 +02:00
urho3d-travis-ci
ee15effdda Travis CI: API documentation update at 2014-03-06 21:02:45 UTC.
[ci package]
2014-03-06 21:02:45 +00:00
Lasse Öörni
3a0f5e1072 Update LogicComponent comments. 2014-03-06 22:44:32 +02:00
Lasse Öörni
1461021c94 For feature similarity between AngelScript, Lua and the C++ LogicComponent, remove the "Fixed update FPS" feature from ScriptInstance. DelayedExecute() in repeating mode can be used instead to call a script object method at arbitrary intervals. 2014-03-06 21:53:39 +02:00
Lasse Öörni
d0595084d4 Initial implementation of LogicComponent base class, which should make writing C++ logic/updater components more similar to scripting. Refactored C++ examples to use LogicComponent where possible. 2014-03-06 21:47:39 +02:00
a
c07b6b9d2c Urho3D V1.31 released. [ci package] 2014-03-06 19:11:09 +02:00
Lasse Öörni
45c2cb8a1e Added note of URHO3D_API macro in the contribution instructions. 2014-03-06 17:32:11 +02:00
urho3d-travis-ci
4d01971fe3 Travis CI: API documentation update at 2014-03-06 15:11:35 UTC.
[ci package]
2014-03-06 15:11:35 +00:00
aster2013
a2daae5573 Revert "Set PixelsPerUnit default value to 100, make 2D Object has suitable size in Editor."
This reverts commit 766ce1d4c1.
2014-03-06 21:12:12 +08:00
aster2013
766ce1d4c1 Set PixelsPerUnit default value to 100, make 2D Object has suitable size in Editor. 2014-03-06 21:07:50 +08:00