Commit Graph

10202 Commits

Author SHA1 Message Date
Lasse Öörni
c64e0cd165 Default to RelWithDebInfo build on GCC. Removed Urho3D executable name debug postfix due to CMake limitations. Copy the executables to Bin directory similarly on both MSVC & GCC. 2012-02-25 12:30:42 +00:00
Lasse Öörni
0c63191a49 Prevent redundant DrawBuffers assignment on OpenGL. 2012-02-25 01:11:24 +00:00
Lasse Öörni
a4b263b8e1 Fixed crash in libcpuid on Linux. 2012-02-24 21:18:50 +00:00
Lasse Öörni
8b6a208ab5 Reverted root CMakeLists.txt. 2012-02-24 18:53:32 +00:00
Lasse Öörni
fa017fd53d Fixed Unix compile errors. 2012-02-24 18:14:52 +00:00
Lasse Öörni
2282f67420 Removed Model Specific Register code from libcpuid, as it is not needed by Urho3D. 2012-02-24 12:32:14 +00:00
Lasse Öörni
8a3ba37761 Fixed window title bug. 2012-02-24 12:15:51 +00:00
Lasse Öörni
fd1c3385ca Do not define UNICODE, as GLFW assumes multi-char mode. Rather call the wide char Windows functions explicitly. 2012-02-24 11:38:01 +00:00
Lasse Öörni
0a3b1564d1 Further Unicode fixes. 2012-02-24 10:19:36 +00:00
Lasse Öörni
f3c36de839 Handle Urho3D.exe commandline as wchars on Windows. 2012-02-24 09:02:35 +00:00
Lasse Öörni
5d49c4439b Improved UTF8/UTF16 decoding. Return '?' for illegal sequences.
Fixed UTF8 copy/paste bug in LineEdit.
Use _wfopen on Windows.
2012-02-24 08:47:20 +00:00
Lasse Öörni
7fc5a2322d Go through available glyphs more intelligently. 2012-02-24 00:53:00 +00:00
Lasse Öörni
2263abbbcf Path handling fixes. 2012-02-24 00:43:45 +00:00
Lasse Öörni
bedf357c90 Added WString class.
Create as an Unicode application on Windows.
2012-02-24 00:37:12 +00:00
Lasse Öörni
50226cfdb0 Started work toward Unicode compatibility. 2012-02-24 00:05:06 +00:00
Lasse Öörni
a1049eab4e Updated to AngelScript 2.23.0 WIP.
Removed the AngelScript datatype caching optimization, as it was possibly causing a VariantMap crash in the editor.
2012-02-22 23:18:50 +00:00
Lasse Öörni
17b8f300b6 Added a CMake variable for enabling the file watcher, as it requires Windows XP or newer like minidumps. 2012-02-22 22:17:25 +00:00
Lasse Öörni
7ec5ec4f6e Added FileWatcher class (for now Windows only) & live resource reloading. 2012-02-22 21:27:16 +00:00
Lasse Öörni
41a455c19b Changed ErrorDialog signature to use the string class. 2012-02-21 22:29:00 +00:00
Lasse Öörni
3eecd9cfb4 Fixed comments.
Run all physics examples at 60Hz. This may have the side-effect of making NinjaSnowWar easier, as the AI controller is also run less frequently.
2012-02-21 22:11:26 +00:00
Lasse Öörni
4e67907b8a Updated to AngelScript 2.22.2. 2012-02-14 21:57:12 +00:00
Lasse Öörni
9b89a1540d Added resource name sanitation to prevent creation of duplicate resources. 2012-01-15 09:55:50 +00:00
Lasse Öörni
0cc1219607 Added note on selecting 32-bit architecture with Xcode. 2012-01-08 22:17:49 +00:00
Lasse Öörni
35823aeac7 Fixed kNet build on Xcode. 2012-01-08 22:14:09 +00:00
Lasse Öörni
832ad7ebb0 Code cleanup. 2012-01-06 15:42:33 +00:00
Lasse Öörni
06216dabeb Minor code cleanup. 2012-01-03 00:47:38 +00:00
Lasse Öörni
af7c5a53fb Renamed GetData() to Data() in the Math library.
Set point light LightMatrices pixel shader parameter as 12 floats on Direct3D9.
2012-01-02 19:27:10 +00:00
Lasse Öörni
667258b618 Updated to newest kNet. 2012-01-02 11:52:01 +00:00
Lasse Öörni
27b0731482 Optimize forward rendering screen clear similarly as light pre-prepass / deferred. 2012-01-02 00:51:42 +00:00
Lasse Öörni
0b7e840a30 Restored fullscreen quad method for deferred screen clear for some FPS gain.
Moved code from View into BatchQueue & Renderer.
2012-01-02 00:42:56 +00:00
Lasse Öörni
a5681746e1 Added brief documentation on skeletal animation.
Added missing morphs attribute to AnimatedModel.
2012-01-01 17:09:14 +00:00
Lasse Öörni
5dbf2b81f9 Added error logging for resource hash collision.
Clear both color & depth at the same time for light prepass rendering.
2012-01-01 15:22:43 +00:00
Lasse Öörni
b2d150e499 Added frustum culling to debug drawing the octree. 2012-01-01 13:23:28 +00:00
Lasse Öörni
a102a45fb5 Circumvented normal mapping GLSL bug on older ATI drivers. 2012-01-01 12:43:18 +00:00
Lasse Öörni
47f02e994b Fixed typo. 2012-01-01 02:26:11 +00:00
Lasse Öörni
845b38c2b4 Allocate a screen buffer if rendering to texture in OpenGL deferred mode, and texture format is not RGBA.
Immediately clear all screen buffers when switching rendering mode.
2012-01-01 02:07:31 +00:00
Lasse Öörni
708b8b5d48 Fixed postprocessing viewport size when using postprocess-defined rendertargets. 2012-01-01 01:25:19 +00:00
Lasse Öörni
8a0d9f3c42 Further depth writing fix. 2012-01-01 01:14:49 +00:00
Lasse Öörni
f38c7fe55e Fixed writing the depth in OpenGL deferred shader. 2012-01-01 01:13:33 +00:00
Lasse Öörni
8b44eee163 Reverted main CMakeLists.txt. 2012-01-01 01:08:30 +00:00
Lasse Öörni
84e870c455 Allocate screen buffers in RGBA format to ensure FBO requirements in OpenGL deferred rendering. 2012-01-01 01:08:00 +00:00
Lasse Öörni
cc3ee34f58 Increased occlusion buffer depth bias.
Minor code cleanup.
Updated copyright for 2012.
2012-01-01 00:07:57 +00:00
Lasse Öörni
88645ee31b Updated script API. 2011-12-31 21:03:31 +00:00
Lasse Öörni
3f36d0ffc9 Removed nlerp animation blending as it was prone to artifacts.
Removed nlerp and operations using fast square root / fast inverse square root.
2011-12-31 21:02:32 +00:00
Lasse Öörni
00d3faa6e5 Fixed deferred specular color. 2011-12-31 19:40:45 +00:00
Lasse Öörni
43bff9083e Added missing HLSL deferred shaders. 2011-12-31 15:24:54 +00:00
Lasse Öörni
142f3c2e49 Fixed ResetRenderTargets() on OpenGL. 2011-12-31 15:06:37 +00:00
Lasse Öörni
9e871c1987 Removed automatic viewport reset on setting rendertarget to eliminate redundant API calls. However Graphics::ResetRenderTargets() resets the viewport. 2011-12-31 15:05:08 +00:00
Lasse Öörni
4a2e1b4456 Cleaned up deferred rendering viewport clear code.
Fixed UI not rendering correctly if multiple main viewports exist.
2011-12-31 14:50:23 +00:00
Lasse Öörni
d34a73bfb9 Added full deferred rendering in addition to light pre-pass.
Added missing vertex colored light pre-pass material shader permutation.
2011-12-31 14:20:29 +00:00