Commit Graph

  • 2a6e4cf21b Fixed network replication of RigidBody linear & angular factor. Lasse Öörni 2012-04-15 00:10:06 +0000
  • 1e493ba802 Networked rigidbodies should work now. Lasse Öörni 2012-04-14 23:50:18 +0000
  • e8974fae47 NinjaSnowWar single player mode fixed to work with Bullet physics. Physics bugfixes. Heightfield shape removed for now due to buggy collision. Lasse Öörni 2012-04-14 19:27:26 +0000
  • 7524eb27a9 Clear inbuilt script object type search cache when compiling script code to prevent crash if a failed script module compile is attempted several times. Lasse Öörni 2012-04-14 10:24:15 +0000
  • 3bb70d065e Draw debug geometry for individual RigidBodies or CollisionShapes. Fixed CollisionShape shapetype being uninitialized. Lasse Öörni 2012-04-13 21:21:31 +0000
  • 187f179af6 Exposed missing physics enums to script. Added collision event mode to RigidBody, which allows to filter out unneeded collision events. Lasse Öörni 2012-04-13 11:37:02 +0000
  • 69a8f4f6e0 Added back collision events and physics raycasting. Lasse Öörni 2012-04-12 23:08:44 +0000
  • 402bf1f59e Fixed possible incorrect cylinder shape size assignment. Lasse Öörni 2012-04-12 20:14:12 +0000
  • 2c535ab11a Refactored back to using only CollisionShape component, which has an enum for the shape type. Restored the SetBox(), SetSphere() etc. API for CollisionShape. Lasse Öörni 2012-04-12 20:00:19 +0000
  • f612c26287 Renamed Heightfield dimensions -> numPoints to be more descriptive. Lasse Öörni 2012-04-12 07:05:15 +0000
  • 90f2a80612 Added heightfield & convex hull shapes. Adapted TestSceneOld to the new physics components. Do not create scaled copies of triangle mesh collision vertex data, instead scale the collision shape. Lasse Öörni 2012-04-11 22:22:10 +0000
  • 731dc2d6ca Optimized collision shape update to not recreate the whole compound shape every time something changes. Remove a sub-shape from the compound shape first before deleting it. Lasse Öörni 2012-04-11 18:01:44 +0000
  • 3e812ec1e0 Fixed physics update bug that caused physics framerate dependency and instability. Lasse Öörni 2012-04-11 15:42:58 +0000
  • 3ce34fe7e4 Fixed missing registration of SmoothedTransform. Lasse Öörni 2012-04-11 07:19:19 +0000
  • 70d95e7ae6 Added ConeShape & TriangleMeshShape. Lasse Öörni 2012-04-10 22:01:20 +0000
  • 3d273cc15e Added more basic collision shapes. Lasse Öörni 2012-04-10 19:11:10 +0000
  • 4af35bfe49 Added damping & more friction to TestScene. Lasse Öörni 2012-04-10 07:40:38 +0000
  • 567375b7a0 Use Bullet local scaling instead of recreating the collision shape when node scale changes. Lasse Öörni 2012-04-10 06:46:58 +0000
  • ee3095e603 Added box collision shape. Lasse Öörni 2012-04-09 23:45:51 +0000
  • 1841169cb2 Fixed missing CollisionGeometryData code. Refactored node transform smoothing into a separate component. Not yet used. Lasse Öörni 2012-04-09 21:44:46 +0000
  • 8edf0240a1 Migration to Bullet physics underway. Most of physics functionality & examples broken for now. Lasse Öörni 2012-04-09 18:10:17 +0000
  • 88e8f37fb4 More general resolving of full asset names. Lasse Öörni 2012-04-08 09:36:37 +0000
  • 3fd5129304 Do not split submeshes into own vertex buffers (if more than 65535 vertices) when original mesh uses shared geometry. Lasse Öörni 2012-04-07 23:43:51 +0000
  • b5f95985f7 When processing materials in Tundra scene import mode, resolve texture refs to full paths as necessary. Lasse Öörni 2012-04-07 22:59:18 +0000
  • fbd019cff4 Updated to AngelScript 2.23.0. Lasse Öörni 2012-04-07 20:26:01 +0000
  • a85817a355 Reverted to joint world space positioning for reliability. Added debug geometry visualization for joints. Added nullchecks to prevent crash by calling DrawDebugGeometry() from script with a null debug renderer pointer. Lasse Öörni 2012-04-06 17:23:45 +0000
  • 2412b4b910 Flatten model & material names correctly when importing a Tundra scene. Lasse Öörni 2012-04-03 22:47:31 +0000
  • 2972b668c8 Removed the CheckInLight() optimization from TestScene as it was making the scene not fully dynamic. Code cleanup. Lasse Öörni 2012-04-01 19:42:23 +0000
  • 566489e1fa Updated the script API documentation. Lasse Öörni 2012-04-01 18:09:52 +0000
  • 8a5274b596 Further refactoring of the Joint API. Now position & axis are specified in the local space of the own rigid body. Lasse Öörni 2012-04-01 18:07:58 +0000
  • 9d864d3f89 Fixed return type of Texture2D::SetSize() & TextureCube::SetSize() when exposed to script. Lasse Öörni 2012-03-30 23:45:44 +0000
  • ff950d7dca Refactored joint attributes. Now the joint should be created into a node with a rigidbody, and only the connected body needs to be specified. Lasse Öörni 2012-03-30 23:02:33 +0000
  • 7eaa728f84 Restored accurate frame limiting. May need more testing on different systems. Lasse Öörni 2012-03-28 18:40:15 +0000
  • bea4b8d60b Allow per-rigidbody disabling of gravity. Lasse Öörni 2012-03-25 12:57:45 +0000
  • a972435910 Reverted previous change for increased readability as no performance difference was observed. Lasse Öörni 2012-03-23 16:24:43 +0000
  • c0273f35ca Removed deprecated SuppressNextChar() function. Lasse Öörni 2012-03-23 11:45:46 +0000
  • 6a99c8ad0d Added ifdefs to disable inclusion of unneeded uniforms, samplers and attributes. Removed deprecated LightVolume shader. Lasse Öörni 2012-03-23 11:40:25 +0000
  • 1ab5dd3e8d Fixed crash if OpenGL version or extensions are not satisfied. Lasse Öörni 2012-03-23 00:00:24 +0000
  • 139ef6d6e2 Removed the light to light queue map. Instead store the light queue pointer directly to the light. Lasse Öörni 2012-03-21 08:13:57 +0000
  • 1f89e97116 Insert drawable into the proper octant (instead of root) immediately when OnNodeSet() is called. Lasse Öörni 2012-03-21 00:13:34 +0000
  • b7f5a6c997 Reverted use of HashSet in Octree for updates & reinsertions. Instead use vectors of weak pointers to Drawables to require no explicit cleanup when removed. Lasse Öörni 2012-03-20 18:39:57 +0000
  • 97142c1db1 Eliminated n^2 algorithms from event subscribing and octree updates. Lasse Öörni 2012-03-20 16:33:46 +0000
  • 66f3fd4097 Added function to get API-independent projection matrix. Preallocate light queues once per frame instead of resizing the light queue container multiple times. Lasse Öörni 2012-03-19 20:13:53 +0000
  • 265d59dfb0 Use occlusion for coarse culling of octants before testing drawable occlusion in worker threads. More specialized octree queries moved to View. Lasse Öörni 2012-03-19 08:08:57 +0000
  • 6c1536627e Refactor of the OctreeQuery class. Use a separate subclass for shadowcaster-only queries. Lasse Öörni 2012-03-18 23:06:54 +0000
  • 612a0c2dee Fixed erroneous occlusion culling in orthographic mode. Use two smaller Z-biases (before and after viewport transform) for occlusion instead of one large. Lasse Öörni 2012-03-18 22:19:55 +0000
  • 6fbf8d0404 Increased occlusion buffer Z-accuracy. Use similar calculations for occluders and occludees to minimize errors. Decreased default minimum occluder screen size to allow better occluder fusion of small occluders. Lasse Öörni 2012-03-18 19:33:23 +0000
  • fec5d379fd Re-added camera frustum & projection matrix caching. Lasse Öörni 2012-03-18 14:38:27 +0000
  • dd28073cfc Optimized shadowed point light shadowcaster queries. Removed redundant camera frustum recalculations from shadow processing. Lasse Öörni 2012-03-17 23:12:06 +0000
  • 5a6dfe6c19 Added missing spaces. Lasse Öörni 2012-03-11 14:15:40 +0000
  • 72794673d1 Fixed crash if a window message was received before the Input subsystem had initialized itself. Fixed profiler output indent off by one. Updated script API. Lasse Öörni 2012-03-11 13:49:01 +0000
  • 9ab2bf4c14 Added top-level profiling blocks for frame execution. Explicitly call Profiler::BeginFrame() and EndFrame() in Time subsystem to not depend on event subscription order. Profiler max. display depth in DebugHud can be specified. Lasse Öörni 2012-03-11 12:21:02 +0000
  • 9b2e4e694a Fixed character encoding. Lasse Öörni 2012-03-09 15:35:45 +0000
  • ce4c4ae96f Do not use the "preferred resource path" mechanism when explicitly choosing a path via UI. Lasse Öörni 2012-03-09 13:43:17 +0000
  • c5f5be8ef0 Added beneficial AssImp processing flags. Lasse Öörni 2012-03-09 13:38:34 +0000
  • 3735bd6916 Strip double quotes from arguments. Fixed String::EndsWith(). Fixed crash in AssetImporter when instantiating an Octree component. Lasse Öörni 2012-03-03 23:52:40 +0000
  • e10da28c4b Reverted PrintLine() to use printf() to allow seeing the tools' intermediate output in the MSVC output window. Make sure that minidump code is only compiled in on MSVC. Lasse Öörni 2012-03-03 13:05:25 +0000
  • acd6f5be5c Fixed PrintRaw() on Unix. Lasse Öörni 2012-03-01 22:35:25 +0000
  • 89d3dc38e9 Fixed conflict with IOAPI.cpp Print() functions. Lasse Öörni 2012-03-01 21:51:51 +0000
  • 3805401100 Fixed WString returning length one char too long. Use WriteConsoleW on Windows for printing to the console. Allow to exit NinjaSnowWar server by a console command. Lasse Öörni 2012-03-01 19:27:05 +0000
  • a542fae7b6 Centralized printing to the console. Lasse Öörni 2012-03-01 08:33:07 +0000
  • 481468e2a0 Replaced further Win32 API calls with Unicode variants. Win32 console input reading using Unicode. Lasse Öörni 2012-02-29 23:46:05 +0000
  • 1efdb25d9d Use PeekMessageW() & DispatchMessageW() for consistency. Lasse Öörni 2012-02-29 23:11:21 +0000
  • 0804e9d4ec Sort drawable's lights only if necessary (over the maximum light count.) Handle lights that are converted from per-pixel to per-vertex correctly even if drawable has both opaque & transparent batches. Lasse Öörni 2012-02-29 14:24:38 +0000
  • cc51e1a40c Reverted code which was only needed when SetDepthStencil() committed the FBO changes. Lasse Öörni 2012-02-29 08:39:17 +0000
  • 961f65b467 Flush changes to the current FBO first before cleaning up a rendersurface from other FBOs. Lasse Öörni 2012-02-28 23:04:36 +0000
  • 9d15b80fc4 Audio::IsInterpolated() -> Audio::GetInterpolation(). Fixed comments in the audio library. Lasse Öörni 2012-02-28 22:58:25 +0000
  • 26e2ebca26 Fixed enemy motion bugs in networked NinjaSnowWar. Added possibility to disable physics interpolation. This is useful on a network server to ensure clients do not receive interpolated (and possibly non-physical) node transforms. Changed default network update FPS to 30 (half of the default physics FPS.) Lasse Öörni 2012-02-28 21:03:42 +0000
  • cd00810139 Updated docs for upcoming release. Lasse Öörni 2012-02-28 18:51:31 +0000
  • 9a5443ebc4 Store depth bits into Texture2D also in renderbuffer mode. Lasse Öörni 2012-02-28 18:50:52 +0000
  • 7ed9a4815d More complete multi-FBO implementation. Lasse Öörni 2012-02-28 13:11:34 +0000
  • e42f16dfbe Set GL_NONE drawbuffer on the depth-only FBO. Lasse Öörni 2012-02-28 00:39:13 +0000
  • f83b968576 To reduce Linux / NVIDIA performance issues, use another FBO for shadow rendering. Commit FBO changes only at SetDepthStencil(). Lasse Öörni 2012-02-28 00:24:35 +0000
  • f78a0cab6d Set also the third texture coordinate wrap mode on OpenGL. Lasse Öörni 2012-02-27 21:15:31 +0000
  • 6014f87a0f Added mention to only install libgl1-mesa-dev if OpenGL headers/libs do not already exist. Lasse Öörni 2012-02-27 08:09:11 +0000
  • bc8b45b061 Restored AngelScript typeid caching. Lasse Öörni 2012-02-26 21:54:05 +0000
  • 281703c8e5 Use HashMap instead of Map in Font for improved performance. Lasse Öörni 2012-02-26 20:53:52 +0000
  • a7daef9b49 Reverted the busywait code because of unpredictable effect on slower machines. Lasse Öörni 2012-02-26 20:25:23 +0000
  • f4650362c0 Spinwait using a dummy calculation to get accurate frame limiting. Lasse Öörni 2012-02-26 18:39:55 +0000
  • 911f9e4c5b Removed the "flush GPU" feature as it was causing erratic timing. The downside is increased input lag when vsync is on. Increased NinjaSnowWar physics FPS to 100Hz for less likely snowball tunnelling. Set the player yaw from mouse movement each frame also in singleplayer NinjaSnowWar. When a physical Node's rotation only changes, do not force the rendering position automatically as the new physics position. Lasse Öörni 2012-02-26 16:00:52 +0000
  • ff9df846d1 Fixed physics transform interpolation when physics timestep is lower than framerate. Use high resolution timer for frame timestep to avoid jitter at vsync frequency. Rewrote frame limiting. Elapsed time API changed. Lasse Öörni 2012-02-26 13:07:52 +0000
  • 51eec4e987 Marked todo's into the IO library. Moved the cursor/function key char input check into GLFW. Lasse Öörni 2012-02-26 11:57:36 +0000
  • 3afbeb83ea Added a documentation page on Unicode. Restructured the quickstart-examples, and fixed the C++ quickstart code. Lasse Öörni 2012-02-26 11:35:03 +0000
  • d66fb61091 Fixed texts defined in XML not showing. Lasse Öörni 2012-02-26 00:24:26 +0000
  • 01d893df98 Decode the text from UTF8 once during Text::SetText() for easier processing. Lasse Öörni 2012-02-26 00:19:21 +0000
  • 80a2fe0f30 Keep track of mouse cursor show/hide on OSX as it stacks like on Windows. Lasse Öörni 2012-02-25 23:12:42 +0000
  • 715a8196e8 Fixed erroneous mouse move on windowed/fullscreen toggle on X11. Lasse Öörni 2012-02-25 22:04:04 +0000
  • 5d7968a379 Fixed erroneous char events for cursors & function keys on OSX. Lasse Öörni 2012-02-25 21:54:46 +0000
  • e105d2d178 Fixed missing input activation in Direct3D windowed mode. Lasse Öörni 2012-02-25 21:25:52 +0000
  • 06aa3e21a7 Fixed duplicate ShowCursor() calls after the window closing & reopening. Lasse Öörni 2012-02-25 21:16:41 +0000
  • 7819e4644b GLFW mouse input fixes. Lasse Öörni 2012-02-25 21:04:18 +0000
  • 77e239ef74 Removed the white screen from fullscreen init. Lasse Öörni 2012-02-25 20:25:44 +0000
  • d00bac7309 Fixed extra }. Lasse Öörni 2012-02-25 20:18:50 +0000
  • d46135ad8e Ported OSX-specific fixes from old GLFW. Lasse Öörni 2012-02-25 20:14:20 +0000
  • 6047b13400 Fixed Linux build. Removed GLFW X11 log spam. Lasse Öörni 2012-02-25 20:05:35 +0000
  • 245040d562 Fixed OSX build. Lasse Öörni 2012-02-25 19:45:41 +0000
  • 9e083f45c5 Updated to newest GLFW 3.0 revision. Fixes bugged UTF8 characters in window title in OpenGL mode. Lasse Öörni 2012-02-25 18:53:28 +0000
  • 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. Lasse Öörni 2012-02-25 12:30:42 +0000
  • 0c63191a49 Prevent redundant DrawBuffers assignment on OpenGL. Lasse Öörni 2012-02-25 01:11:24 +0000
  • a4b263b8e1 Fixed crash in libcpuid on Linux. Lasse Öörni 2012-02-24 21:18:50 +0000