Commit Graph

10192 Commits

Author SHA1 Message Date
Lasse Öörni
402bf1f59e Fixed possible incorrect cylinder shape size assignment. 2012-04-12 20:14:12 +00:00
Lasse Öörni
2c535ab11a Refactored back to using only CollisionShape component, which has an enum for the shape type. Restored the SetBox(), SetSphere() etc. API for CollisionShape. 2012-04-12 20:00:19 +00:00
Lasse Öörni
f612c26287 Renamed Heightfield dimensions -> numPoints to be more descriptive. 2012-04-12 07:05:15 +00:00
Lasse Öörni
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.
2012-04-11 22:22:10 +00:00
Lasse Öörni
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.
2012-04-11 18:01:44 +00:00
Lasse Öörni
3e812ec1e0 Fixed physics update bug that caused physics framerate dependency and instability. 2012-04-11 15:42:58 +00:00
Lasse Öörni
3ce34fe7e4 Fixed missing registration of SmoothedTransform. 2012-04-11 07:19:19 +00:00
Lasse Öörni
70d95e7ae6 Added ConeShape & TriangleMeshShape. 2012-04-10 22:01:20 +00:00
Lasse Öörni
3d273cc15e Added more basic collision shapes. 2012-04-10 19:11:10 +00:00
Lasse Öörni
4af35bfe49 Added damping & more friction to TestScene. 2012-04-10 07:40:38 +00:00
Lasse Öörni
567375b7a0 Use Bullet local scaling instead of recreating the collision shape when node scale changes. 2012-04-10 06:46:58 +00:00
Lasse Öörni
ee3095e603 Added box collision shape. 2012-04-09 23:45:51 +00:00
Lasse Öörni
1841169cb2 Fixed missing CollisionGeometryData code.
Refactored node transform smoothing into a separate component. Not yet used.
2012-04-09 21:44:46 +00:00
Lasse Öörni
8edf0240a1 Migration to Bullet physics underway. Most of physics functionality & examples broken for now. 2012-04-09 18:10:17 +00:00
Lasse Öörni
88e8f37fb4 More general resolving of full asset names. 2012-04-08 09:36:37 +00:00
Lasse Öörni
3fd5129304 Do not split submeshes into own vertex buffers (if more than 65535 vertices) when original mesh uses shared geometry. 2012-04-07 23:43:51 +00:00
Lasse Öörni
b5f95985f7 When processing materials in Tundra scene import mode, resolve texture refs to full paths as necessary. 2012-04-07 22:59:18 +00:00
Lasse Öörni
fbd019cff4 Updated to AngelScript 2.23.0. 2012-04-07 20:26:01 +00:00
Lasse Öörni
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.
2012-04-06 17:23:45 +00:00
Lasse Öörni
2412b4b910 Flatten model & material names correctly when importing a Tundra scene. 2012-04-03 22:47:31 +00:00
Lasse Öörni
2972b668c8 Removed the CheckInLight() optimization from TestScene as it was making the scene not fully dynamic.
Code cleanup.
2012-04-01 19:42:23 +00:00
Lasse Öörni
566489e1fa Updated the script API documentation. 2012-04-01 18:09:52 +00:00
Lasse Öörni
8a5274b596 Further refactoring of the Joint API. Now position & axis are specified in the local space of the own rigid body. 2012-04-01 18:07:58 +00:00
Lasse Öörni
9d864d3f89 Fixed return type of Texture2D::SetSize() & TextureCube::SetSize() when exposed to script. 2012-03-30 23:45:44 +00:00
Lasse Öörni
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. 2012-03-30 23:02:33 +00:00
Lasse Öörni
7eaa728f84 Restored accurate frame limiting. May need more testing on different systems. 2012-03-28 18:40:15 +00:00
Lasse Öörni
bea4b8d60b Allow per-rigidbody disabling of gravity. 2012-03-25 12:57:45 +00:00
Lasse Öörni
a972435910 Reverted previous change for increased readability as no performance difference was observed. 2012-03-23 16:24:43 +00:00
Lasse Öörni
c0273f35ca Removed deprecated SuppressNextChar() function. 2012-03-23 11:45:46 +00:00
Lasse Öörni
6a99c8ad0d Added ifdefs to disable inclusion of unneeded uniforms, samplers and attributes.
Removed deprecated LightVolume shader.
2012-03-23 11:40:25 +00:00
Lasse Öörni
1ab5dd3e8d Fixed crash if OpenGL version or extensions are not satisfied. 2012-03-23 00:00:24 +00:00
Lasse Öörni
139ef6d6e2 Removed the light to light queue map. Instead store the light queue pointer directly to the light. 2012-03-21 08:13:57 +00:00
Lasse Öörni
1f89e97116 Insert drawable into the proper octant (instead of root) immediately when OnNodeSet() is called. 2012-03-21 00:13:34 +00:00
Lasse Öörni
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. 2012-03-20 18:39:57 +00:00
Lasse Öörni
97142c1db1 Eliminated n^2 algorithms from event subscribing and octree updates. 2012-03-20 16:33:46 +00:00
Lasse Öörni
66f3fd4097 Added function to get API-independent projection matrix.
Preallocate light queues once per frame instead of resizing the light queue container multiple times.
2012-03-19 20:13:53 +00:00
Lasse Öörni
265d59dfb0 Use occlusion for coarse culling of octants before testing drawable occlusion in worker threads.
More specialized octree queries moved to View.
2012-03-19 08:08:57 +00:00
Lasse Öörni
6c1536627e Refactor of the OctreeQuery class. Use a separate subclass for shadowcaster-only queries. 2012-03-18 23:06:54 +00:00
Lasse Öörni
612a0c2dee Fixed erroneous occlusion culling in orthographic mode.
Use two smaller Z-biases (before and after viewport transform) for occlusion instead of one large.
2012-03-18 22:19:55 +00:00
Lasse Öörni
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.
2012-03-18 19:33:23 +00:00
Lasse Öörni
fec5d379fd Re-added camera frustum & projection matrix caching. 2012-03-18 14:38:27 +00:00
Lasse Öörni
dd28073cfc Optimized shadowed point light shadowcaster queries.
Removed redundant camera frustum recalculations from shadow processing.
2012-03-17 23:12:06 +00:00
Lasse Öörni
5a6dfe6c19 Added missing spaces. 2012-03-11 14:15:40 +00:00
Lasse Öörni
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.
2012-03-11 13:49:01 +00:00
Lasse Öörni
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. 2012-03-11 12:21:02 +00:00
Lasse Öörni
9b2e4e694a Fixed character encoding. 2012-03-09 15:35:45 +00:00
Lasse Öörni
ce4c4ae96f Do not use the "preferred resource path" mechanism when explicitly choosing a path via UI. 2012-03-09 13:43:17 +00:00
Lasse Öörni
c5f5be8ef0 Added beneficial AssImp processing flags. 2012-03-09 13:38:34 +00:00
Lasse Öörni
3735bd6916 Strip double quotes from arguments.
Fixed String::EndsWith().
Fixed crash in AssetImporter when instantiating an Octree component.
2012-03-03 23:52:40 +00:00
Lasse Öörni
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.
2012-03-03 13:05:25 +00:00