Commit Graph

9886 Commits

Author SHA1 Message Date
Yao Wei Tjong 姚伟忠
40eeac7600 Merge branch 'ninja-clang' of github.com:evolarium/Urho3D. 2014-01-20 01:15:01 +08:00
Alex Parlett
fb690e6838 Added Lua Bindings.
Added the ability to set how far along the spline the parent node has traveled.
Added the ability to get the Vector3 for the furthest point along the Spline the parent node has traveled.
Changed Length calculations so that they are performed on a Move call if a push or pop has been called since the last Move call or when the Control Nodes are set from either serialization or from the function.
Removed detach and attach. Attach can be replaced by calling GetPosition and using a SmoothMove or Lerp to get there.
2014-01-19 15:13:02 +00:00
Yao Wei Tjong 姚伟忠
23bdd79d88 Fix Editor null pointer exception when in UI Element picking mode. 2014-01-19 22:13:06 +08:00
Lasse Öörni
7f80c53be5 Fixed line breaks in credits. 2014-01-19 15:51:10 +02:00
Lasse Öörni
1ace697dc9 Added water example with reflection/refraction. Improved the water shader to include proper fresnel calculation and a noise map. Closes #120. 2014-01-19 15:47:56 +02:00
Nick Royer
9fa11144a7 Commit Message 2014-01-18 22:23:28 -06:00
Jordan Patterson
a5f596c6b5 Use color Clang diagnostics when using Ninja build system 2014-01-18 20:44:23 -07:00
Nick Royer
9985f0a122 Added a convenience function to find the angle between two vectors. 2014-01-18 19:01:34 -06:00
Lasse Öörni
a26d5b98d5 Added example of manual bone control to CharacterDemo. Added a version of Skeleton::GetBone() that takes a C string parameter to avoid ambiguity. 2014-01-18 23:05:52 +02:00
urho3d-travis-ci
ac9c16b943 Travis CI: API documentation update at 2014-01-18 19:04:40 UTC.
[ci skip]
2014-01-18 19:04:40 +00:00
Lasse Öörni
eb4e99457c Code cleanup. Removed Camera functions to return forward, right, up vectors as they are now also in Node. Added Lua property accessors for Node up/right vectors. Exposed SmoothStep() to script. Modified Node::LookAt() to use the new Quaternion function. Updated credits. 2014-01-18 20:41:46 +02:00
Nick Royer
432b9d3645 Added scripting APIs for the previous convenience functions 2014-01-18 10:40:09 -06:00
Nick Royer
0e84a2a2d9 Added a few math and node convenience functions 2014-01-18 10:19:43 -06:00
Lasse Öörni
4f9287b7c8 Added AssetImporter options. Skip copy of zero-sized textures. In FileSystem::CopyFile(), do not overwrite destination file if opening the source file fails. Closes #129. 2014-01-18 16:15:38 +02:00
urho3d-travis-ci
5eaf9a0d9d Travis CI: API documentation update at 2014-01-18 13:02:12 UTC.
[ci skip]
2014-01-18 13:02:12 +00:00
Lasse Öörni
b1573df336 Fixed PhysicsWorld::DrawDebugGeometry() not exposed to Lua. Closes #133. 2014-01-18 14:48:43 +02:00
urho3d-travis-ci
fafde877a9 Travis CI: API documentation update at 2014-01-17 18:15:15 UTC.
[ci skip]
2014-01-17 18:15:15 +00:00
Lasse Öörni
cadb503976 Added transform by matrix functions to Plane. Added camera clipping plane support. Added basic reflective+refractive water shader + material. 2014-01-17 19:51:06 +02:00
Alex Parlett
0210c3ffdf Changed Spline::Move to use timeStep passed in from update events.
Added method to get an arbitary position along the Spline by specifying the factor "t" from 0.f - 1.f.
2014-01-17 13:54:17 +00:00
Alex Parlett
f2d1c297a2 Add a simple spline component with Bezier Curve Interpolation 2014-01-16 23:57:39 +00:00
urho3d-travis-ci
de2165fc15 Travis CI: API documentation update at 2014-01-16 14:11:42 UTC.
[ci skip]
2014-01-16 14:11:42 +00:00
Lasse Öörni
6d38f23467 Added conversion of Plane to Vector4. 2014-01-16 15:57:32 +02:00
Lasse Öörni
3343e52986 Added IsInside() to Rect & IntRect. Closes #128. 2014-01-16 15:57:31 +02:00
Lasse Öörni
57b81bf685 Take audio buffer length properly into account when calculating SDL fragment size. Fix mixing one sample less in SoundSource mixing routines, which would lead to audio artifacts. Closes #130. 2014-01-16 15:57:31 +02:00
Lasse Öörni
3553b287ac Reflection plane support in Camera. Reflection plane clipping not yet implemented. 2014-01-16 15:57:31 +02:00
urho3d-travis-ci
5fe310f9b6 Travis CI: API documentation update at 2014-01-15 20:49:20 UTC.
[ci skip]
2014-01-15 20:49:20 +00:00
Lasse Öörni
a7d8f0fd18 Added reflection related functions to Plane. Fixed rendering a SkyBox from multiple views during the same frame. Better error message in ShaderCompiler if input file can not be opened. 2014-01-15 22:27:35 +02:00
Lasse Öörni
7fbefe6f43 Added AssetImporter option to restore earlier behavior, to flatten scene hierarchy in scene mode. 2014-01-15 01:08:51 +02:00
Lasse Öörni
604c8714aa Changed AssetImporter to save the relevant scene node hierarchy in scene mode, instead of just nodes containing meshes.
Added node (prefab) save mode to AssetImporter.
Improved "Scene model" documentation page to mention scene load/save and prefab instantiation.
2014-01-14 23:51:35 +02:00
Lasse Öörni
f9a6235f47 Added "refract" pass to default renderpaths. This has the rendered scene so far (opaque + sky) available in the environment texture unit.
Renamed the "prealpha" pass to "postopaque" (will break custom techniques and renderpaths referring to prealpha.)
If a scene pass has nothing to render, skip it completely during View processing, including rendertarget allocations. This makes the refract pass free when there is no refractive geometry.
2014-01-14 01:09:15 +02:00
Lasse Öörni
7636bd6310 Fixed depth getting unnecessarily reset when ping-ponging rendertargets for a pass that both reads & writes the scene viewport.
Do not set null material textures to allow pass-global textures to persist throughout a rendering pass.
2014-01-13 23:11:37 +02:00
Yao Wei Tjong 姚伟忠
9cf8e75597 Enhance scaffolding task to show real path after new project creation. 2014-01-13 20:11:32 +08:00
Yao Wei Tjong 姚伟忠
e91307ce51 Clean up build scripts to adhere to format convention. 2014-01-13 17:36:00 +08:00
Yao Wei Tjong 姚伟忠
a04e82b0ea Add *.bak into git ignore pattern.
[ci skip]
2014-01-13 17:34:32 +08:00
Yao Wei Tjong 姚伟忠
be85ee454c Add AngelScript header into built-in 'install' target. Closes #121. 2014-01-13 14:11:14 +08:00
urho3d-travis-ci
0af251dfc9 Travis CI: API documentation update at 2014-01-12 12:44:17 UTC.
[ci skip]
2014-01-12 12:44:17 +00:00
Lasse Öörni
583065e598 Minor code formatting. Added mention of RFC 5261 to XMLFile::Patch() Doxygen comment. 2014-01-12 14:25:13 +02:00
Lasse Öörni
789774f292 Merge remote-tracking branch 'remotes/alexparlett/feature/xml-diff-patch' 2014-01-12 14:11:41 +02:00
Alex Parlett
d0a4a0ce87 Adds the ability to patch together two XMLFiles using the [RFC 5261](http://tools.ietf.org/search/rfc5261) with handling of Add, Replace and Remove for nodes and attributes. No handling has been added for namespace::prefix modifications at the moment. Use pass by value on sub-functions of add since gcc thinks there is no suitable conversion, where msbuild optimizes it out.
There are some gotchas with this, XML does not allow two text nodes (pcdata or cdata) to follow straight after each other, in those cases the two nodes will be merged with their text combined either at the start or end depending on the positioning of the two nodes. Secondly you can only select single nodes at a time, however xpath provides a way to specify a certain node if a query would return using more than one like so
```xml
<add sel="/doc/data[1]>...</add>
```
This would select the first data element that was found under doc.
2014-01-12 10:31:53 +00:00
Lasse Öörni
f5fff2d2cd Added AO alpha & alphamask techniques. Closes #115. 2014-01-12 01:18:54 +02:00
Lasse Öörni
7458a01f21 Delete the event handler object in case of null sender (failed subscribe.) to avoid memory leak. Closes #117. 2014-01-11 15:48:22 +02:00
Lasse Öörni
de10128bcd There is no mouse wheel end event, so do not fade UI when mouse wheel scrolling. Closes #116. 2014-01-11 14:19:45 +02:00
Yao Wei Tjong 姚伟忠
dbb8d077da Ensure engine testing could terminate itself every time.
One of the CI build today stalled when performing the testing. The running application failed to time out. As crazy as its sound that could only mean the high precision counter reaches exactly zero! Murphy Law is proven correct once again.
2014-01-10 17:41:52 +08:00
Yao Wei Tjong 姚伟忠
7f95216d3e Refactor to use new logging macros with formatting. 2014-01-10 14:49:53 +08:00
Lasse Öörni
712345aa56 Added log macros with formatting. Closes #114. 2014-01-09 22:54:25 +02:00
Yao Wei Tjong 姚伟忠
a98b07eb44 For Travis CI - cleanup Rakefile script.
[ci skip]
2014-01-09 16:09:07 +08:00
Yao Wei Tjong 姚伟忠
029d5a9197 Add debug postfix for main executables on Windows platform. Closes #113. 2014-01-09 15:50:49 +08:00
Yao Wei Tjong 姚伟忠
9f0261c643 Fix Android build using Urho3D as external library.
Also:

- Enhance generated Eclipse project setting file to additionally use gcc/g++ error parser.

- Enhance cmake_gcc.sh script to fallback to find alternative CMake toolchains directory.

- Enhance Rakefile:
    - New scaffolding task to create new project using Urho3D as external library. At the moment only works in Unix-like platforms.
    - Build in Debug mode instead of Release mode as it should capture more potential issues.
2014-01-08 22:08:57 +08:00
Lasse Öörni
56c91aa1a0 Added Assimp logging option to AssetImporter. 2014-01-08 15:47:59 +02:00
Yao Wei Tjong 姚伟忠
8a53a7297a For Travis CI - explicitly request for bash shell to keep Ubuntu happy. 2014-01-07 23:02:33 +08:00