Lasse Öörni
5d07d7aa23
Do not concatenate worldscale separately.
...
Use matrix math to calculate new transform when node is reparented, instead of setting T/R/S separately. This allows better match of effective scale even when parent node has nonuniform scale.
2013-05-10 22:10:17 +00:00
Wei Tjong Yao
9f7862e9da
Script cleaned up.
2013-05-10 15:54:44 +00:00
Wei Tjong Yao
5dcdbe453b
Fixed cmake_eclipse.sh to remove CMakeCache.txt. Fixed 64-bit compilation issue against newer X11 development library.
2013-05-10 15:35:42 +00:00
Lasse Öörni
c6a38db74f
Do not show the internal TerrainPatch & SmoothedTransform components in editor creation menu.
...
Fixed reconstruction of the TerrainPatch's occlusion transform.
2013-05-10 13:52:46 +00:00
Lasse Öörni
21715547bc
Applied InsideGeometry() fix from Firegorilla.
2013-05-09 21:59:36 +00:00
Lasse Öörni
5e5d98581c
Concatenate world rotation separately to fix GetWorldRotation() returning erroneous values when parent node has nonuniform scale.
...
Reorganized component categories.
2013-05-09 20:34:29 +00:00
Lasse Öörni
26402a255a
Renamed Camera::GetInverseWorldTransform() to Camera::GetView() as world transform includes scale, but camera view matrix should be unaffected by it.
...
Fixed spotlight frustum being affected by node scale.
Note: fix is yet incomplete, Node::GetWorldRotation() needs changing to work correctly when parent has nonuniform scale.
2013-05-09 14:27:12 +00:00
Lasse Öörni
dbb0c17a75
Removed the package download test from TestScene, as the example is already complex enough as it is.
...
Added progress prints to PackageTool.
2013-05-09 11:34:52 +00:00
Lasse Öörni
1d2fec862c
Applied CustomGeometry convex hull collision patch from Pete Leigh, with added serialization support.
2013-05-09 11:30:24 +00:00
Lasse Öörni
4a3ec28769
Added point inside StaticModel check from Firegorilla.
...
Simplified Node::LookAt() to always take a world space position.
Constness cleanup.
2013-05-08 22:31:29 +00:00
Lasse Öörni
e039330e62
Changed DecalSet to use raw binary buffer serialization for the decal data for more size-optimal and faster load/save.
...
Fixed animation glitches on models with decals caused by incorrect access to bone positions from multiple threads. This was caused by an earlier bugfix (NinjaSnowWar bodies hanging in midair) which was now fixed instead by setting a nonzero invisible animation LOD factor for the ninjas.
Code cleanup.
2013-05-07 19:07:34 +00:00
Lasse Öörni
02b178020e
Added geometry data serialization for CustomGeometry.
2013-05-07 18:14:20 +00:00
Lasse Öörni
7cd99fe257
Fixed redundant copying of vertex buffer data when rendering the UI.
2013-05-07 17:17:56 +00:00
Lasse Öörni
b6366ff982
Optimized StringToBuffer & BufferToString.
...
Fixed warnings in XMLElement.
2013-05-03 21:12:26 +00:00
Lasse Öörni
3eb3c1dc66
Refactored string<>bytebuffer conversions to functions in StringUtils and marked todo's for optimizing them.
2013-05-03 14:45:36 +00:00
Lasse Öörni
41656ea427
Added note of code modification.
2013-05-02 21:31:38 +00:00
Lasse Öörni
f14cb1aafc
Possibly fixed BlenderLoader heap corruption.
...
Removed incompatible Assimp processing flag.
2013-05-02 21:25:57 +00:00
Lasse Öörni
be9cef51a4
AssetImporter Optimize Graph process not done by default, but needs to be manually activated with the -o switch.
2013-05-02 17:18:59 +00:00
Lasse Öörni
74e13e03b3
Wiki update.
2013-05-01 15:17:47 +00:00
Lasse Öörni
8b28c12ae6
Added instancing to the OpenGL renderer, requires the ARB_instanced_arrays extension.
2013-05-01 15:14:31 +00:00
Wei Tjong Yao
4c305a17a3
Renamed top-level 'UI-element' menu item to 'UI-layout' to be consistent with documentation. Removed option to expand/collapse hierarchy item by double-clicking because on certain condition it may accidentally trigger a drag-drop operation when the list view's panel scrolled due to the result of the expand/collapse. Anyway, we already have more than one way to expand/collapse hierarchy item.
2013-05-01 09:09:20 +00:00
Wei Tjong Yao
e0d8ac0c03
Code cleaned up.
2013-05-01 07:43:41 +00:00
Wei Tjong Yao
b11cd0c11f
Enhanced cmake shell scripts to accept extra options from command line. Added documentation on how to enable 64bit for GCC build.
2013-05-01 04:22:39 +00:00
Lasse Öörni
5f6714920f
Fixed 64bit build on Linux.
2013-04-30 18:39:55 +00:00
Lasse Öörni
85ebeeed2e
Improved LightTest example to allow toggling renderpath at runtime, and to show instructions on screen.
2013-04-30 11:12:21 +00:00
Wei Tjong Yao
703d4fb10d
Fixed text rendering in Chat example app due to DefaultStyle.xml changes (Bug exists in the last release tag v1.23). Minor documentation fixed on NinjaSnowWar app. Cleaned up DefaultStyle.xml even more to remove repeating attribute declaration by taking advantage of the style inheritance feature. Changed the semantic of UIElement's style property in Script.
2013-04-30 10:53:35 +00:00
Lasse Öörni
c0dbf7f545
Generalized the factory category for all objects.
...
Removed hardcoded UI element type list in Editor.
2013-04-29 21:40:58 +00:00
Lasse Öörni
ef42c4faec
Added explicit -m64 flag for 64bit compile on GCC. Added String constructors that take long or unsigned long as parameter.
2013-04-29 17:14:35 +00:00
Wei Tjong Yao
344aa8a8b8
Added nullcheck.
2013-04-29 14:55:49 +00:00
Lasse Öörni
2afdf2675a
Fixed Windows build.
...
Some tweaks to component categories.
Documentation update.
2013-04-29 13:01:29 +00:00
Wei Tjong Yao
8d1c28bc3e
Group components into categories. In the Editor app, dynamically create the menu structure based on the component categories. Added new GetCategory() method in Component class and exposed it to script. Reviewed and fixed as necessary the default attributes registration of Component's descendant classes. Removed 'Attenuation' and 'Panning' attributes from SoundSource3D as they are updated constantly in this class. Enhanced Context class to 'register' component category during the component factory registration.
2013-04-29 10:22:25 +00:00
Lasse Öörni
d24ec7bc0d
Fixed redundant SSE flag in 64bit mode.
2013-04-29 08:38:56 +00:00
Wei Tjong Yao
6dcbde01e4
Fixed GCC build (32-bit).
2013-04-29 03:57:49 +00:00
Lasse Öörni
3ff3be016b
Copied pointer cast fixes from the OpenGL code.
2013-04-29 01:00:44 +00:00
Lasse Öörni
85415e5cb3
Fixed 64bit compile on GCC / OS X.
2013-04-29 00:57:47 +00:00
Lasse Öörni
6079e8cf84
Copied asm-bits from newest LibCpuId.
...
Updated documentation.
2013-04-29 00:20:29 +00:00
Lasse Öörni
fed83fb1ca
Some slightly nasty casts to reduce warnings in header files on 64bit MSVC compile. The length of strings/containers is intentionally stored as 32bit even in a 64bit compile to ensure the script API stays unchanged.
2013-04-28 23:53:07 +00:00
Lasse Öörni
9e3282aeea
Initial fixes for compiling as 64bit (MSVC.)
2013-04-28 22:19:20 +00:00
Lasse Öörni
5ddb47b09d
Added profiling block for engine initialization.
2013-04-28 17:20:20 +00:00
Lasse Öörni
4625dc78a2
Applied contact processing threshold patch from primitivewaste.
...
Cleanup scenepass metadata processing code.
2013-04-28 12:25:36 +00:00
Lasse Öörni
7ba580852d
Allow custom forward base, lighting and alpha pass names by defining metadata in the render path, and allowing the forwardlights command to specify the pass name to use.
2013-04-28 11:45:10 +00:00
Wei Tjong Yao
dcf9099d1f
Modified the SetStyle() and SetStyleAuto() methods of UIElement class to return a bool indicating whether the operation is successful. In Editor app, when fails to set to a requested icon type then automatically set to an 'unknown' icon type.
2013-04-28 06:26:03 +00:00
Lasse Öörni
3279cc74fc
Updated changelog.
2013-04-27 23:12:31 +00:00
Lasse Öörni
8833a01ff9
Removed debug print.
2013-04-27 18:16:47 +00:00
Lasse Öörni
d89b90b096
Slight adjustment to ninja start position.
2013-04-27 11:29:08 +00:00
Lasse Öörni
4027f650cd
Fixed exposing of UIElement::GetDefaultStyle() to script.
...
Documentation update.
2013-04-27 11:08:36 +00:00
Wei Tjong Yao
7457923437
Minor code cleanup in Editor app.
2013-04-27 09:58:29 +00:00
Lasse Öörni
de3997dcfd
Send events for view update begin/end and view render begin/end.
2013-04-26 22:56:04 +00:00
Lasse Öörni
4e1e1f9ce6
Converted static const String arrays to const char* arrays where applicable.
...
Removed unneeded W32Clock.cpp (old kNet file.)
2013-04-26 17:28:18 +00:00
Wei Tjong Yao
7d2c5db872
Differentiate between scene-modified and individual ui-element file-modified in the Editor app.
2013-04-26 15:31:20 +00:00