Commit Graph

84 Commits

Author SHA1 Message Date
nemerle
a779d56c82 Fix lightmap texture imports - likely copy-paste error 2015-06-06 21:11:01 +02:00
ninjastone
c984c18a8b removed unused lines 2015-06-01 00:32:02 +09:00
ninjastone
d0fea4abd3 Fixed: AssetImporter was not importing single keyframe animation correctly. 2015-05-31 23:37:14 +09:00
Ali Kämäräinen
8332e68f56 Improve AssetImporter error print. 2015-04-13 10:17:22 +03:00
Lasse Öörni
b8c7c59eca Configure amount of allowed bones for hardware skinning based on the rendering API. Allow 128 bones on Direct3D 11 & OpenGL 3. Add -mb (maxbones) parameter to AssetImporter & OgreImporter. When using OpenGL 3, allow deferred rendering to use different MRT formats without forcing an RGBA substitute rendertarget. 2015-03-21 23:22:08 +02:00
Lasse Öörni
e6194640ff Do not skip the assimp scene root, if it has non-identity transform or contains models itself. 2015-03-07 16:34:29 +02:00
Lasse Öörni
1c549bceee Import also empty child nodes in AssetImporter scene mode, unless disabled with the -ne option. Refactor handling of the root scene node to prevent unnecessary creation of a duplicate root node. Do not attempt to parse .json files as XML in the editor resource browser. Closes #673. 2015-03-07 13:36:27 +02:00
Lasse Öörni
0c48c9df87 Fix Assimp to not give negative light direction. Fix FOV handling for spot lights in AssetImporter. Added error prints to Editor if fails to execute AssetImporter. Closes #669. 2015-02-24 12:19:25 +02:00
Lasse Öörni
bb2ebf7568 Bump copyright to 2015. 2015-01-31 21:03:53 +02:00
Yao Wei Tjong 姚伟忠
ed214bbeb3 Avoid the include dirs hack for finding the Urho3D.h header.
It is now a library user own's responsibility to include the Urho3D.h in their source code. Or to include it as part of their own precompiled header similar to what Urho3D project has done.
2015-01-20 18:15:29 +08:00
Yao Wei Tjong 姚伟忠
359efb2d37 Move the DebugNew.h from Urho3D/Container subdir to Urho3D subdir. 2015-01-05 22:31:32 +08:00
Yao Wei Tjong 姚伟忠
b51e419c88 Change impl. file to include the header file from corresponding subdir.
Change header file to use relative pathspec when including other files.
2015-01-04 22:40:40 +08:00
Yao Wei Tjong 姚伟忠
1cbbb6b805 Finalize SDK-like include dirs clean up. Fix build using MSVC. 2015-01-04 22:32:41 +08:00
Yao Wei Tjong 姚伟忠
4feb135281 Clean up SDK include dirs. Refactor FindUrho3D CMake module.
For Travis CI - add new steps to install the Urho3D SDK and to reference Urho3D library from the installed SDK.
2015-01-04 22:32:41 +08:00
Lasse Öörni
52762aee5e More informative error message if submesh bone limit exceeded. 2014-12-08 13:51:27 +02:00
aster2013
25132bd4a0 ADD URHO3D_PHYSICS AND URHO3D_NAVIGATION OPTIONS. 2014-08-21 12:41:24 +08:00
Lasse Öörni
f3e18e6412 Make sure animation start time adjustment happens with tick conversion, tabs to spaces, some code reordering + added comments. 2014-07-16 19:13:04 +03:00
ninjastone
fc60d8de21 Fixed AssetImporter to adjust time of first key frame to 0. 2014-07-17 00:06:20 +09:00
ninjastone
42dc493f4a Skeleton only model was not importable 2014-06-18 23:50:25 +09:00
Lasse Öörni
001d57171b Add saving of assimp embedded textures to AssetImporter. Note that assimp itself does not yet support textures from inside FBX files. Closes #375. 2014-06-09 20:46:20 +03:00
Lasse Öörni
5b4da41b10 Code cleanup, renamed command line option. Updated AssetImporter documentation. 2014-04-17 15:07:35 +03:00
hualin
b946be1ff5 add an option for exporting the scene meshes even if they are identical with the others 2014-04-17 15:07:23 +03:00
Lasse Öörni
6d5ddc23e0 Bump the copyright for 2014. 2014-02-01 14:37:21 +02: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
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
56c91aa1a0 Added Assimp logging option to AssetImporter. 2014-01-08 15:47:59 +02: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
Lasse Öörni
963fb9d753 Import material emissive color & texture in AssetImporter. 2013-12-22 20:54:08 +02:00
Lasse Öörni
ee8e8031d2 Rework command line options that need a parameter value to have a space in between. Fixes #44. 2013-11-12 01:33:15 +02:00
Lasse Öörni
c057b29dba Unify how command line options are shown in utilities.
Added note in documentation about lack of space between command line option and its parameter.
Prepend Materials/ to the material list written by OgreImporter (assume "standard" materials subdirectory.)
2013-10-30 18:49:27 +02:00
Lasse Öörni
b957f60143 Added ApplyMaterialList() function to StaticModel so that the feature can be used outside the editor as well. Refactored editor to use that function instead of its own implementation.
Unified the switch to output material list to -l in both AssetImporter & OgreImporter.
Removed the "use local IDs" toggle from editor as that can be specified with the import options.
2013-10-29 23:04:51 +02:00
Lasse Öörni
372fbed88d Normalize resource names in SanitateResourceName() if they also contain a registered resource dir name, ie. Data/Scripts/NinjaSnowWar.as becomes Scripts/NinjaSnowWar.as. This fixes script file possibly getting loaded twice.
Fixed renderer raycasts returning wrong distance.
Added caseSensitive parameter to several String functions.
Added option to convert file extension to lowercase in GetExtension() and GetFileNameAndExtension() functions.
Removed unnecessary lowercase conversion of extensions, and complicated string compare logic.
2013-09-05 14:57:45 +00:00
Wei Tjong Yao
02512cecf9 In order to move the out-of-source 'build' directory back to Urho3D project root directory, all the source codes sub-directories are now moved down one level to a new directory under project root called 'Source'. 2013-08-09 10:29:22 +00:00