Lasse Öörni
d5c42e8c2c
Added Node::LookAt().
...
Added Quaternion::FromAxes().
2011-10-25 22:04:11 +00:00
Lasse Öörni
7e4bc727b4
Cleaned up Batch & instancing code. BatchGroup inherits from Batch to reduce unnecessary copying of values.
2011-10-25 20:08:34 +00:00
Lasse Öörni
b60a806058
Updated changelog in the docs as well.
2011-10-23 21:14:46 +00:00
Lasse Öörni
530a6f02ef
Removed CoreData/Models directory.
2011-10-23 20:40:07 +00:00
Lasse Öörni
f4afb2e092
Moved the manipulator gizmo to Data directory for consistency.
2011-10-23 20:36:08 +00:00
Lasse Öörni
80130159ac
Cleaned up graphics features change handling.
2011-10-23 20:01:49 +00:00
Lasse Öörni
6e51dffdeb
Updated readme.
...
Allow to switch force SM2 / force fallback modes at runtime.
2011-10-23 18:18:47 +00:00
Lasse Öörni
35e58c42f9
Added select/deselect all in the editor.
2011-10-23 16:28:28 +00:00
Lasse Öörni
58eb27c25c
Further fix for not rendering unnecessary shadow casters.
2011-10-23 14:53:11 +00:00
Lasse Öörni
d1ca0fd6cc
Do not render unnecessary directional light shadow map splits.
2011-10-23 14:18:16 +00:00
Lasse Öörni
9c7908ca82
Do not show unused rendering passes in profiling.
2011-10-23 12:31:41 +00:00
Lasse Öörni
9d077e78a8
Code cleanup.
...
Fixed lit base pass optimization working only for the first subgeometry of an object.
Calculate per-subgeometry distances in UpdateDistance() for StaticModel & AnimatedModel.
2011-10-23 12:17:57 +00:00
Lasse Öörni
5f65f9a530
Dirty the zone if its priority changes.
2011-10-22 20:02:20 +00:00
Lasse Öörni
9fad97bbcc
Changed gizmo update order so that it does not lag visually by one frame.
2011-10-22 19:04:09 +00:00
Lasse Öörni
bdc29caebd
Reverted to AngelScript 2.21.1 because of crash with VariantMap.
...
Find the zone at far clip plane and use it for the background color.
Added zone mask for drawables, allowing to select which zones they can belong to.
When zone moves or changes its bounding box, clear the cached zone from all drawables that were inside.
2011-10-22 18:49:15 +00:00
Lasse Öörni
2ae33cd4fc
Fixed missing Precompiled.h include.
2011-10-22 13:17:44 +00:00
Lasse Öörni
5d8ba5e295
Added missing notification of modified code.
2011-10-21 23:20:18 +00:00
Lasse Öörni
1c47bc6f20
Migrated to AngelScript 2.22.0 WIP.
2011-10-21 23:01:30 +00:00
Lasse Öörni
4f9f83eaab
Made the move mode arrows smaller to match the scaling mode axes.
...
Corrected documentation about fallback mode shadow filtering.
2011-10-21 20:05:57 +00:00
Lasse Öörni
4ca9035ba5
Reimplemented the MSVC random number generator to produce same random number output on all platforms.
2011-10-21 19:12:20 +00:00
Lasse Öörni
2b57762508
Added zone property for Drawables in the script API where applicable.
...
Removed the viewmask attribute from Zone as it is not currently used.
2011-10-21 07:13:44 +00:00
Lasse Öörni
2fc9d75b9a
Rewritten zone query handling.
2011-10-20 22:24:39 +00:00
Lasse Öörni
00cca6b83c
Zone system refactoring. Now objects check which zone they're in, for per-object ambient light and fog settings.
2011-10-20 18:22:51 +00:00
Lasse Öörni
15e8c14623
Separated SetIntensitySortValue() into two separate functions.
...
Use the drawable's bounding box in light sort value calculations, instead of just the bounding box center.
Added Rect::Clip().
2011-10-19 23:03:36 +00:00
Lasse Öörni
563ad416e9
Further optimization and improvement of light intensity sorting.
2011-10-19 16:35:06 +00:00
Lasse Öörni
6d5aa888aa
Tweaks to light intensity sorting.
2011-10-19 08:17:03 +00:00
Lasse Öörni
eba23029c0
Fixed maxLights not exposed to script.
...
Added maxLights setting to TestSceneOld animated models as a test.
Improved drawable light sorting.
2011-10-19 07:27:36 +00:00
Lasse Öörni
00dbad68cb
Added different axis models for the rotation & scaling modes.
2011-10-18 19:55:05 +00:00
Lasse Öörni
d82608a889
Use OpenGL convention in vertex colors to avoid need for different vertex data depending on the API.
2011-10-18 15:52:56 +00:00
Lasse Öörni
63f23313d6
Sort also the postalpha pass back to front.
2011-10-18 06:36:07 +00:00
Lasse Öörni
e7a4fdba41
Removed unnecessary paranoia from writing the model's geometry centers.
2011-10-17 22:13:21 +00:00
Lasse Öörni
7f7e8b970d
Added subgeometry centers to the model format for proper sorting of transparent geometries.
2011-10-17 21:59:47 +00:00
Lasse Öörni
7be9585861
Fixed erroneous use of local axis movement when more than one node selected.
...
Split the extra (custom) rendering pass into prealpha and postalpha.
2011-10-17 20:59:13 +00:00
Lasse Öörni
081fce3519
Removed node rotation post-snapping, as it has potential to produce erratic behavior.
2011-10-17 19:16:07 +00:00
Lasse Öörni
0e6b9508b9
Gizmo improvements.
...
Reduced node transform edit related code duplication in the editor.
Exposed Plane class to script.
2011-10-17 18:55:55 +00:00
Lasse Öörni
c4e3833b55
Fixed scaling mode.
2011-10-17 08:24:00 +00:00
Lasse Öörni
fd6a2ece9e
Renamed AddUnculledDrawable() to AddManualDrawable().
...
Made it easier to select all gizmo axes.
2011-10-17 07:03:36 +00:00
Lasse Öörni
d38742b198
Added multiple node rotation around the gizmo and scaling.
2011-10-17 06:52:44 +00:00
Lasse Öörni
4fe4cd6df0
Update node attributes when editing with gizmo.
2011-10-17 00:04:46 +00:00
Lasse Öörni
b11b0f8de1
Initial gizmo-based node transform editing.
...
Fixed material assignments in the axes model.
Possibility to add unculled drawables to the octree.
2011-10-16 23:59:53 +00:00
Lasse Öörni
4a34382798
Fixed clicking on UI elements clearing the scene node selection in the editor.
2011-10-16 17:52:27 +00:00
Lasse Öörni
a32f0f1c26
Fixed rotation of the axes model.
...
Added ray-frustum intersection test.
Added accurate raycasts for point and spot lights. Directional light now never returns a raycast result, as it has an "infinite" bounding box.
Added better debug visualization of a point light.
Reorganization of the editor script code.
2011-10-16 14:53:14 +00:00
Lasse Öörni
fc0c9aff06
Added manipulator axes model.
2011-10-15 21:48:21 +00:00
Lasse Öörni
bad42bcc5f
Take node parenting into account when moving nodes in the editor.
...
Added LocalToWorld() & WorldToLocal() functions to Node.
2011-10-15 18:37:55 +00:00
Lasse Öörni
83dbac20fc
Fixed Camera's view override flags not exposed to script.
2011-10-15 13:28:28 +00:00
Lasse Öörni
1d45da9789
Fixed not being able to move a scene node when its component is selected in the hierarchy.
2011-10-14 22:20:07 +00:00
Lasse Öörni
510125fe32
Removed unused Component::HasComponent() function.
2011-10-14 18:52:26 +00:00
Lasse Öörni
a436badf8f
More documentation updates.
2011-10-14 18:43:17 +00:00
Lasse Öörni
2e32aace3c
Documentation update.
2011-10-14 18:20:32 +00:00
Lasse Öörni
dd131fbd66
Added missing file.
...
Updated script API.
2011-10-14 17:43:54 +00:00