Commit Graph

720 Commits (cc0db997a4059a164133943c489b2fc4892fa750)

Author SHA1 Message Date
Jeremy Hu 3701002fac Fix default deforming scale 2019-08-18 14:28:27 +09:30
Jeremy Hu adadab65ea Remove temporary deforming maps 2019-08-18 10:43:48 +09:30
Jeremy Hu 95c3607996 Fix paint mode 2019-08-17 21:02:18 +09:30
Jeremy Hu d86a6f9b50 Fix shader on paint mode 2019-08-17 20:09:07 +09:30
Jeremy Hu 1d0f2450df Add deforming map painter
- Short cut 'D' changed meaning: from drag mode to paint mode, drag mode icon removed, but still can use space bar to invoke drag mode.
- Brush painter directly paint on part deforming map, use shift key plus mouse wheel to change the brush size, also use shift key to change paint mode(Pull/Push).
2019-08-17 19:43:11 +09:30
Jeremy Hu d27c3fb313 Update nodes ordering algorithm 2019-08-14 17:56:15 +09:30
Jeremy Hu 18b339d9d7 Merge branch 'master' of https://github.com/huxingyi/dust3d 2019-08-13 22:33:14 +09:30
Jeremy Hu d672e0688f Change nodes sort algorithm
Before, the nodes sort algorithm is not stable across different platform, this commit is trying to fix it.
2019-08-13 22:32:36 +09:30
Jeremy Hu 9112f27cbc hange nodes sort algorithm
Before, the nodes sort algorithm is not stable across different platform, this commit is trying to fix it.
2019-08-13 22:31:10 +09:30
Jeremy Hu da6861f6aa Fix build 2019-08-13 07:48:21 +09:30
Jeremy Hu 30fbfad8f9 Change scale factor during subdivision 2019-08-13 07:29:14 +09:30
Jeremy Hu 42f243746e Speed up mesh generation
Cache intermediate combination mesh for generation.
2019-08-12 22:47:11 +09:30
Jeremy Hu 471a324bb3 Add UV island padding 2019-08-11 22:27:02 +09:30
Jeremy Hu 877ef1ff4c Fix build 2019-08-10 23:51:38 +09:30
Jeremy Hu dc33e2f11c Add setTexelSize api for simpleuv 2019-08-10 23:33:49 +09:30
Jeremy Hu dacff70eaa Use Eigen to do vector math on UV 2019-08-10 23:12:08 +09:30
Jeremy Hu b840482050 New improvement on UV unwrapping
Automatically try rotating each island on 5, 15, 20, 25, 30, 35, 40, 45 degrees, and choose the best rotation.
2019-08-10 12:24:47 +09:30
Jeremy Hu 96f676cae0 Improve UV quality
Now there are more pieces been generated during unwrapping but the overall quality is better than before.
2019-08-10 10:31:23 +09:30
Jeremy Hu 13db7ee97b Add check UV 2019-08-10 07:57:26 +09:30
Jeremy Hu a6b9ac7bf1 Scale UV by area ration 2019-08-09 22:03:42 +09:30
Jeremy Hu f5a70dfd9e Segment UV by normal 2019-08-09 19:56:31 +09:30
Jeremy Hu bde3c01da0 Add 3d mouse picker 2019-08-08 20:54:33 +09:30
Jeremy Hu c99ce31755 Add chat room invite link 2019-08-04 21:21:42 +09:30
Jeremy Hu 230a7278d7 Update install notes about MacOS 2019-08-04 14:17:53 +09:30
Jeremy Hu bc3fae63e3 Add deform map
Deform whole part according to a height map, gray(127) represent unchanged, white represent expanding, black represent shrinking.
2019-08-03 19:51:27 +09:30
Jeremy Hu f3f77bc3a8 Fix default button on Windows #41
Thanks to @joshcamas
2019-08-01 07:24:58 +09:30
Jeremy Hu 400fb0d3e9 Update application icon 2019-07-30 19:37:31 +09:30
Jeremy Hu c1eef1378e Update logo 2019-07-30 19:05:40 +09:30
Jeremy Hu e2b221533b Fix example meerkat model and disable debug output in command line 2019-07-29 17:49:01 +09:30
Jeremy Hu 7a12f78984 Fix poser failure because of incorrect translated rig bone name in Simplified Chinese. 2019-07-29 17:33:35 +09:30
Jeremy Hu fe49613d3b Update download link to 1.0.0-beta.22 2019-07-28 06:56:38 +09:30
Jeremy Hu 08fef04080 Update docs 2019-07-28 06:10:30 +09:30
Jeremy Hu 71dd8b40a9 Fix typo 2019-07-27 23:30:25 +09:30
Jeremy Hu 1215f1e457 Update change log for 1.0.0-beta.22 2019-07-27 23:27:46 +09:30
Jeremy Hu a5dc2a0482 Add Dust3D Script Reference to docs 2019-07-27 22:55:13 +09:30
Jeremy Hu 2cd3aee520 Add procedural tree to example menu 2019-07-27 17:21:45 +09:30
Jeremy Hu ef35361c59 Add script panel docs 2019-07-27 16:17:30 +09:30
huxingyi 9396df8a2c Fix missing ssl libraries for windows build
The check for updates function would not work without the missing dlls.
2019-07-26 22:48:42 -07:00
Jeremy Hu 0f411d3bd9 Fix inconsistent base normal when shape is too straight 2019-07-27 14:12:07 +09:30
Jeremy Hu a833232d3c Exposure document.canvas to javascript api 2019-07-27 10:37:07 +09:30
Jeremy Hu 59a59e4fb3 Update base plane docs 2019-07-27 09:50:07 +09:30
Jeremy Hu c863a7e546 Update docs of main interface and parts panel. 2019-07-27 00:08:50 +09:30
Jeremy Hu f0c1d13526 Fix typo and add screenshots for docs 2019-07-26 22:50:16 +09:30
Jeremy Hu 1f34b95776 Fix script variable inputs 2019-07-26 16:35:41 +09:30
Jeremy Hu 9261b7ca5e Add THREE.Vector3 and THREE.Ququaternion from three.js 2019-07-26 14:15:33 +09:30
Jeremy Hu af792a9bdc Add javascript variable inputs: Float, Int, Check, Color, Select 2019-07-26 10:50:32 +09:30
Jeremy Hu cc51fdafe0 Add menu: Check for Updates 2019-07-24 22:11:55 +09:30
Jeremy Hu d1db4029d8 Add tests to ci 2019-07-24 06:05:10 +09:30
Jeremy Hu 0b2653362a Support open/export from command line
Usage example(on MacOS):
    $ ./dust3d.app/Contents/MacOS/dust3d /Users/jeremy/Desktop/test.ds3 -o /Users/jeremy/Desktop/test.glb
    $ echo $?
2019-07-23 19:43:58 +09:30
Jeremy Hu 2c072fc083 Change script editor's text color and add new js api: document.attribute 2019-07-23 07:02:43 +09:30