Commit Graph

  • 855fefe74c Applied Bullet internal edge patch from amadeus_osa. Lasse Öörni 2013-06-24 08:55:19 +0000
  • 65a4a3b51f Applied Bullet 2.81 update patch from amadeus_osa. Added split impulse & number of constraint solver iteration attributes to PhysicsWorld. Split impulse gives more accurate collision detection but is disabled by default for better performance. Lasse Öörni 2013-06-23 12:38:11 +0000
  • e05283e0e6 When center of mass changes, reapply all constraints referring to this rigidbody, instead of just the constraint in the same scene node. This fixes erroneous constraint offsets at scene load. Lasse Öörni 2013-06-23 10:27:15 +0000
  • 0cb0dc4c4a To be consistent, subtract rigid body center of mass offset when applying forces and querying local velocity. This way the center of mass offset should not "leak" to the user. Lasse Öörni 2013-06-17 21:11:00 +0000
  • da953b8aa7 Write morph tangents as Vector3's in OgreImporter. Fixed example particle system description files using wrong attribute name for sorting. Clarified vertex weight threshold for bone hitbox calculation. Lasse Öörni 2013-06-16 18:24:31 +0000
  • 090eb3aafa Find DirectX SDK to avoid needing it as a global Visual Studio directory. Lasse Öörni 2013-06-13 15:35:49 +0000
  • 28d9b7abe4 If rigid body has only one collision shape with no offset/rotation, do not use the compound shape to improve performance. Lasse Öörni 2013-06-13 09:09:51 +0000
  • 8bfd4f64c8 Less aggressive terrain heightmap smoothing. Lasse Öörni 2013-06-12 22:06:47 +0000
  • 27b31af0cf Added RigidBody::ReAddBodyToWorld(). Added heightfield smoothing attribute. Allow CollisionShape::SetTriangleMesh() & SetConvexHull() without specifying LOD level (0 is default) Refactored Vehicle example and increased vehicle speed. Lasse Öörni 2013-06-12 21:09:36 +0000
  • 633378312b Added missing CollisionShape::SetStaticPlane() function. Lasse Öörni 2013-06-12 07:19:41 +0000
  • 84dde8917b Added GetVelocityAtPoint() to RigidBody. Lasse Öörni 2013-06-11 22:47:52 +0000
  • a968757745 In case there is center of mass offset, change also rigid body position when setting rotation. Lasse Öörni 2013-06-11 10:07:29 +0000
  • 63e4ff5b4b Allow to query rigid body's center of mass. When setting constraint positions, take center of mass offset into account. Reapply constraint frames when the center of mass offset changes. Lasse Öörni 2013-06-10 23:38:59 +0000
  • 5feb2f9527 Calculate proper center of mass shift for rigid body. This makes eg. ragdolls work better. Fixed CollisionShape & Constraint constantly triggering scale update on parented rigid bodies due to minor inaccuracy in world scale. Tweaked ragdolls. Lasse Öörni 2013-06-10 19:52:50 +0000
  • d6fab14e32 Align downforce to vehicle hull orientation. Lasse Öörni 2013-06-10 13:28:44 +0000
  • 4e4e363606 Tweaked Vehicle example: more engine power, added downforce. Lasse Öörni 2013-06-10 05:38:34 +0000
  • 3989849c55 Tweaked ragdoll parameters in TestScene & TestSceneOld. Expose constraint's ERP & CFM parameters directly, instead of trying to derive them from a "softness" value. Lasse Öörni 2013-06-09 19:06:03 +0000
  • 1c83fc8cd4 Wake up the wheel rigidbodies when steering. Lasse Öörni 2013-06-08 12:54:15 +0000
  • bd3a4c30f4 Added vehicle physics example. Added softness parameter to Constraint. Fixed exposing Quaternion::Slerp() to script. Removed package download code also from Physics & Terrain examples. Lasse Öörni 2013-06-08 12:40:29 +0000
  • 782c5971ee Use unique name for RESOURCE_CHECK target. Lasse Öörni 2013-06-05 20:03:00 +0000
  • 648564c8fb Added setup_main_executable() CMake macro which sets up resource copying for an executable. Lasse Öörni 2013-06-05 18:31:17 +0000
  • 5afa139af0 Fixed Terrain::SetOccludee() working incorrectly. Lasse Öörni 2013-06-04 23:04:48 +0000
  • 7402da1ebd Fixed menu item staying pressed and performing its action later if cursor was moved away from it with left button pressed. Lasse Öörni 2013-06-04 20:22:52 +0000
  • 6899609644 Applied consistency edits to the ParticleEmitter API. Added missing UpdateInvisible attribute & functions. Demonstrate use of viewmasks in TestSceneOld to exclude the billboards from raycasting. Lasse Öörni 2013-06-03 18:00:15 +0000
  • 43af394ac7 Make sure kNet's buildconfig is included for the Clock & Thread classes. Lasse Öörni 2013-06-02 09:37:04 +0000
  • 49a628a5c8 Use remote events for spawning particle effects in networked NinjaSnowWar to avoid sending all ParticleEmitter attributes. Lasse Öörni 2013-06-01 22:14:28 +0000
  • 3e07e77b4c Make the ParticleEmitter's period & emission timers editable to be able to reset them before saving an object prefab. Lasse Öörni 2013-06-01 14:36:00 +0000
  • dd956fb560 Documentation update. Lasse Öörni 2013-06-01 14:32:45 +0000
  • 5be5222cb8 Added ParticleEmitter attributes. Added public API to ParticleEmitter. Fixed crashes from setting negative element count in editor (number of animation states, billboards etc.) Limit maximum billboard count due to index data being 16 bit. Lasse Öörni 2013-06-01 14:26:03 +0000
  • 3c244f9755 Allow live-reload of particle emitter parameters file. Allow also specifying emission rate instead of emission interval. Allow emitting multiple particles per frame if necessary. Restored the "effect" component category in the editor. ParticleEmitter & DecalSet belong to it now. Lasse Öörni 2013-05-30 23:20:40 +0000
  • 7397399c7c Allow defining draw range without an index buffer if raw index data has been defined. Note: the validity of the draw range cannot be checked in that case. Lasse Öörni 2013-05-25 23:27:43 +0000
  • 4e618bb80e Subclass SDLActivity so that the package name in SDL JNI code does not need to be changed. Do not check for duplicate vertices when building triangle collision meshes to avoid a O(n^2) algorithm. Lasse Öörni 2013-05-25 23:14:14 +0000
  • 730c6eda2f Updated to AngelScript 2.27.0 WIP. Lasse Öörni 2013-05-25 22:11:21 +0000
  • b8270df90b Added error logging for cases of components in detached nodes trying to find Octree or PhysicsWorld, or subscribing to update events. Added error logging if a node is moved from one scene to another (unsupported.) Lasse Öörni 2013-05-24 10:19:46 +0000
  • ff35d0fff2 Fixed missing semicolon in Sprite.h Clear the arch environment variable in Visual Studio CMake bat files, so that it is possible to reconfigure the build as 32bit in the same command prompt session by rerunning CMake bat without the "Win64" flag. Lasse Öörni 2013-05-23 09:00:18 +0000
  • cb5961c04d Use a reference to UpdateAttributes() fullupdate flag, so that if a non-fullupdate turns into a fullupdate due to changed number of attribute editors, the iconpanel is resized properly. Lasse Öörni 2013-05-22 20:28:23 +0000
  • d215b745d4 Return light's shape texture ResourceRef as TextureCube type if it's a point light. Remove TextureCube hack from editor's resource picking code. Lasse Öörni 2013-05-22 19:56:23 +0000
  • 98986d77dc Fixed resource pick fileselector becoming unavailable if a resource pick was cancelled. Remove existing bone hierarchy from AnimatedModel when it's being destroyed/detached from scene, or if a null model is assigned. Lasse Öörni 2013-05-22 15:09:42 +0000
  • 8dd7e0a495 Modified CMakeLists.txt to include the source asm file into VS solution (just for viewing, the source is not compiled by MASM as before). Wei Tjong Yao 2013-05-22 11:24:54 +0000
  • 86a04ae472 Fixed CMake Win64 build configuration problem by working around the bug temporarily. Stream lined the Windows batch files for sample applications. Enhanced cmake_vs20xx to accept optional parameter to enable 64bit build. Updated documentation. Wei Tjong Yao 2013-05-22 11:06:19 +0000
  • 31ef2dea57 Reorganized building documentation. Lasse Öörni 2013-05-19 17:14:29 +0000
  • ad0d869c51 Cleaned up commented out code. Lasse Öörni 2013-05-18 17:21:32 +0000
  • 3fe1352773 Use fixed kNet build config and simplify kNet CMakeLists.txt. Lasse Öörni 2013-05-18 12:12:18 +0000
  • dacd06c2d8 Removed redundant code to keep LLVM compiler happy. Wei Tjong Yao 2013-05-15 18:46:04 +0000
  • d01fdb3764 Fixed endless loop in non-indexed Ray::InsideGeometry(). Lasse Öörni 2013-05-12 20:45:15 +0000
  • 370e3cacb6 Removed debug print. Lasse Öörni 2013-05-12 18:24:25 +0000
  • 5f834fe1b1 Fixed GCC 64-bit compiler warning. Wei Tjong Yao 2013-05-12 16:57:17 +0000
  • 483e07c2e8 Print warning if node is not found for node animation. Update documentation on playing back node animations. Lasse Öörni 2013-05-12 16:34:42 +0000
  • a0a3428de5 Allow using AnimationController also for node animations. Lasse Öörni 2013-05-12 15:47:00 +0000
  • 8eb5ebe73c Fixed AnimationState code in node animation mode. Lasse Öörni 2013-05-12 13:15:07 +0000
  • 4c2842967e Allow configuring the minimum instances per batch group to actually render as instanced. Lasse Öörni 2013-05-12 12:18:52 +0000
  • 2e1982ee03 Store the changed geometry type to the batch in case instancing is rejected. Lasse Öörni 2013-05-11 23:43:54 +0000
  • 185f7833dd Convert a batch group to instancing only when the second batch is added. Lasse Öörni 2013-05-11 23:05:14 +0000
  • ace84bc7ca Fixed UI debug draw. Lasse Öörni 2013-05-11 17:08:21 +0000
  • 5550246c09 Export node animations from scene. Preparation for running an AnimationState in node hierarchy mode in addition to AnimatedModel mode. Lasse Öörni 2013-05-11 17:03:44 +0000
  • cd88d22e36 Renamed BillboardSet::Updated() to Commit() to match CustomGeometry API. Lasse Öörni 2013-05-11 09:30:29 +0000
  • 1f54977f7e Completed renaming of Scene and Node windows to Hierarchy and Attribute-inspector windows, respectively. Wei Tjong Yao 2013-05-11 05:26:52 +0000
  • 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. Lasse Öörni 2013-05-10 22:10:17 +0000
  • 9f7862e9da Script cleaned up. Wei Tjong Yao 2013-05-10 15:54:44 +0000
  • 5dcdbe453b Fixed cmake_eclipse.sh to remove CMakeCache.txt. Fixed 64-bit compilation issue against newer X11 development library. Wei Tjong Yao 2013-05-10 15:35:42 +0000
  • c6a38db74f Do not show the internal TerrainPatch & SmoothedTransform components in editor creation menu. Fixed reconstruction of the TerrainPatch's occlusion transform. Lasse Öörni 2013-05-10 13:52:46 +0000
  • 21715547bc Applied InsideGeometry() fix from Firegorilla. Lasse Öörni 2013-05-09 21:59:36 +0000
  • 5e5d98581c Concatenate world rotation separately to fix GetWorldRotation() returning erroneous values when parent node has nonuniform scale. Reorganized component categories. Lasse Öörni 2013-05-09 20:34:29 +0000
  • 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. Lasse Öörni 2013-05-09 14:27:12 +0000
  • dbb0c17a75 Removed the package download test from TestScene, as the example is already complex enough as it is. Added progress prints to PackageTool. Lasse Öörni 2013-05-09 11:34:52 +0000
  • 1d2fec862c Applied CustomGeometry convex hull collision patch from Pete Leigh, with added serialization support. Lasse Öörni 2013-05-09 11:30:24 +0000
  • 4a3ec28769 Added point inside StaticModel check from Firegorilla. Simplified Node::LookAt() to always take a world space position. Constness cleanup. Lasse Öörni 2013-05-08 22:31:29 +0000
  • 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. Lasse Öörni 2013-05-07 19:07:34 +0000
  • 02b178020e Added geometry data serialization for CustomGeometry. Lasse Öörni 2013-05-07 18:14:20 +0000
  • 7cd99fe257 Fixed redundant copying of vertex buffer data when rendering the UI. Lasse Öörni 2013-05-07 17:17:56 +0000
  • b6366ff982 Optimized StringToBuffer & BufferToString. Fixed warnings in XMLElement. Lasse Öörni 2013-05-03 21:12:26 +0000
  • 3eb3c1dc66 Refactored string<>bytebuffer conversions to functions in StringUtils and marked todo's for optimizing them. Lasse Öörni 2013-05-03 14:45:36 +0000
  • 41656ea427 Added note of code modification. Lasse Öörni 2013-05-02 21:31:38 +0000
  • f14cb1aafc Possibly fixed BlenderLoader heap corruption. Removed incompatible Assimp processing flag. Lasse Öörni 2013-05-02 21:25:57 +0000
  • be9cef51a4 AssetImporter Optimize Graph process not done by default, but needs to be manually activated with the -o switch. Lasse Öörni 2013-05-02 17:18:59 +0000
  • 74e13e03b3 Wiki update. Lasse Öörni 2013-05-01 15:17:47 +0000
  • 8b28c12ae6 Added instancing to the OpenGL renderer, requires the ARB_instanced_arrays extension. Lasse Öörni 2013-05-01 15:14:31 +0000
  • 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. Wei Tjong Yao 2013-05-01 09:09:20 +0000
  • e0d8ac0c03 Code cleaned up. Wei Tjong Yao 2013-05-01 07:43:41 +0000
  • b11cd0c11f Enhanced cmake shell scripts to accept extra options from command line. Added documentation on how to enable 64bit for GCC build. Wei Tjong Yao 2013-05-01 04:22:39 +0000
  • 5f6714920f Fixed 64bit build on Linux. Lasse Öörni 2013-04-30 18:39:55 +0000
  • 85ebeeed2e Improved LightTest example to allow toggling renderpath at runtime, and to show instructions on screen. Lasse Öörni 2013-04-30 11:12:21 +0000
  • 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. Wei Tjong Yao 2013-04-30 10:53:35 +0000
  • c0dbf7f545 Generalized the factory category for all objects. Removed hardcoded UI element type list in Editor. Lasse Öörni 2013-04-29 21:40:58 +0000
  • ef42c4faec Added explicit -m64 flag for 64bit compile on GCC. Added String constructors that take long or unsigned long as parameter. Lasse Öörni 2013-04-29 17:14:35 +0000
  • 344aa8a8b8 Added nullcheck. Wei Tjong Yao 2013-04-29 14:55:49 +0000
  • 2afdf2675a Fixed Windows build. Some tweaks to component categories. Documentation update. Lasse Öörni 2013-04-29 13:01:29 +0000
  • 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. Wei Tjong Yao 2013-04-29 10:22:25 +0000
  • d24ec7bc0d Fixed redundant SSE flag in 64bit mode. Lasse Öörni 2013-04-29 08:38:56 +0000
  • 6dcbde01e4 Fixed GCC build (32-bit). Wei Tjong Yao 2013-04-29 03:57:49 +0000
  • 3ff3be016b Copied pointer cast fixes from the OpenGL code. Lasse Öörni 2013-04-29 01:00:44 +0000
  • 85415e5cb3 Fixed 64bit compile on GCC / OS X. Lasse Öörni 2013-04-29 00:57:47 +0000
  • 6079e8cf84 Copied asm-bits from newest LibCpuId. Updated documentation. Lasse Öörni 2013-04-29 00:20:29 +0000
  • 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. Lasse Öörni 2013-04-28 23:53:07 +0000
  • 9e3282aeea Initial fixes for compiling as 64bit (MSVC.) Lasse Öörni 2013-04-28 22:19:20 +0000
  • 5ddb47b09d Added profiling block for engine initialization. Lasse Öörni 2013-04-28 17:20:20 +0000
  • 4625dc78a2 Applied contact processing threshold patch from primitivewaste. Cleanup scenepass metadata processing code. Lasse Öörni 2013-04-28 12:25:36 +0000
  • 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. Lasse Öörni 2013-04-28 11:45:10 +0000
  • 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. Wei Tjong Yao 2013-04-28 06:26:03 +0000
  • 3279cc74fc Updated changelog. Lasse Öörni 2013-04-27 23:12:31 +0000