Commit Graph

899 Commits (db1c34a78c44bba9be4bcf1b3461dede0c7b1f35)

Author SHA1 Message Date
Jeremy Hu 0d7e873045 Add skeleton struct 2017-02-01 21:48:16 +09:30
Jeremy Hu a4569fbe1e Handle out of memory in one place 2017-01-31 08:26:24 +09:30
Jeremy Hu be9e73b83d Merge branch 'master' of https://github.com/huxingyi/dust3d 2017-01-30 00:13:30 +09:30
Jeremy Hu 542a1d70e7 Add skinned mesh define 2017-01-30 00:12:50 +09:30
Jeremy Hu e8972149ef Fix windows build. 2017-01-22 16:46:16 +09:30
Jeremy Hu e4fc03e848 Fix ball selection. 2017-01-18 22:14:28 +09:30
Jeremy Hu feac7aea69 Add mouse position to world coord translation. 2017-01-16 22:19:47 +09:30
Jeremy Hu b8b724204b Fix strange faces at key ball. 2017-01-08 19:38:01 +09:30
Jeremy Hu ef11025e9e Reduce radius of key ball when add to convex hull. 2017-01-08 12:07:18 +09:30
Jeremy Hu 37e1cf2ca7 Fix bmesh vertex hash of subdivision. 2017-01-04 22:45:01 +09:30
Jeremy Hu c271354ab1 Input model to subdivision. 2017-01-04 08:13:01 +09:30
Jeremy Hu fcb4868d28 Fix tiangle merge direction. 2017-01-03 22:01:42 +09:30
Jeremy Hu a8b4d162b7 Fix inbetween mesh. 2017-01-03 21:53:45 +09:30
Jeremy Hu 76ef1bed33 Apply convex hull on key ball. 2017-01-02 23:05:19 +09:30
Jeremy Hu 026ef777af Fix rotate on elbow nodes. 2017-01-02 22:38:53 +09:30
Jeremy Hu 2f022b337c Make sure all cross sections on the convex hull. 2017-01-02 18:20:05 +09:30
Jeremy Hu 68cb7d499f Update progress. 2017-01-02 12:03:54 +09:30
Jeremy Hu 32057f4e4d Add Catmull-Clark subdivision algorithm. 2017-01-02 12:02:30 +09:30
Jeremy Hu 21e46e5e16 Match inbetween faces. 2016-12-31 22:03:24 +09:30
Jeremy Hu 167a97e66a Fix inbetween mesh normal. 2016-12-31 21:34:56 +09:30
Jeremy Hu c4287c5484 Draw inbetween mesh. 2016-12-31 16:25:51 +09:30
Jeremy Hu 36ebce180b Update progress. 2016-12-31 12:52:33 +09:30
Jeremy Hu b8607542b0 Adjust inputs of shape ball for convex hull. 2016-12-31 12:51:07 +09:30
Jeremy Hu 7b5d29fcef Fix triangles merge.
Fix vec3Angle.
2016-12-31 11:44:18 +09:30
Jeremy Hu 06e584ac1c Add merge triangles inside implementation of convex hull. 2016-12-31 00:29:54 +09:30
Jeremy Hu 1c305d5ef9 Remove intersect triangles.
Add debug facility.
2016-12-30 22:49:10 +09:30
Jeremy Hu 3ca8e64b68 Rearrange source filenames.
Remove tri2quad temporarily.
2016-12-30 20:32:34 +09:30
Jeremy Hu e9e9a170e3 Add triangle to quad conversion, not finish yet.
Fix convex hull algorithm.
Unify generated faces'normal.
Add hashtable.
Fix incorrect realloc in array.
2016-12-28 22:16:25 +09:30
Jeremy Hu 97141d9ee7 Not generate triangle on the same plane.
Remove incorrect triangle.
2016-12-27 10:02:00 +09:30
Jeremy Hu 7b58a62aa6 Fix elbow rotation. 2016-12-27 07:51:25 +09:30
Jeremy Hu 21a462979d Add another test module. 2016-12-26 21:11:02 +09:30
Jeremy Hu 106cea6b3f Implement convex hull algorithm. 2016-12-26 18:09:01 +09:30
Jeremy Hu ecdc896e08 Fix bone direction parallel with y axis. 2016-12-25 18:59:42 +09:30
Jeremy Hu 0efbc668a3 Implement rotation on two connected bones. 2016-12-25 15:30:02 +09:30
Jeremy Hu 3a5540324a Follow the paper of Sweeping stage. 2016-12-23 23:54:19 +09:30
Jeremy Hu f19af46194 Add build description. 2016-12-22 22:36:24 +09:30
Jeremy Hu ef1836ab06 Add matrix.
Add quad generation from shape nodes.
2016-12-22 22:33:32 +09:30
Jeremy Hu 5bf806f363 Add tree data struct of nodes 2016-12-21 23:36:47 +09:30
Jeremy Hu 9b31fa85e8 Fix image size. 2016-12-20 21:51:53 +09:30
Jeremy Hu a73f351fd6 Generate inbetween nodes between bmesh key nodes 2016-12-20 21:45:23 +09:30
Jeremy Hu b6af60f08c Add drawText.
Add bmesh test data.
2016-12-20 19:23:13 +09:30
Jeremy Hu edeec37d01 Use glu to draw primitives 2016-12-20 08:40:31 +09:30
Jeremy Hu f2bc4417e0 Add missing modifies 2016-12-20 00:48:23 +09:30
Jeremy Hu a074a8d846 Add array data struct
Add bmesh define
Add vec3
Add camera control
Add draw x,z axis
2016-12-20 00:45:53 +09:30
Jeremy Hu d7ef7d6d08 Add finite grid ground 2016-12-17 21:55:37 +09:30
Jeremy Hu 230bc2d04a Add draw cylinder 2016-12-17 10:19:40 +09:30
Jeremy Hu a0ebc379b4 Add Jon Leech's method to draw shpere 2016-12-16 22:15:11 +09:30
Jeremy Hu d7b349b986 Drawing sphere without gluSphere 2016-12-16 00:02:55 +09:30
Jeremy Hu be32f0b2d6 Hello Dust3D, first commit 2016-12-15 23:49:08 +09:30