Commit Graph

32 Commits (dee0be675eadd750edadf2409fae261273240d40)

Author SHA1 Message Date
huxingyi 63cbfa83a5 Support importing another Dust3D document as a part
- Add example model: Backpacker
    To demonstrate the importing function
- Add menu: Reverse
    Reverse selected edges. The direction of edge decide the base normal of
    generated mesh.
- Refactor stroke mesh builder
    Remove recursive calls, more consistant generated result
- Add menu: Import
2020-04-08 08:45:20 +09:30
huxingyi c84bb14ada Fix IBL shader
Implement DDS cubemap file reader to load the Cedar Bridge environment
cubemap file, and render IBL on core profile.
2020-03-18 23:47:09 +09:30
Jeremy Hu 4c3a123086 Add example model: Cat 2020-02-29 21:29:37 +09:30
Jeremy Hu 9e7f39e0d4 Add Spanish and Italian #33
Thanks @azagaya and @MrAlexEsisteGia
2020-02-19 23:38:42 +09:30
azagaya 14051a16b3 Ad es_AR translation.
It may be used for other spanish locales as well.
2020-02-19 09:44:29 -03:00
Jeremy Hu 287d3f4d2e Rewrite rig generator
Before this commit, the body parts are segmented by face connectivity. In this commit, the body parts are segmented by nodes connectivity. Disconnected nodes are combined before segmentation at the endpoint from the nearest neighbor parts’ node.
2020-02-09 20:42:14 +09:30
Jeremy Hu ec80f7bacd Fix quickjs build on win64
Add back script system and fix build error on windows 64 bit system.
2020-01-16 22:37:16 +09:30
Jeremy Hu 2d05583937 Integrate Instant-Meshes
1. Drop windows 32bit support
Add windows 64bit support.

2. Remove Script(quickjs) support
The current integrated quickjs is a very old version which doesn’t support windows 64bit system. In the future, (TODO)WebAssembly should be integrate as plugin system.

3. Integrate Instant-Meshes
Instant-Meshes take less than 1 second on all three platforms.

4. Remove QuadriFlow
Current implementation of QuadriFlow is too slow (take about 5 seconds on the example model) to do realtime remeshing.
2020-01-04 19:59:10 +09:30
Jeremy Hu 7a5065865a Set OpenGL core profile shader as default 2019-12-22 21:37:42 +09:30
Jeremy Hu 8585e8a763 Update screenshot and changelogs 2019-11-03 12:42:58 +09:30
Jeremy Hu 416ada241d Change subdivision algorithm and fix example models 2019-11-02 16:42:05 +09:30
Jeremy Hu 17cb1cb059 Introduce bullet3 to support ragdoll procedural animation 2019-09-22 00:00:27 +09:30
Jeremy Hu 13db7ee97b Add check UV 2019-08-10 07:57:26 +09:30
Jeremy Hu 2cd3aee520 Add procedural tree to example menu 2019-07-27 17:21:45 +09:30
Jeremy Hu 9261b7ca5e Add THREE.Vector3 and THREE.Ququaternion from three.js 2019-07-26 14:15:33 +09:30
Jeremy Hu 6b8afd2493 Update language file name 2019-06-28 22:33:49 +09:30
Jeremy Hu 12fc351068 Add language: zh-CN 2019-06-27 22:14:33 +09:30
Jeremy Hu 5443909c1d Add more built-in example models 2019-06-11 08:17:12 +09:30
Jeremy Hu 5baf139cb6 Add "Uncombined" mode
Uncombined mode could be used to avoid generation of trivial triangles. However, the result will be none-watertight if there is an uncombined mode component.
2019-05-11 21:31:13 +09:30
Jeremy Hu fcfe51a28a Support customizable extruding face: Quad, Pentagon, Hexagon, and Triangle 2019-05-05 22:19:26 +09:30
Jeremy Hu 8c0156bc7a Add example model: Bob
Add menu item "Open Example", open a default example model, called "bob.ds3".
Thanks to reddit user(bvanevery) for proposing this feature.
2019-03-01 22:34:46 +09:30
Jeremy Hu 7eb5a325a0 Add MetalicRoughness material manager
Besides adding the PBR material manager, this commit hide some unnecessary features such as toggle wireframes and toggle normal smooth.
Add a regenerate button to indicate mesh is generating by showing a spiner, user can click this button to regenerate if the final result is not good.
Please note that, we generate the texture map by default compared to before we only generate texture map when user export glTF result. Current uvunwrap library cann't handle bad mesh very well, so it will crash on the wires model.
2018-10-09 10:19:12 +08:00
Jeremy Hu 9c0da8f38f Replace the render with PBR
In this commit, another PBR render, come from website: https://learnopengl.com/PBR, also included as shaders/pbr-joey.frag
2018-10-05 15:37:01 +08:00
Jeremy Hu f7b5fb1c6a Add PBR support
Now can configure metalness and roughness for parts, however, the PBR render isn't enabled in the code currently.
2018-10-04 20:51:01 +08:00
Jeremy Hu 5c25d7d4f8 Move shader from source code to separated folder 2018-10-03 13:52:35 +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 38fb0c022a Add main menu.
- Add about window,
- Add acknowlegements window,
- Add multiple documents support.
2018-04-10 15:59:20 +08:00
Jeremy Hu 8ee0dee3db Remove carve and other no-use deps 2018-04-08 16:05:12 +08:00
Jeremy Hu ec154633be Add logo.
Jezzasoft
Font family: Myriad Pro Bold
Font size: 32px

Dust3D
Font family: Klavika Bold
Font size: 48px

GIMP:
Font color: black
Adjust brightness and Contrast
Contrast: -50
2018-04-01 22:21:47 +08:00
Jeremy Hu 09d21e8935 Add skeleton snapshot support (Prepare for undo/redo feature) 2018-03-26 20:41:46 +08:00
Jeremy Hu d3dfffcc59 Fix turnaround resize 2018-03-14 10:55:59 +08:00
Jeremy Hu 20f4b669bb Add icons 2018-03-13 20:49:24 +08:00