Commit Graph

10202 Commits

Author SHA1 Message Date
Lasse Öörni
e0e9487721 Fixed undefined behaviour in Light on iOS/Android. Fixed unused variable issues. 2012-10-29 08:13:20 +00:00
Lasse Öörni
040fd52eb3 Added hard normal generation mode. 2012-10-28 16:57:43 +00:00
Lasse Öörni
921d93a0da Fixed UV mapping on the builtin models. 2012-10-27 18:21:33 +00:00
Lasse Öörni
9db9049e72 Calculate environment map reflection per pixel. Perturb reflection with normal map.
Default to RelWithDebInfo build in CMakeLists.txt.
2012-10-27 10:23:59 +00:00
Lasse Öörni
7c9ca83a1f Converted skybox to DDS. 2012-10-26 19:54:43 +00:00
Lasse Öörni
e64d64034e Added cubic environment mapping shaders, techniques & example materials.
Fixed bug in loading cube map miplevel 0 if mips were skipped.
2012-10-26 19:45:38 +00:00
Lasse Öörni
5a30a43307 Fixed shadow mapping on iOS 6. 2012-10-25 21:28:57 +00:00
Lasse Öörni
208af3324d Fixed orientation issue on iOS 6 by applying code from new SDL and enabling resizable window. 2012-10-25 20:40:51 +00:00
Lasse Öörni
a8d1ecb9c9 Revert, as did not have effect. 2012-10-25 08:13:48 +00:00
Lasse Öörni
1025401e22 Left orientation added. 2012-10-25 07:33:52 +00:00
Lasse Öörni
5d6754917d Use custom Info.plist. 2012-10-25 07:21:50 +00:00
Lasse Öörni
5399f47582 Possible fix to extra delay during buffer swap on iOS. 2012-10-25 06:54:30 +00:00
Lasse Öörni
18079d3ac3 Reverted orientation fix partially. 2012-10-24 22:12:12 +00:00
Lasse Öörni
6c0c18aece Applied code from SDL trunk for iOS 6.0 orientation fix. 2012-10-24 21:22:49 +00:00
Lasse Öörni
c994be4c5b Fixed compile on OS X 10.8. 2012-10-24 19:40:07 +00:00
Lasse Öörni
d714b2c6e6 Removed unnecessary include. 2012-10-24 19:33:02 +00:00
Lasse Öörni
dde21f587e Added WeakHandle to script, which is a WeakPtr<Object>.
Exposed strong & weak refcount of all classes derived from RefCounted to script.
2012-10-23 17:29:41 +00:00
Lasse Öörni
337e86ab1c Allow dragdrop from a Text element to a LineEdit. 2012-10-22 15:53:59 +00:00
Lasse Öörni
8d8126c6c3 Fixed alpha masked diffuse/normalmapped technique. 2012-10-21 13:56:44 +00:00
Lasse Öörni
7d930b62f8 Added missing specular mapped material techniques.
Added generate tangents option to editor.
Default light specular intensity to 1.0.
Fixed generation of specular mapped materials in AssetImporter.
Fixed documentation regarding specular maps (deferred does not support colored specular, forward & light pre-pass do.)
2012-10-21 13:52:24 +00:00
Lasse Öörni
f4f538fcd0 Additions to documentation. 2012-10-20 16:54:09 +00:00
Lasse Öörni
35fa40c48f Simplified code, as FileSystem already does the path access rights check. 2012-10-20 16:20:55 +00:00
Lasse Öörni
f11bfedbb3 Call SanitateResourceName() also in ResourceCache::Exists() to ensure consistent behaviour. 2012-10-20 15:00:52 +00:00
Lasse Öörni
4638930ea4 Fallback resource search using absolute path. 2012-10-20 14:53:18 +00:00
Lasse Öörni
e49f0bb9d2 Tidied up script code. 2012-10-19 17:31:00 +00:00
Lasse Öörni
73b74f8b6a Code cleanup. 2012-10-19 10:24:24 +00:00
Lasse Öörni
f5fef94d9f Removed unused ragdoll code. 2012-10-19 08:22:05 +00:00
Lasse Öörni
83c32dbc23 Script code formatting. 2012-10-19 08:15:53 +00:00
Lasse Öörni
abe12d818d Adjusted profiling block names. 2012-10-19 07:39:34 +00:00
Lasse Öörni
fbef191c6b Removed the NewCollision parameter of collision events. Instead separate CollisionStart & CollisionEnd events are sent when a collision begins or ends.
Added a buoyancy volume into the Terrain script as an example of a trigger area, use L key to toggle.
2012-10-18 20:30:05 +00:00
Lasse Öörni
88896fe805 Added GetCollidingBodies() function to RigidBody which returns collisions from last physics step.
The iterator versions of HashMap & HashSet Erase() return an iterator to next element.
2012-10-17 18:54:48 +00:00
Lasse Öörni
2b41f4d396 Fixed missing include. 2012-10-16 18:18:00 +00:00
Lasse Öörni
4ccaea1c1f Applied UI script API patch from Magic.Lixin. 2012-10-16 18:12:42 +00:00
Lasse Öörni
e9b02436b4 Fixed comment. 2012-10-14 13:39:30 +00:00
Lasse Öörni
c49ece0491 Added Sort() function to HashMap & HashSet.
Always flush the log file when writing to it to ensure logged lines are not lost on crash.
2012-10-14 13:37:53 +00:00
Lasse Öörni
fc75dfc964 Text encoding consistency fixes. 2012-10-05 22:17:36 +00:00
Lasse Öörni
b3925fc10c Fixed editor. 2012-10-05 10:18:09 +00:00
Lasse Öörni
f8aa92cbcd Improved skeletal animation documentation. 2012-10-04 14:31:31 +00:00
Lasse Öörni
c7fe3c37bd Added sound listener component whose position is automatically taken into account by Audio subsystem.
Removed setting listener position/rotation manually.
Removed unnecessary includes.
2012-10-02 14:46:09 +00:00
Lasse Öörni
ff4c14a480 Fixed incompatibility with GLSL 1.10 specification. 2012-10-01 20:03:15 +00:00
Lasse Öörni
6337336c78 Choose pixel format for external OpenGL windows. TODO: current implementation Windows-only, implement on other video drivers. 2012-10-01 18:44:35 +00:00
Lasse Öörni
5b6efb3281 Fixed erroneously recentering the mouse in visible mouse cursor mode, when new screen mode set. 2012-09-30 23:29:44 +00:00
Lasse Öörni
d651544dd3 Removed duplicated code from AssetImporter model saving (with or without combined vertex buffer.) 2012-09-28 20:14:54 +00:00
Lasse Öörni
c6de5b25a1 Fixed handling of faces that are not triangles in AssetImporter.
Fixed saving multiple vertex/index buffers per model in AssetImporter.
More informative error messages when image loading fails, and when illegal draw range defined for a geometry.
2012-09-26 13:55:18 +00:00
Lasse Öörni
c5ebbfd815 Added missing file and fixed AssetImporter build. 2012-09-22 21:08:53 +00:00
Lasse Öörni
eadca81cf4 Updated to Open Asset Import Library 3.0. 2012-09-22 20:23:35 +00:00
Lasse Öörni
aeb5d9d281 Updated to AngelScript 2.25.0.
Fixed assert in AnimatedModel when increasing number of animation states in the editor.
2012-09-22 16:49:04 +00:00
Lasse Öörni
8f98e9b129 Added optional external window handle parameter to Engine::Initialize(). 2012-09-22 11:16:14 +00:00
Lasse Öörni
88aaa46465 Corrected formatting issues. License.txt & Readme.txt encoded as UTF-8, source code uses ASCII encoding. 2012-09-16 09:45:24 +00:00
Lasse Öörni
6d6f1db7d8 Added Matrix3x4 construction and assign from Matrix4, which is assumed to contain no projection. 2012-09-13 08:49:29 +00:00