Commit Graph

9869 Commits

Author SHA1 Message Date
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
Yao Wei Tjong 姚伟忠
59b2b02888 Fix build using Urho3D as external library. Closes 112.
Add test cases in Travis CI to test build using Urho3D as external library in external (non Urho3D) project.
2014-01-07 22:03:32 +08:00
Yao Wei Tjong 姚伟忠
1a6970dcf2 Prevent message box crashes due to corrupted or missing data dir.
Delay factories debug tests after all the subsystems and resource paths are added.
Register MessageBox object factory.
2014-01-07 14:58:35 +08:00
Chris Friesen
8143297015 disabled if none, added show popup indicator 2014-01-06 23:08:52 -06:00
Lasse Öörni
32c86e8237 Added necessary include files to not rely on includes in Precompiled.h. 2014-01-06 15:42:42 +02:00
Lasse Öörni
ebd03d08db When removing a resource dir, remove the FileWatcher with matching path instead of relying on the indexing. 2014-01-06 02:10:31 +02:00
urho3d-travis-ci
5670681373 Travis CI: API documentation update at 2014-01-05 23:24:56 UTC.
[ci skip]
2014-01-05 23:24:56 +00:00
Lasse Öörni
2e01ca5e67 Sanitate resource dir similarly when adding and removing it to ensure removing works properly. 2014-01-06 00:55:51 +02:00
urho3d-travis-ci
f4dd154c06 Travis CI: API documentation update at 2014-01-05 18:04:26 UTC.
[ci skip]
2014-01-05 18:04:26 +00:00
Lasse Öörni
745fdb1416 Exposed ResourceCache::GetFile() to Lua. The file must be manually deleted once no longer needed. 2014-01-05 19:34:41 +02:00
Yao Wei Tjong 姚伟忠
2565755905 Misc. tweaks on Editors and minor refactoring. 2014-01-05 23:20:45 +08:00
Lasse Öörni
42c1ea4186 Merge remote-tracking branch 'remotes/friesencr/scene-mru' 2014-01-05 14:25:24 +02:00
Chris Friesen
b7d4404be8 stores 5 most recently used scenes 2014-01-05 00:54:16 -06:00
urho3d-travis-ci
788b9faf21 Travis CI: API documentation update at 2014-01-05 05:32:55 UTC.
[ci skip]
2014-01-05 05:32:55 +00:00
Yao Wei Tjong 姚伟忠
db9efdf375 For Travis CI - proceed with API update even when site is up-to-date.
The API documentation update is expected to fail when remote HEAD moves (i.e. there are new pushes while Travis CI build is in progress). Enhance the script one more time so that it always attempts to update API documentation on every build.
2014-01-05 13:03:56 +08:00
Yao Wei Tjong 姚伟忠
662fe84d3c For Travis CI - Replace GH_TOKEN as it was exposed in the build log.
Due to git push failure from detached HEAD, the error log in Travis CI build contains GH_TOKEN for worker account. A new GH_TOKEN is now generated.
Enhance the script so that it does not spit out any output or error when pushing. The script still can rely on command exit status, however.
2014-01-05 12:12:41 +08:00
Lasse Öörni
e05ae6ecfc Merge remote-tracking branch 'remotes/friesencr/mousewheel-zoom' 2014-01-05 01:21:19 +02:00
Lasse Öörni
acc4ccc18e Documented the screen keyboard. 2014-01-05 01:20:30 +02:00