Commit Graph

88 Commits (71bed07ed131a0cbba72065e6b04afed163df749)

Author SHA1 Message Date
Martin Felis 71bed07ed1 sconvcol: querying for support vertex now needs transformation of the hull. 2021-11-16 14:53:46 +01:00
Martin Felis 33f08ff39b SimpleMath: fixed compile warnings when using debug builds 2021-11-16 14:18:15 +01:00
Martin Felis b19a74dcdf WIP: edge-edge collision with supplied transforms. 2021-11-07 21:57:06 +01:00
Martin Felis 7830840d81 Refactored HullScene making tests easier to visualize. 2021-11-07 20:19:25 +01:00
Martin Felis 1adf0c611f WIP: explicit transforms refactor. 2021-11-07 17:00:44 +01:00
Martin Felis cf87db975c WIP: adjusting sch_hull_sat API to allow providing transforms. 2021-11-07 11:31:24 +01:00
Martin Felis c6daa7ec21 Hull is now movable, tweaked camera movement. 2021-11-05 22:01:04 +01:00
Martin Felis 4448059ce8 Can now generate and render meshes of sch_hull's! 2021-11-05 14:04:05 +01:00
Martin Felis 890ea713db srender: added API to render custom meshes. 2021-11-05 14:03:07 +01:00
Martin Felis be54fe31e7 Minor type safety cleanup. 2021-11-05 14:01:39 +01:00
Martin Felis 133165ef9b Minor cleanup, improved OpenGL error reporting. 2021-10-31 16:41:21 +01:00
Martin Felis 1848fd14cf FPS Control working, minor UI cleanup. 2021-10-29 15:52:32 +02:00
Martin Felis 23d7cf03f6 Still buggy but somewhat workable FPS control. 2021-10-29 13:08:44 +02:00
Martin Felis 90d9ac3961 Updated RBDL to latest dev commit 73b7048. 2021-10-29 12:13:28 +02:00
Martin Felis cc1a106bb9 Trying to get first-person movement going 2021-10-29 12:13:13 +02:00
Martin Felis 0b12991f10 At least eye position is correctly retrieved from the matrix. 2021-10-19 23:00:09 +02:00
Martin Felis eb635162c8 Initial attempts for a camera state object for easier camera movement. 2021-10-19 22:40:44 +02:00
Martin Felis ea92663609 Basic ImGuizmo support. 2021-10-09 11:21:53 +02:00
Martin Felis 41b7c14910 Adjusted instructions to include packages for the profiler 2021-08-27 12:48:46 +02:00
Martin Felis 9252236c9c Added build files for tracy, added ImGuizmo (not yet integrated) 2021-08-27 12:34:18 +02:00
Martin Felis 87f07397d2 Working on edge-edge contact manifold generation. Possibly found issue for face-face contact generation. 2021-08-25 22:29:18 +02:00
Martin Felis 0e378b6a60 Added face-face contact manifold computation to sconvcol. 2021-08-25 21:20:03 +02:00
Martin Felis f06da4445f Reverted to using boxes and spheres for the scene 2021-08-06 12:16:34 +02:00
Martin Felis ab469b40c8 Added Tracy profiler 2021-08-06 12:11:47 +02:00
Martin Felis 40734883d8 Adjusted simulation scene generation (boxes and spheres) 2021-07-09 20:28:45 +02:00
Martin Felis 4834b483ef Added sch_hull_sat to check whether we can find a separating axes between two hulls. 2021-05-30 00:19:57 +02:00
Martin Felis e93a659daf Added unit cube generation and get_support queries. 2021-05-28 21:43:37 +02:00
Martin Felis 0c53f3fd8b Minor cleanup. 2021-05-28 17:01:36 +02:00
Martin Felis 8aa06fb3d6 Hull builder can now build hulls including various validations. 2021-05-28 16:45:41 +02:00
Martin Felis d8a67db2a9 Check vor concave vertices when building convex hull objects 2021-05-27 14:18:21 +02:00
Martin Felis 82de09ad8b Updated catch2 2021-05-27 14:17:30 +02:00
Martin Felis 9356ec14f8 Initial work on a convex hull builder object. 2021-05-26 11:33:54 +02:00
Martin Felis 0081cff8bc Added slides of Gregorius' talk "Robust Contact Creation for Physics Simulation" 2021-05-16 15:37:13 +02:00
Martin Felis 6193af5387 Merge branch 'master' of ssh://i13s.de/martin/rbdlsim 2021-02-07 14:45:34 +01:00
Martin Felis 0dd26d267d Added README.md 2020-12-20 15:57:09 +01:00
Martin Felis d2eca6f19b Added initial works on sconvcol - Simple Convex Collision manifold calculator 2020-12-12 23:22:57 +01:00
Martin Felis 5f4675d9ef Fixed build for runsim 2020-11-25 17:05:29 +01:00
Martin Felis 10b59578e1 Properly separate sliders for each body 2020-11-25 17:05:13 +01:00
Martin Felis d01417e8c9 Implemented tangential friction. Yay! 2020-11-24 22:34:28 +01:00
Martin Felis ca4f4048df Adjusted scene (more objects, mixed boxes and spheres) 2020-11-24 22:30:59 +01:00
Martin Felis 28d7e5efaa Adjusted view for better visibility 2020-11-24 22:30:29 +01:00
Martin Felis b00e78cd9c Storing MInv * jacT instead of each separately, fixed failing due to size of spheres being now the diameter instead of radius. 2020-11-24 21:45:38 +01:00
Martin Felis 3fd715611d Added applying slight separation impulse in case of penetration, also started working on friction along tangents. 2020-11-21 21:18:57 +01:00
Martin Felis ae9ec36325 Fixed creation of state history class. 2020-11-21 21:17:52 +01:00
Martin Felis cb387beb33 Using manifold points instead of posA, posB for adding constraints. 2020-11-21 20:09:26 +01:00
Martin Felis 4b19fd9c0b Fixed simulation crash by increasing the manifold array as I'm getting more manifolds than expected. 2020-11-20 23:16:37 +01:00
Martin Felis 8dd349752d Apply random rotation on test bodies when resetting scene. 2020-11-20 22:54:59 +01:00
Martin Felis 17a8a0347f SimpleMath: fixed matrix.llt().inverse() (was using unused variable). 2020-11-20 22:54:07 +01:00
Martin Felis 17336be8d6 Using boxes instead of spheres for simulation. 2020-11-20 22:53:30 +01:00
Martin Felis e47be90fac Sending full transform info (rot, scale, translation) to srender. 2020-11-20 22:51:24 +01:00