Commit Graph

9836 Commits

Author SHA1 Message Date
Lasse Öörni
2d69778c48 Fixed GCC build. 2013-01-29 16:16:07 +00:00
Lasse Öörni
115a81c75a Fixed incorrect weak pointer manipulation (Drawable's cached Zone) from worker threads, which caused a memory leak.
Tidied up SharedPtr/WeakPtr code.
2013-01-29 12:47:53 +00:00
Lasse Öörni
feff1fdbe7 Added 100 ms sleep to the OS X FileWatcher thread loop to avoid framerate stutter. 2013-01-29 00:01:28 +00:00
Lasse Öörni
ffa3e29498 Applied OS X FileWatcher patch from weitjong. 2013-01-28 23:36:29 +00:00
Lasse Öörni
ca00942105 Applied SDL memory leak patch from Magic.Lixin. 2013-01-27 21:42:20 +00:00
Lasse Öörni
10ea47c258 Added note about the performance cost of subsystem lookup in Engine. 2013-01-24 14:24:41 +00:00
Lasse Öörni
eeacbe62ca Fixed the C++ quickstart example in the docs. 2013-01-24 14:08:33 +00:00
Lasse Öörni
ed272d2aa7 Fixed sphere particle emitter always having zero radius. 2013-01-16 14:26:01 +00:00
Lasse Öörni
fcd9e37b61 Updated version history. 2013-01-13 22:44:51 +00:00
Lasse Öörni
ad174b967d Reverted setting the focus on SDL touch events, as it caused mouse and touch to 'fight' over UI elements on OS X. 2013-01-13 22:32:57 +00:00
Lasse Öörni
d4b8cf4444 Applied Android clock fix from kNet master branch. 2013-01-13 20:26:05 +00:00
Lasse Öörni
bdb392f195 Fixed exception spam in headless NinjaSnowWar server. 2013-01-13 20:17:14 +00:00
Lasse Öörni
f5e2be65c1 Added note about the ElapsedTime built-in shader parameter to documentation. 2013-01-13 20:06:21 +00:00
Lasse Öörni
b51fd39bcc Applied CustomGeometry script API patch from weitjong. 2013-01-13 12:16:41 +00:00
Lasse Öörni
570c48c5cf Allow to use RGB normal maps. Different material techniques are used for xGxR normal maps. 2013-01-09 11:00:43 +00:00
Lasse Öörni
0891aa62dc Applied DebugHud app stats patch from weitjong. 2013-01-08 07:59:55 +00:00
Lasse Öörni
9655a03688 Fixed WorkQueue comments. 2013-01-07 20:04:21 +00:00
Lasse Öörni
945085d975 Allow threaded work items with varying priorities. Default is immediate (maximum) priority as used by Octree & View. Optionally send events when threaded work items complete. 2013-01-07 19:54:30 +00:00
Lasse Öörni
1590c2683b Formatting. 2013-01-07 09:39:16 +00:00
Lasse Öörni
61b568399c Fixed missing CMake include. 2013-01-07 09:34:36 +00:00
Lasse Öörni
55681dc55a Applied patch from weitjong.
Applied XAddDisplay signature detection from official SDL.
2013-01-07 09:20:35 +00:00
Lasse Öörni
1ebe4deabd Load shaders per pass when first needed, not to every pass at once. 2013-01-06 15:57:25 +00:00
Lasse Öörni
ac8b85a3e9 Fixed LightTest. 2013-01-06 11:13:30 +00:00
Lasse Öörni
253ffa5c4e If editor is loaded without SM3 support, do not automatically save the disabled instancing setting into config, but retain the value that was loaded. 2013-01-05 19:50:18 +00:00
Lasse Öörni
57fd5a36a4 Fixed back-to-front sort mode not working in scene passes.
Added skinned, instanced & billboard VS variations to the Basic shader.
2013-01-05 14:22:28 +00:00
Lasse Öörni
c8b2b220a6 Fixed wrong signature in UIElement::RemoveChild() exposed to script API. 2013-01-05 11:53:14 +00:00
Lasse Öörni
1d745f9951 Moved script application reload inside Urho3D.cpp to avoid issues with unwanted application script startup. 2013-01-05 11:26:02 +00:00
Lasse Öörni
53adf6fc5b Expose UnsubscribeFromAllEventsExcept() to script. 2013-01-04 20:06:12 +00:00
Lasse Öörni
2c96dff225 Execute procedural Start() & Stop() functions automatically when a ScriptFile is loaded and unloaded. This allows live-reload of a whole script application.
Do not recreate Console & DebugHud if they already exist.
2013-01-04 19:24:43 +00:00
Lasse Öörni
b065e938a0 Fixed Direct3D shader runtime compiling when path has spaces. 2013-01-04 16:13:45 +00:00
Lasse Öörni
b449032071 Applied ScriptInstance hot reload patch from Magic.Lixin, slightly modified. 2013-01-04 14:46:44 +00:00
Lasse Öörni
926a06d1af Applied Node::GetChildrenWithComponent() patch from weitjong. 2013-01-04 14:06:01 +00:00
Lasse Öörni
9d759300fe Added possibility to disable the litbase pass optimization in RenderPath, if an ambient-only pass is needed. 2013-01-02 23:38:39 +00:00
Lasse Öörni
42598f54ce Fixed missing render target size in the ForwardDepth render path. 2013-01-02 23:04:50 +00:00
Lasse Öörni
d733091eb2 Fixed viewport calculation for rendertargets defined in the render path. If a target uses the RT divisor mode, scale the viewport, otherwise use full texture size (eg. for the bloom intermediate textures)
Undefined (zero) rendertarget size no longer uses the destination size automatically, instead the divisor needs to be specified.
2013-01-02 21:24:25 +00:00
Lasse Öörni
44ca4d92b6 Cleaned up documentation. 2013-01-02 17:24:11 +00:00
Lasse Öörni
f7f820b3eb Added RenderPath documentation. 2013-01-02 17:22:08 +00:00
Lasse Öörni
09b716f0b8 Added scripting interface for RenderPath. 2013-01-02 16:05:55 +00:00
Lasse Öörni
52bf1bbd37 Code cleanup. 2013-01-02 13:44:43 +00:00
Lasse Öörni
93af33e866 Explicitly set screen buffer filtermode. 2013-01-02 13:43:03 +00:00
Lasse Öörni
a3d5534fd3 Fixed wrong resource reference to the default renderpaths. 2013-01-02 13:36:19 +00:00
Lasse Öörni
7c7beef807 Register all texture units to script, not just material texture units. 2013-01-02 13:09:47 +00:00
Lasse Öörni
cee4fa709a Applied Linux FileWatcher patch from Alex Fuller. 2013-01-02 12:48:15 +00:00
Lasse Öörni
c0d669ede3 Simplified renderpath depth stencil management, by ensuring that Renderer does not allocate multiple depth buffers of the same size.
Added forward renderpath which also outputs a readable linear depth texture, and depth-only shaders.
2013-01-02 11:40:15 +00:00
Lasse Öörni
84a63bb90f Resolve multisampled backbuffer before the first viewport-reading renderpath command. 2013-01-02 10:21:12 +00:00
Lasse Öörni
ffc3d433a1 If backbuffer is multisampled, use a screen buffer for deferred rendering. Note: this wastes performance, so it is better to disable multisampling instead.
Ensure correct fill mode when executing renderpath commands.
2013-01-02 09:50:06 +00:00
Lasse Öörni
2a4fbcdf54 Removed the old postprocess system. Instead renderpath fragments can be appended.
Implemented missing quad rendering command in renderpath.
2013-01-01 23:05:44 +00:00
Lasse Öörni
a40fead7dc Updated license for the new year. 2013-01-01 11:46:18 +00:00
Lasse Öörni
15f4067249 Removed redundant sort statements from the renderpaths. Sort by state & front-to-back is default. 2012-12-31 15:48:18 +00:00
Lasse Öörni
5fc7ffd093 Applied tangent generation patch from Magic.Lixin. 2012-12-31 15:44:39 +00:00