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
urho3d-travis-ci
d67bea9ddc
Travis CI: API documentation update at 2014-03-26 10:39:58 UTC.
...
[ci package]
2014-03-26 10:39:58 +00:00
Lasse Öörni
ed59f76e1c
Restore .gitignore in Source/Android/assets.
2014-03-26 12:22:05 +02:00
Lasse Öörni
e8fdf7a7d8
Fix DrawableProxy2D check for large indices: vertex count needs to be over 0xffff. Do not attempt to precache instanced or shadowed pointlight shaders on OpenGL ES.
2014-03-26 12:18:07 +02:00
Lasse Öörni
16605301bc
Reorganize Editor & NinjaSnowWar resources into subdirectories.
2014-03-26 11:57:56 +02:00
aster2013
3b6736ec6f
Change blend mode in sun.pex.[ci skip]
2014-03-26 12:46:35 +08:00
aster2013
5b47ba268d
Fix ConstraintMotor2D, refactor all Constraint2D classes.
2014-03-26 12:36:16 +08:00
aster2013
077df45dc0
Reorder functions in DrawableProxy2D.
2014-03-26 12:36:15 +08:00
aster2013
d444df2c22
Update documentation.[ci skip]
2014-03-26 12:36:14 +08:00
Lasse Öörni
f6c96c2f9f
Simplify defining Vector2,3,4::ZERO. Consistency for the up direction parameter name in Node::LookAt() & Quaternion::FromLookRotation().
2014-03-26 00:30:03 +02:00
Lasse Öörni
0a1d2ea259
Default-construct math objects to zero or identity to unify C++ / AngelScript / Lua behavior. Closes #279 .
2014-03-25 22:34:03 +02:00
Lasse Öörni
31ce69b490
DrawableProxy2D operation fixes. Should fix crashes with worker threads and sprite flickering. Note that there is no frustum culling for Drawable2D's, as the vertex buffer for all of them is generated at once, and culling would be problematic for multiple views. Closes #252 .
2014-03-25 21:35:34 +02:00
Lasse Öörni
de8396f0c4
Ensure StaticSprite2D calculates its local boundingbox correctly, then transforms it to world space. Remove DrawableProxy2D searching for a camera node, as that is unreliable. Instead a large bounding box (similar to SkyBox) is set for it.
2014-03-25 20:32:50 +02:00
Lasse Öörni
a6b66ab23a
Fix crash when a 2D drawable is removed from scene.
...
Added icons for 2D helper subsystems.
2014-03-25 19:29:38 +02:00
Yao Wei Tjong 姚伟忠
95ec049a0b
For Travis CI - fix Raspberry Pi package build. [ci package]
2014-03-26 00:05:57 +08:00
urho3d-travis-ci
5dfd057148
Travis CI: API documentation update at 2014-03-25 13:24:21 UTC.
...
[ci package]
2014-03-25 13:24:21 +00:00
aster2013
623fab0e16
Fix CompareDrawable2Ds.
2014-03-25 20:25:35 +08:00
Lasse Öörni
f45976832d
Send event when drag is cancelled.
2014-03-25 14:24:15 +02:00
Lasse Öörni
00a1c50b16
Merge remote-tracking branch 'remotes/friesencr/ui-esc-cancel-drag'
2014-03-25 13:33:32 +02:00
aster2013
60ef5aa6bf
Add DRAWABLE_2D.
2014-03-25 18:28:40 +08:00
aster2013
5957f7bcc3
Chanage update geometry in main thread.
2014-03-25 18:10:59 +08:00
Chris Friesen
eb565b81ad
Escape cancels ui dragging
2014-03-25 01:30:06 -05:00
aster2013
e7d829277d
Remove AddListener call. [ci skip]
2014-03-25 14:01:00 +08:00
aster2013
a32334d230
Fix bounding box calculate in ParticleEmitter2D, use dummy bounding box in DrawableProxy2D.
2014-03-25 13:58:10 +08:00