Commit Graph

198 Commits (9274da1bab65ea3ebc0ff3c51bed9531cf73611e)

Author SHA1 Message Date
Jeremy Hu 1ab3d16bd4 Fix parts render crash
Before, app crash on some machines as been reported in #15 and #16, and cannot easily be reproduced on other machines, such as a virtual box guest system, which make it very hard to trace the root cause.
Now, the offline render is totally removed from the code base, instead of offline-render to image then show the image, we can directly show the parts model in the parts tree using normal opengl widget, and the result looks better than before.
2018-09-18 14:22:29 +08:00
Jeremy Hu c64743f2f2 Fix rig skinning weights, add pose configure UI. 2018-09-18 11:17:35 +08:00
Jeremy Hu 48bc8df5c3 Add auto-rig
This is the second version of auto-rig, differing from the first version, the user should pick up a rig type, unless no rig will be generated. Currently, only supports Tetrapod without tail. Export as glTF format to test this feature.

This commit also achive better quality quads than before.
2018-09-14 17:45:05 +08:00
Jeremy Hu 623dda6ecf Replace parts list with parts tree and remove immature features 2018-08-27 16:50:40 +08:00
Jeremy Hu 5001453ce3 Add joint constraint 2018-06-30 18:46:23 +08:00
Jeremy Hu 289fe1fbf4 Add experiment walk animation clip generation.
- Fix intermediate bones remove;
- Add locomotion controller;
- Add head, tail node marks for animation.
2018-06-28 21:17:21 +08:00
Jeremy Hu aeca656c76 Remove trivial bones
- Fix intermediate bone weights
- Remove trivial bones
- Introduce bullet physics engine
2018-06-19 23:49:25 +08:00
Jeremy Hu e26095981b Add rotate operation to menu
- Add rotate 90/-90 degree to facilitate nodes editing
- Enable docs.dust3d.org domain
2018-06-15 17:58:46 +08:00
Jeremy Hu d05c43d714 Add animation clip: Idle
This is an experiment test of animation clip generation. Mark leg and spine nodes to enable it or check it with the latest mosquito.ds3 example;
Skeleton offset is been fixed in this commit.
2018-06-15 13:34:41 +08:00
Jeremy Hu 0829ef818a Add animation clip generator
- Fix skeleton weights
- Add rig controller
- Add animation clip generator
- Implement basic experiment animation(squat)
2018-06-11 22:24:25 +08:00
Jeremy Hu c4505ba788 Add intermediate bone remover.
- Remove intermediate bones when user marked leg nodes
- Add flags to toggle gltf comment and normal output
- Fix face normal
- Adjust the skeleton bone mesh radius
2018-06-01 12:38:16 +08:00
Jeremy Hu 6c10ad1ee2 Add node mark.
User can mark selected nodes as specified body location explictly. This will help the rigging step generating more reasonable result, also prepared for the future animation clip generation.
2018-05-30 09:51:38 +08:00
Jeremy Hu df98193091 Add end-effector pulling (Shift + Left Button on end-effector).
- Implement CCD (Cyclic Coordinate Descent) IK (Inverse Kinematics) algorithm
- Add end-effector pulling operation, this would be useful when you want to pull a group of nodes in line to align straight or mimic curl.
2018-05-24 09:44:40 +08:00
huxingyi 8a6a2a6640 Fix windows build 2018-05-10 03:21:24 -07:00
Jeremy Hu 078543b80e Add ambient occlusion baker.
- Add @ands 's lightmapper to generate ambient occlusion image.
- Refactor parts list UI.
- Add interpolated normal to .gltf export result.
- Remove bones preview and texture preview window(Integrated to export preview UI).
- Add export preview UI.
2018-05-10 17:16:22 +08:00
huxingyi d7fb742d7b Fix build 2018-05-07 10:16:58 -07:00
Jeremy Hu dc33bfd0a3 Fix build 2018-05-08 00:27:11 +08:00
Jeremy Hu 1376af237b Add auto uv unwrapping.
Use https://github.com/Thekla/thekla_atlas to generate the texture.
This commit still have some issues, some faces not satisfy thekla_atlas in some cases.

- Add texture preview widget.
- Fix single node black color issue.
- Export texture in .gltf file.
- Fix node order random issue in mesh generation.
2018-05-08 00:08:19 +08:00
Jeremy Hu 3fef6c4463 Add auto-generated skeleton(skinned mesh) and glTF exporter.
And added a CONTRIBUTORS file to list the users who have done great work to help Dust3D become better, thank you!

