Commit Graph

10192 Commits

Author SHA1 Message Date
Yao Wei Tjong 姚伟忠
e52bc6e45d Fix Editor argument parsing to load startup scene correctly. 2013-12-26 15:10:37 +08:00
reattiva
6a42566a9a Added orbital camera around current node with the middle mouse button.
The post render update is skipped while orbiting.
2013-12-24 18:40:53 +01:00
Yao Wei Tjong 姚伟忠
1b304cf2e7 Better way to check old cmake version. [ci skip] 2013-12-24 17:22:32 +08:00
Yao Wei Tjong 姚伟忠
4d31d9b46f Attempt to fix shared library build using old CMake.
CMake version prior to 2.8.11 does not have LINK_LIBRARIES target property.
2013-12-24 16:44:55 +08:00
Yao Wei Tjong 姚伟忠
fcfeb6aad2 Add shared library type into Travis CI build test matrix.
Site documentation update is skipped when building shared library type.
2013-12-24 13:54:07 +08:00
Lasse Öörni
8b8790e481 Added option to import non-skinning bones in AssetImporter. Closes #82.
Added case-sensitivity option to String::Contains().
2013-12-23 23:07:09 +02:00
Yao Wei Tjong 姚伟忠
2748d2bea6 Add abort mechanism to prevent error to bring the site documentation down. 2013-12-23 22:58:39 +08:00
Lasse Öörni
d1bb9ec52b Document GLSL sampler to texture unit mapping. 2013-12-23 15:04:07 +02:00
Lasse Öörni
94391e462a Added instructions on how to prefix uniforms in shaders. 2013-12-23 14:58:53 +02:00
Lasse Öörni
9a3f8e5aa5 Call SetProcessDPIAware() function on SDL video initialization to prevent Windows 8.1 from scaling & blurring the window on high DPI settings. Closes #83. 2013-12-22 21:35:31 +02:00
Lasse Öörni
963fb9d753 Import material emissive color & texture in AssetImporter. 2013-12-22 20:54:08 +02:00
Lasse Öörni
86932c9f0e Exposed missing scene binary load/save & node instantiation to Lua. To use instantiation, call eg. scene:InstantiateXML(fileSystem:GetProgramDir().."Data/Objects/Ninja.xml", Vector3(0, 0, 0), Quaternion()); 2013-12-22 20:39:50 +02:00
Lasse Öörni
e5fd170d32 Fix MoveAlongSurface for VS2008. 2013-12-22 20:13:54 +02:00
Lasse Öörni
2f9171c010 Convert tabs to spaces. 2013-12-22 20:03:06 +02:00
Lasse Öörni
376d4683b2 Merge remote-tracking branch 'remotes/jtippets/master' 2013-12-22 19:59:51 +02:00
Lasse Öörni
faa6cb1d58 Merge remote-tracking branch 'remotes/alexparlett/resource_search_priority' 2013-12-22 19:48:16 +02:00
Lasse Öörni
7de753e08c Add material emissive color in LitSolid shader also when not using emissive map. Default material emissive color back to zero. 2013-12-22 19:48:02 +02:00
Lasse Öörni
f74dae18c1 Update assimp to newest revision from git. 2013-12-22 19:11:30 +02:00
vertexnormal
e70eb17dcb Fix return result of FindNearestPoint to transform back into world space, add method MoveAlongSurface and associated script bindings. 2013-12-22 08:12:53 -07:00
Yao Wei Tjong 姚伟忠
c26f459d22 Move header & footer html template to urho.github.io.
Only do rsync when make doc is successful.
2013-12-22 18:15:17 +08:00
Yao Wei Tjong 姚伟忠
4031b4b2e4 Skip documentation update if CI build is invoked not on master branch.
Also:
- Setup doxygen configuration on the fly to use minimal theme and to produce SVG instead of PNG.
- Change how the GH_TOKEN is supplied as the GIT version in Travis VM (Ubuntu) does not seem to read the credentials from file store correctly.
- Only generate site documentation after the CI build test has passed.
- Add Ubuntu PPA to install a more recent version of Doxygen.
2013-12-22 17:17:50 +08:00
vertexnormal
bbf21d83f1 Add FindNearestPoint() to NavigationMesh class and expose it to script interfaces. 2013-12-21 23:08:44 -07:00
Alex Parlett
3166f1874d Changed adding Resource and Package files to be able to specify the location in the Vector for search priority when calling GetFile or GetResource
Added the ability to specify whether to search Package Files or Resource Dirs first when calling GetFile or GetResource
Added the functionality to angelscript and lua. Lua does not contain the ability to add resource dirs and packages, so that was not modified.
2013-12-21 19:09:07 +00:00
Yao Wei Tjong 姚伟忠
0b60fc327e Skip documentation update if CI build is invoked due to a pull request. 2013-12-21 16:45:32 +08:00
Yao Wei Tjong 姚伟忠
4031f7dd06 Update Rakefile to supply GIT credential at the correct directory. 2013-12-20 19:12:51 +08:00
Yao Wei Tjong 姚伟忠
0ece93f1e1 Revert back CI build setting. 2013-12-20 18:11:08 +08:00
Yao Wei Tjong 姚伟忠
efdad3fd6f Change Travis CI secret for one last time. 2013-12-20 16:39:45 +08:00
Yao Wei Tjong 姚伟忠
2e7cdc80f1 Test site documentation deployment using Travis CI. 2013-12-20 16:20:49 +08:00
Yao Wei Tjong 姚伟忠
7a0b30d796 Change Travis CI secret. Bypass build step for quick build test. 2013-12-20 16:09:25 +08:00
Yao Wei Tjong 姚伟忠
bd39347e3a Attempt to automate deployment of site documentation using Travis CI. 2013-12-20 15:30:09 +08:00
Lasse Öörni
d113be3bb2 Added ambient occlusion LitSolid permutations. These read the emissive texture and use the second texcoord, like lightmapped permutations. Closes #79. 2013-12-19 23:52:48 +02:00
Yao Wei Tjong 姚伟忠
0b20416812 Setup Travis CI. Exclude Clang build. GCC build appears to be OK now. 2013-12-19 22:17:37 +08:00
Yao Wei Tjong 姚伟忠
bdce36136f Setup Travis CI. Add missing doxygen package and correct build path. 2013-12-19 21:46:06 +08:00
Yao Wei Tjong 姚伟忠
6d41fbcee1 Setup Travis CI. 2013-12-19 21:35:34 +08:00
Yao Wei Tjong 姚伟忠
82b20f7134 Attempt to setup CI build using Travis. 2013-12-19 21:16:34 +08:00
Lasse Öörni
746e2331df Update credits. 2013-12-19 09:17:50 +02:00
Lasse Öörni
47bf7278ab Check for input focus before applying camera presets in editor. Closes #81. 2013-12-19 09:15:10 +02:00
Yao Wei Tjong 姚伟忠
4f73aa26b9 Fix how tolua++ renaming is being documented in Lua generated API. 2013-12-19 11:42:33 +08:00
Lasse Öörni
76a3cd8ab1 Merge pull request #80 from ThunderBeastGames/JME-URHO3D-FIXCOLLISIONSHAPE
Fix collision calculation of index offset when using multiple geometries
2013-12-18 14:49:09 -08:00
Josh Engebretson
e79b745f05 Fix collision calculation of index offset when using multiple geometries 2013-12-18 13:45:57 -08:00
Lasse Öörni
4c9886f5ab Do not attempt to set a nonexistent default icon. 2013-12-18 22:01:31 +02:00
Lasse Öörni
c7e72b02da Restore previous camera yaw + pitch control, but add a toggle in settings dialog to control whether the pitch is clamped between -90 and 90 degrees. 2013-12-18 21:59:17 +02:00
Lasse Öörni
4b8cc596f9 Merge remote-tracking branch 'remotes/petex/master' 2013-12-18 20:14:57 +02:00
Yao Wei Tjong 姚伟忠
328bf54dc6 Use Apple libtool when building static lib using Makefile. Closes #74.
Also in the commit:
- Remove BOM from License.txt and Readme.txt. Update Urho3D website URL in Readme.txt.
- Detect MSYS build environment. It is now possible to build Urho3D using Msys shell on Windows, i.e. cmake_gcc.sh could be used for both native build and Android build on Windows platform (MinGW is required).
2013-12-18 20:24:36 +08:00
Lasse Öörni
b496594203 Update credits. Normalize whitespace. 2013-12-18 11:56:16 +02:00
Pete Chown
62a455da7c Document the view keys (Numpad 1, 3, 7) and the ascend/descend keys (E, Q). 2013-12-17 23:51:04 +00:00
vertexnormal
d80c927c93 Add Lua binding to PODVector<RayQueryResult> and Octree::Raycast() 2013-12-17 16:08:06 -07:00
Pete Chown
47caa7175d Make E and Q keys move the camera up and down (as in Unity and UDK).
Make NumPad 1, 3 and 7 select a front, side or top view.  Ctrl-1,
Ctrl-3, and Ctrl-7 select the opposite view (as in Blender).

Alter the mouse-look functionality to prevent gimbal lock when facing
straight up or down.
2013-12-17 19:49:16 +00:00
Yao Wei Tjong 姚伟忠
15c61cb739 Use CMake command to move and rename for portability. Closes #73.
- Revert back CMake version. Use CMake -Wno-dev option to suppress the policy warning for CMake 2.8.12 early adopter.
- Since the new policy is not in place, set some more target property to prevent Urho3D static dependency libs from being transitively link to other targets linking to Urho3D.
2013-12-18 00:33:35 +08:00
Lasse Öörni
e19bed4946 Clean up scene node related comments in samples. 2013-12-17 13:28:46 +02:00