@Alistair401
@hdu
@shadowndacorner
@Skullfurious
@RSDuck
@xtvjxk123456
@Zireael07
@glasyalabolas
@dlpatri

PS. please feel free to make a pull request or email me to change the ID or contact info listed in the CONTRIBUTORS file, and if you are mistakenly been missed in the file, please MUST edit this file and make a PR or email me.
2018-04-30 19:31:09 +08:00
Jeremy Hu 331051879d Add parts color configure and round-able configure.
- Add End-Round Type Toggle to Parts List Panel (Thanks @Alistair401 for proposing this feature).
- Add Parts Color Picker to Parts List Panel.
- Add Parts List Panel Context Menu to facilitate multiple parts visible toggle.
- Add Material Export to Export Menu.
- Prepare the source code for the auto skeleton exporter and uv unwrapper.
2018-04-26 10:23:22 +08:00
huxingyi 1b38833823 Add Ubuntu 16.04.4 LTS build example 2018-04-21 16:13:00 +08:00
Jeremy Hu c61665c8a4 Add reference guide link to help menu 2018-04-18 21:18:10 +08:00
Jeremy Hu 486c313d7f Change version from alpha1 to unversioned for test build 2018-04-18 11:42:45 +08:00
Jeremy Hu ce41e654fb Add thickness parameter for part.
It's showed as mini button on part list widget, this parameter can be use to make fish body like mesh.
2018-04-17 21:13:32 +08:00
huxingyi c68f88ff1e Fix appveyor 2018-04-13 22:04:41 -07:00
huxingyi 70f9f7c003 Fix appveyor 2018-04-13 21:16:29 -07:00
Jeremy Hu 2d3cdd8f60 Add build docs for mac 2018-04-13 22:54:05 +08:00
huxingyi 6bd08068b2 Fix qt pro for windows 2018-04-13 06:03:42 -07:00
Jeremy Hu 2d9f64ebc2 Collect version info macros in one header file 2018-04-11 16:34:51 +08:00
Jeremy Hu 38fb0c022a Add main menu.
- Add about window,
- Add acknowlegements window,
- Add multiple documents support.
2018-04-10 15:59:20 +08:00
Jeremy Hu f47148a537 Cleanup and reset initial render angle 2018-04-09 23:10:23 +08:00
Jeremy Hu 8ee0dee3db Remove carve and other no-use deps 2018-04-08 16:05:12 +08:00
Jeremy Hu af451bd5ab Introduce new UI,
Introduce part list,
Add log viewer,
Add QtAwesome icons.
2018-04-07 16:44:39 +08:00
Jeremy Hu b99e0db0b2 Seperate the shader program and mesh binder to seperated source files 2018-04-02 14:05:06 +08:00
Jeremy Hu f48d6bd5f5 Seperate mesh union as single source file 2018-03-29 17:10:59 +08:00
Jeremy Hu 09d21e8935 Add skeleton snapshot support (Prepare for undo/redo feature) 2018-03-26 20:41:46 +08:00
Jeremy Hu 4c9767835f Export working model as obj 2018-03-20 15:56:49 +08:00
Jeremy Hu de0fa135fb Add CGAL library to compare with Carve 2018-03-18 07:43:04 +08:00
Jeremy Hu 425962921e Add carve library to support better mesh boolean operations 2018-03-17 17:21:17 +08:00
Jeremy Hu ff19efa188 Add project file(.ds3) reader and writer 2018-03-15 23:40:30 +08:00
Jeremy Hu 130ffdae79 Add parts loader and saver 2018-03-14 23:22:00 +08:00
Jeremy Hu 5dbff8b9e3 Add styled tab header 2018-03-14 14:43:16 +08:00
Jeremy Hu 20f4b669bb Add icons 2018-03-13 20:49:24 +08:00
Jeremy Hu ce20e49883 Add turnaround image loader 2018-03-13 14:39:36 +08:00
Jeremy Hu 5b597b0f0c Add skeleton to mesh generation(finished other side) 2018-03-12 17:41:16 +08:00
Jeremy Hu d3e82ea306 Add skeleton edit UI 2018-03-12 00:02:15 +08:00
Jeremy Hu 283e76b1b6 Add base UI layout 2018-03-11 11:18:24 +08:00
Jeremy Hu 7d8e8c4bc5 Test QOpenGLWidget example with meshlite 2018-03-10 14:57:14 +08:00