Jeremy Hu
191dbacd89
Implement component remesh
2019-12-29 18:22:35 +09:30
Jeremy Hu
dd628b6af7
Integrate QuadriFlow
...
https://github.com/hjwdzh/QuadriFlow
2019-12-28 14:51:59 +09:30
Jeremy Hu
9f55f738f3
Implement marker pen
...
This commit introduce a new feature: Marker Pen
It allow user to quick draw a contour of the side view and got nodes automatically generated
2019-12-25 08:54:49 +09:30
Jeremy Hu
7a5065865a
Set OpenGL core profile shader as default
2019-12-22 21:37:42 +09:30
Jeremy Hu
e394e3fa2a
Hide regenerate button on export widget
...
There is no need to regenerate as the result mostly is the same
2019-12-22 13:30:10 +09:30
Jeremy Hu
d185f7e07a
Remove disabled and cut face parts from final result.
2019-12-21 16:33:35 +09:30
Jeremy Hu
7aaac5af07
Implement image skeleton extractor
2019-12-21 16:20:36 +09:30
Jeremy Hu
d218789d83
Add mesh recombiner optional edge loop optimization
...
This optimization would make two combining edge loops move closer.
The vertex postion been updated, this will affect the quad recovery and triangle source resolver, so this optimization is been commented out currently.
2019-12-18 23:46:52 +09:30
Jeremy Hu
745c96eeb9
Include error mesh in final result
2019-12-15 12:52:24 +09:30
Jeremy Hu
40a6968599
Enable three nodes branch on gridded part
2019-12-15 11:44:04 +09:30
Jeremy Hu
0f7735e93a
Fix build
2019-12-15 09:27:51 +09:30
Jeremy Hu
22373b1ed7
Implement grid mesh builder
2019-12-14 22:58:14 +09:30
Jeremy Hu
839e081d10
Fix pose editor
2019-11-09 17:45:49 +09:30
Jeremy Hu
9f12f03d58
Fix interpolation for motion generation
2019-11-08 23:35:27 +09:30
Jeremy Hu
e2ca6ec5fa
Fix countershaded configure
2019-11-08 17:55:50 +09:30
Jeremy Hu
59fc43f900
Fix countershading mirror
2019-11-07 23:31:03 +09:30
Jeremy Hu
5c34ae61ce
Add part countershading setting
...
Countershaded parts will be belly white colored.
2019-11-07 21:38:47 +09:30
Jeremy Hu
d5d46b8337
Remove remote IO protocol
2019-11-07 08:34:23 +09:30
Jeremy Hu
6b3fe2b04b
Update motion interpolation editor
2019-11-06 20:20:00 +09:30
Jeremy Hu
f351cc28e3
Fix color solubility setting for texture generation
2019-11-04 08:25:17 +09:30
Jeremy Hu
657d93ca99
Fix texture rotation
2019-11-04 07:26:30 +09:30
Jeremy Hu
ac61cee164
Add pixmap cache during texture generator
2019-11-04 00:01:13 +09:30
Jeremy Hu
67881213f4
Fix transparent setting for color texture
2019-11-03 21:20:00 +09:30
Jeremy Hu
0c7cde80b2
Fix default normal texture
2019-11-03 20:43:52 +09:30
Jeremy Hu
8585e8a763
Update screenshot and changelogs
2019-11-03 12:42:58 +09:30
Jeremy Hu
0abaa707f5
Add tile scale setting for texture generator
2019-11-03 09:45:20 +09:30
Jeremy Hu
9a587fc895
Fix color copy
2019-11-02 18:51:29 +09:30
Jeremy Hu
416ada241d
Change subdivision algorithm and fix example models
2019-11-02 16:42:05 +09:30
Jeremy Hu
1d3c4142d4
Support transparent texture
...
Add alpha channel support for color texture. The transparency is supported in render preview, export texture preview and glTF exporter.
2019-11-02 12:13:23 +09:30
Jeremy Hu
9e1e632ae7
Remove undo hash check
2019-10-26 10:29:24 +09:30
Jeremy Hu
29f988aa7b
Add main window menu for auto colorize
2019-10-26 07:47:31 +09:30
Jeremy Hu
db9d8c04c0
Add auto colorize from reference image
...
Thanks @enzyme69 for the idea.
2019-10-25 23:41:17 +09:30
Jeremy Hu
12a95f2e8e
Fix undo on part tree widget
2019-10-21 21:51:57 +09:30
Jeremy Hu
c084e28676
Update widget icon and preview image size
2019-10-20 08:28:41 +09:30
Jeremy Hu
82df4d5a87
Add model rotation toggle button
2019-10-19 22:44:36 +09:30
Jeremy Hu
b7cb4ed18a
Add mini buttons to set rotation degrees
2019-10-19 12:38:59 +09:30
Jeremy Hu
dd371387a4
Add shortcut key O
...
Toggle render flat shading
2019-10-19 11:37:23 +09:30
Jeremy Hu
8e7d1ceb05
Add shortcut key C
...
Toggle part chamfer state
2019-10-19 10:16:00 +09:30
Jeremy Hu
b6b5e67fad
Change key H behaviour
...
Before: only toggle hovered part's visibility
After: when there is no part been hovered, all nodes will be toggled
2019-10-19 10:01:27 +09:30
Jeremy Hu
c7ba9ef1a9
Add shortcut key F
...
Bring the part widget of current hovered part to visible area
2019-10-19 08:21:23 +09:30
Jeremy Hu
2b70f34d16
Auto scroll to selected part widget
2019-10-19 08:02:24 +09:30
Jeremy Hu
e370bd5392
Add auto scroll to new added component
2019-10-18 23:50:55 +09:30
Jeremy Hu
74f5a081e3
Support rigging for uncombined mesh.
2019-10-03 08:21:38 +09:30
Jeremy Hu
00c05e8cb0
Add triangle islands link algorithm
2019-09-30 23:58:04 +09:30
Jeremy Hu
c79ba9ee7c
Fix texture generation
2019-09-22 13:25:43 +09:30
Jeremy Hu
a5bfe83cea
Add authoring tool's version info to .obj file #42
...
Thanks @lewislepton for the suggestion.
2019-09-22 07:42:11 +09:30
Jeremy Hu
17cb1cb059
Introduce bullet3 to support ragdoll procedural animation
2019-09-22 00:00:27 +09:30
Jeremy Hu
ee94913c62
Limit the zoom size of the rendered widget
2019-08-21 08:29:50 +09:30
Jeremy Hu
c4da15eb9e
Add batch color paste #36
...
Thanks @SatishGodaPearl for the suggestion.
Closes #36
2019-08-20 23:59:08 +09:30
Jeremy Hu
e725bdba8c
Fix angle calculation
2019-08-19 21:09:21 +09:30
Jeremy Hu
85f1251082
Fix hollow thickness UI
2019-08-18 22:48:55 +09:30
Jeremy Hu
9ed4c29b39
Add hollow thickness parameter
2019-08-18 21:32:39 +09:30
Jeremy Hu
0077986201
Adjust brush gradient fill factor
2019-08-18 14:51:10 +09:30
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
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
da6861f6aa
Fix build
2019-08-13 07:48:21 +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
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
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
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
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
2cd3aee520
Add procedural tree to example menu
2019-07-27 17:21:45 +09:30
Jeremy Hu
a833232d3c
Exposure document.canvas to javascript api
2019-07-27 10:37:07 +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
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
Jeremy Hu
fd7dbb2024
Optimize cut face endpoints sort algorithm
2019-07-22 18:24:55 +09:30
Jeremy Hu
54b1c95270
document.createVariable return float instead of string
2019-07-22 17:32:35 +09:30
huxingyi
f2cc4a11e1
Fix quickjs windows build
2019-07-20 04:57:26 -07:00
Jeremy Hu
63d92e7682
Add JavaScript support
...
This commit introduce JavaScript as nodes generation script, to procedurally generate input nodes, which usually should draw by user on the canvas.
Powered by QuickJS (https://bellard.org/quickjs/ )
2019-07-20 14:04:53 +09:30
Jeremy Hu
aec5acd793
Improve intermediate nodes generation
...
Added Intermediates nodes sometimes will make the whole part’s mesh failed to generate. This commit add a fallback option, when mesh failed to generate, the generator will try again without the intermediate nodes added.
This feature is inspired from Nico J. Dolloso’s model (https://twitter.com/nicodoll ).
2019-07-20 12:12:24 +09:30
Jeremy Hu
d38737e2cb
Fix mesh preview flashback
...
Before this commit, outdated textured preview will override the updated untextured preview. From user's perspective, sometimes, the mesh preview flashback for a short time span, although it will finally been updated to the latest.
2019-07-10 21:39:46 +09:30
Jeremy HU
ab5e53fb54
Fix build error on Raspberry PI 3 Model B+
2019-07-09 18:12:08 +09:30
Jeremy Hu
31d627bca9
Support user defined cut face per each node
...
Before this commit, the user defined cut face can only be set for whole part. Now each node could been configured a separate cut face and rotation.
2019-07-09 08:06:07 +09:30
Jeremy Hu
7c66e6b5d0
Sort cut face list by x position of center
2019-07-08 07:33:39 +09:30
Jeremy Hu
58b6c7d1d9
Fix build
2019-07-07 20:40:24 +09:30
Jeremy Hu
8d315e3c64
Optimize intermediate nodes cut normal.
...
Before this commit, the cut normal of intermediate nodes doesn't consider the original nodes' travesal direction. This will cause self intersection in some cases.
2019-07-07 20:25:42 +09:30
Jeremy Hu
eb91a8a16c
Prepare for cut face offset modifier
2019-07-07 15:57:58 +09:30
Jeremy Hu
820aa90406
Rename Vertex to ShaderVertex
...
Fix crash on hiding nodes after removing node
2019-07-04 19:06:50 +09:30
Jeremy Hu
ad244c4659
Save nodes cut faces
2019-07-03 08:37:46 +09:30
Jeremy Hu
713935adb5
Save cut face transforms
2019-07-03 07:19:18 +09:30
Jeremy Hu
969a25b697
Fix crash in cut face nodes ordering
...
The comparison function of std::sort requires only return true when first is less than second, this is the rule of "strict weak ordering".
2019-06-29 19:12:45 +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
0543e8a0be
Fix default flat shading
2019-06-26 21:34:10 +09:30
Jeremy Hu
1d04e1771e
Disable three nodes branch by default
...
Three nodes branch wrapping is very easy to fail, so disable by default.
2019-06-26 21:05:56 +09:30
Jeremy Hu
4689ed163a
Sort material, pose, and motion list by name
2019-06-26 07:24:22 +09:30
Jeremy Hu
7a33fa2531
Remove neck direction match
...
The neck direction match is introduced for matching the human pose to a animal pose, however, current implementation will cause the neck pose not work as edited in pose editor.
2019-06-25 22:13:57 +09:30
Jeremy Hu
a945612718
Fix part mesh generation variation
...
Before this commit, the node id and edge id changed when reload from file, then caused the uuid changing and affected the node processing order during mesh generation.
2019-06-25 21:07:17 +09:30
Jeremy Hu
83cb6383c1
Add new base normal option: Average
...
When this option enabled, the mesh generator will average all the base normals of nodes with radius as a weight.
2019-06-25 08:14:04 +09:30
Jeremy Hu
516df9a1b7
Add new pose setting: yTranslationScale
...
Normally, when pose been generated, foot is always been pulling to the ground by a y-translation. This setting could be used to scale the y-translation. It's usefull for birds fly kind of motion.
2019-06-19 22:27:38 +09:30
Jeremy Hu
3e29528ee0
Fix pose preview flicker
2019-06-19 06:36:11 +09:30
Jeremy Hu
e5f45eef83
Fix pose preview
2019-06-18 08:16:59 +09:30
Jeremy Hu
56ddc1f8ee
Add side visibility toggle button to pose editor
2019-06-17 22:19:08 +09:30
Jeremy Hu
bc565923aa
Add background blur adjustment slider to pose editor
2019-06-16 18:15:03 +09:30
Jeremy Hu
629c02adbe
Fix multiple windows crash when preference change
2019-06-12 21:03:38 +09:30
Jeremy Hu
5443909c1d
Add more built-in example models
2019-06-11 08:17:12 +09:30
Jeremy Hu
307965e3e8
Fix motion generator
2019-06-10 23:31:06 +09:30
Jeremy Hu
e145793af0
Fix neck direction match
2019-06-10 23:11:40 +09:30
Jeremy Hu
be4f9fd014
Fix last spine position
2019-06-10 22:27:51 +09:30
Jeremy Hu
ec1eace6bb
Match the missing bone parameters
2019-06-10 18:55:35 +09:30
Jeremy Hu
033ea5f53e
Change the spine bone naming convention
...
When there is tail bone, the spine bone start with "Spine01" and "Spine02", this is to make the spine bone name match with none-tail bones. Why "Spine01"? Because the bone chain is ordered by name, "Spine01" and "Spine02" come before "Spine1".
2019-06-10 16:12:08 +09:30
Jeremy Hu
0b18da76ea
Add bone name converter but not enable yet.
2019-06-10 15:49:35 +09:30
Jeremy Hu
6ca06f4e80
Fix rig
...
Fix the left and right limbs pairing algorithm
2019-06-10 10:09:30 +09:30
Jeremy Hu
de88930acb
Adjust smooth threshold of animation generation
2019-06-09 20:40:24 +09:30
Jeremy Hu
c568d18218
Change the behavior of multiple selected nodes scaling
...
Before this commit, the scaling only happen on one profile, this commit force the scaling on front view and side view at the same time.
2019-06-09 14:28:09 +09:30
Jeremy Hu
fac78b5e56
Fix preference color setting
2019-06-08 17:27:13 +09:30
Jeremy Hu
4955e47d76
Update pose editor node radius
2019-06-07 08:09:46 +09:30
Jeremy Hu
026059960f
Fix preferences color reset
2019-06-07 06:41:55 +09:30
Jeremy Hu
54b5a9ef5e
Fix one frame pose duration issue in motion editor
...
This commit also remove height above ground settings.
2019-06-06 23:48:48 +09:30
Jeremy Hu
0cb574b6ea
Fix user defined cut face flipped normal
2019-06-05 21:52:34 +09:30
Jeremy Hu
1bb14a82a6
Fix PBR material texture glitches
2019-06-02 10:48:03 +09:30
Jeremy Hu
292d2ce507
Add none endpoint cut face (ring)
2019-06-01 23:45:57 +09:30
Jeremy Hu
4ab76b1d76
Add preferences setting and change the behavior of shift key on scale radius
2019-06-01 22:42:53 +09:30
Jeremy Hu
7eef3f9455
Add back the smooth shading toggle menu
...
As @Toshiwoz suggested, there is still a need for flat shading.
2019-05-30 19:58:55 +09:30
Jeremy Hu
938b6d5d6f
Add color solubility setting
...
If one part configured color solubility, the generated color texture seam between the neighbor parts will be gradient filled using this part's color with the specified solubility.
Demo: https://twitter.com/jeremyhu2016/status/1132159910815227904
2019-05-26 08:54:24 +09:30
Jeremy Hu
bb19489ee1
Add base plane constrain settings
...
Mesh layout and thickness adjustment are depend on base plane calculation. In this build, the base plane calculation could be limited to front plane, side plane, and so on, compare to without any limitation in previous implementation.
2019-05-20 23:08:01 +09:30
Jeremy Hu
b09df89da2
Fix build
2019-05-19 13:08:20 +09:30
Jeremy Hu
8f5368a43f
Add user defined cut face
...
Extruding shape is totally customizable now, it's not limit to predefined shapes.
2019-05-19 12:51:38 +09:30
Jeremy Hu
fc341986c0
Fix texture glitchs
2019-05-12 17:45:07 +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
d121632a98
Fix triangle extruding face center position.
2019-05-05 22:58:22 +09:30
Jeremy Hu
fcfe51a28a
Support customizable extruding face: Quad, Pentagon, Hexagon, and Triangle
2019-05-05 22:19:26 +09:30
Jeremy Hu
0a6736b9d2
Change RemoteIo bind ip from local host to any
...
This would allow other software to contact with Dust3D without limit on the same machine, however, the user still need to enable it by command line "-remoteio".
2019-03-31 09:57:18 +09:30
Jeremy Hu
ea63a5ecd0
Fix missing library on windows
2019-03-31 06:45:52 +09:30
Jeremy Hu
278ac68ea6
Add Remote IO protocol specification
...
To enable Remote IO, run Dust3D with command line options: -remoteio
See details: http://docs.dust3d.org/en/latest/remote_io_protocol.html
2019-03-23 00:03:17 +09:30
Jeremy Hu
b8c3557d9c
Implement more commands for Remote IO (2)
2019-03-20 20:34:37 +09:30
Jeremy Hu
56312d0034
Implement more commands for Remote IO
2019-03-18 08:34:37 +09:30
Jeremy Hu
283df87c51
Implement notification of Remote IO
2019-03-17 23:34:12 +09:30
Jeremy Hu
ceeccc7211
Start implementation of Remote IO
...
Finished server creation, implemented two commands: listwindow, selectwindow
Ideally, all the UI should be possible manipulated by remote IO, a local TCP/IP connection, this could be useful to make a VR front end for Dust3D.
2019-03-17 15:53:39 +09:30
Jeremy Hu
a1249f5fcb
Fix material preview.
2019-03-16 15:32:45 +09:30
Jeremy Hu
bc3109def9
Prepare 1.0.0-beta.16
2019-03-10 11:26:54 +09:30
Jeremy Hu
e2f829d3ce
Make chamfer tool as a separate tool
...
Remove cut template customiziation.
2019-03-10 07:40:39 +09:30
Jeremy Hu
26353d530a
Support onion skin in pose editor
...
Also add more buttons to speed up the pose editing.
Thanks @Toshiwoz for proposing this feature.
2019-03-03 09:35:13 +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
cbaccb0116
Add cut face chamfer tool.
2019-02-27 22:29:03 +09:30
Jeremy Hu
86978d0ac3
Add new cut face type: triangle
2019-02-27 08:25:29 +09:30
Jeremy Hu
2b44576f22
Fix cut face base normal.
2019-02-26 22:54:58 +09:30
Jeremy Hu
02bb32391e
Add cut face customizing.
...
This commit introduce a new tool, allow user to customize the face template for automatical extruding.
2019-02-24 23:12:23 +09:30
Jeremy Hu
7491679425
Remove smooth operation from component mesh.
2019-02-23 22:40:11 +09:30
Jeremy Hu
160d2aae5e
Show part preview in red color when there is self intersection.
2019-02-23 13:36:24 +09:30
Jeremy Hu
b86837b4b0
Add shortcut 'W' for toggling wireframe.
2019-02-23 10:11:56 +09:30
Jeremy Hu
d866e0147b
Add cut rotation tool
...
Cut rotation tool allow user to adjust the generated face's rotation.
Convex hull wrapping tool removed in this commit.
2019-02-22 08:18:15 +09:30
Jeremy Hu
de133b0838
Hide whole model rotating buttons
2019-02-21 21:54:45 +09:30
Jeremy Hu
4922c669ba
Add wireframe toggle back
2019-02-21 21:49:26 +09:30
Jeremy Hu
8053d3c3fb
Improve the quality of mesh parts bridging
...
First, split parts by combine mode, then sub group by color name, those parts which following in the same sub group will be bridged together.
2019-02-21 08:27:15 +09:30
Jeremy Hu
3e1fde4260
Fix build
2019-02-19 20:51:12 +09:30
Jeremy Hu
4bdbdd496a
Introduce new mesh generator: nodemesh
...
Remove meshlite, introduce nodemesh: https://github.com/huxingyi/nodemesh
Now, all the codebase move to C++, no rust language dependency.
2019-02-18 22:27:18 +09:30
Jeremy Hu
b65205a48c
Add tool button tips especially when failed to generate mesh #20
...
This commit add tips for buttons, to show what the function of the button.
Also, fixed a issue, there was no useful infos to tell user when the mesh was failed to generate, now user should see a warning icon with tips to show why the preview disappear.
Thanks the following contributors:
@RubenSandwich <https://github.com/RubenSandwich >
boynet <https://dust3d.discourse.group/u/boynet >
fornclake <https://www.reddit.com/user/fornclake >
2019-01-07 22:33:42 +09:30
Jeremy Hu
3f3134cc0e
Fix typo
2018-12-29 09:32:53 +09:30
Jeremy Hu
ef82f2cc6f
Change background opacity of pose editor
...
When one pose consists of multiple frames, each frame will be hardly see when the opacity is 0.25, this commit change the opacity to 0.5 in pose editor, however, leave it as 0.25 in main modeling interface.
2018-12-16 14:59:22 +09:30
Jeremy Hu
ff65a24f32
Fix node scaling with keyboard on add mode
...
Node scaling only worked with mouse on add mode before, now should be also working with keyboard.
2018-12-15 23:11:02 +09:30
Jeremy Hu
7fe87b2dee
Fix double click selection in pose editor
...
Double click should select connected items only, not select all.
2018-12-11 21:25:55 +09:30
Jeremy Hu
f19771fbb1
Fix minimum node radius
2018-12-09 12:20:15 +09:30
Jeremy Hu
251e1f5a6e
Fix toolbar icon size #19
2018-12-03 22:56:20 +09:30
Jeremy Hu
08b20e4d5b
Fit right sub widget size #19
2018-12-02 23:16:04 +09:30
Jeremy Hu
5704525505
Fit toolbar button size #19
2018-12-02 22:02:34 +09:30
Jeremy Hu
ba218b7168
Make the font default size #19
2018-12-02 08:24:04 +09:30
Jeremy Hu
ebe97adcde
Export metallic, roughness and ambient occlusion map to fbx file
2018-11-28 12:30:03 +09:30
Jeremy Hu
0bee294c7f
Put base name into texture image name as prefix
2018-11-28 11:19:22 +09:30
Jeremy Hu
b60b9d8691
Embed textures(Color/Normal) to FBX
2018-11-28 00:14:56 +09:30
Jeremy Hu
1866e8fbda
Export normal texture and ORM texture to glTF
2018-11-18 08:16:26 +08:00
Jeremy Hu
aea7b0cb74
Switch the order of ORM combined texture
...
Red: Ambient Occlusion
Green: Roughness
Blue: Metallic
2018-11-18 07:30:26 +08:00
Jeremy Hu
f6bafdb720
Fix typo
2018-11-18 07:02:12 +08:00
Jeremy Hu
538528d103
Fix normal tangent
...
Some tangents did not get calculate, this cause some uncolored triangles show in the rendered model, this commit fixed it.
2018-11-17 23:42:46 +08:00
Jeremy Hu
1853e45ea4
Remove model preview from export widget
2018-11-17 17:10:08 +08:00
Jeremy Hu
e39acc9f25
Add normal map preview
2018-11-16 13:55:52 +08:00
Jeremy Hu
69d97c7780
Fix build
2018-11-16 07:13:15 +08:00
Jeremy Hu
d48bea6248
Merge branch 'master' of https://github.com/huxingyi/dust3d
2018-11-16 07:01:53 +08:00
Jeremy Hu
7f5a47c074
Fix merged texture image
...
The merged texture image of metalness, roughness and ambient occlusion did not get saved in the document class, this commit fixed it.
2018-11-16 06:56:24 +08:00
huxingyi
9b56ce2dd3
Fix wheel event on windows
...
The mouse wheel event got triggered on multiple widgets at the same time, this will cause the rendered model been wrongly zoomed while the intention is resizing the nodes.
2018-11-15 22:33:56 +08:00
huxingyi
889c11ecef
Add new combine mode: Inflation
...
This mode turn the component to functional nodes instead of mesh construction. The mesh generated before this component will be proportional deformed.
2018-11-15 22:01:20 +08:00
huxingyi
ab97615bea
Add "combineMode" configuration for component to replace the "inverse" attribute
...
Currently, only support "Normal" and "Inversion" modes, "Normal" means normal mesh union, "Inversion" means mesh diff, it behaves like subtract itself from the previous mesh.
2018-11-14 21:21:45 +08:00
huxingyi
753dfe9d8f
Make the inverted component more obvious
...
Mark inverted components as blue to differentiate with normal components.
2018-11-14 11:11:31 +08:00
Jeremy Hu
1f8f7913a7
Improve mesh generation
...
Insert intermediate nodes automatically between nodes of long edges to avoid generating tiny area but long edge triangles.
2018-11-12 07:21:34 +08:00
Jeremy Hu
39cfe6537d
Speed up document saving
...
If there are images need to be saved, such as the model turnaround reference sheet and texture images, the document saving may be slow because of image encoding to png, now, all the images are pre encoded when the first load, so the document saving could be speed up by avoid the cost of image encoding.
2018-11-11 21:08:13 +08:00
Jeremy Hu
dff8e40ef8
Fix PBR material preview
...
The metallic and roughness texture not show up before, now should be ok if material is been set properly, however, export not done yet.
2018-11-11 17:13:46 +08:00
Jeremy Hu
4416c05bb5
Export translation to FBX
2018-11-11 11:14:49 +08:00
Jeremy Hu
9231ce9162
Fix pose setting: Height above ground level.
...
Root bone will have heightAboveGroundLevel parameter to indicate the distance between ground and foot. It's a relative value, comparing with the distance of the first spine head position and foot.
2018-11-11 00:05:49 +08:00
Jeremy Hu
205a9f512f
Fix paste shortcut for pose editor
2018-11-10 08:21:07 +08:00
Jeremy Hu
69b0fbd68d
Add switch chain side action for pose editor
...
It's very easy to place the wrong side limbs on the pose graphic editor, especially when the reference sheet is not clear. Switch chain side will switch the YZ for the paired chain which contains the selected node. For example, if you select one node from LeftLimb1, and choose the switch chain side from context menu, all the bones, has the name pattern LeftLimb1_Joint* and RightLimb1_Joint*, the YZ of origin will be swapped.
2018-11-10 07:56:58 +08:00
Jeremy Hu
ddc837b47c
Smooth first and last frame of pose sheet
2018-11-10 07:06:27 +08:00
Jeremy Hu
8a2298bfcb
Smooth pose sheet
...
Simple smooth algorithm: average the frame transform with neiboring frames.
2018-11-09 23:42:20 +08:00
Jeremy Hu
bbe36fde68
Change dialog save button action
...
Don't close dialog when save button got clicked
2018-11-09 23:07:26 +08:00
Jeremy Hu
fff39b0835
Add multiple frames per pose support
...
Usually one pose consists of one frame, however, sometimes multiple frames per one reference sheet for a serial of action could be very useful, such as a sprite sheet. Multiple frames per pose is different with one motion, one motion could contains multiple poses. Currently, the duration of one frame is fixed to 0.042s, it's based on the 24 frames per second calculation.
2018-11-09 11:20:48 +08:00
Jeremy Hu
a551995235
Fix inconsistent result between pose editor preview and motion generation
...
Each bone's head and tail positions are been kept in the pose parameters, that means there are repeated info and we can resolve the bone's head position from parent's tail position if there isn't any positions info been kept for one bone.
2018-11-08 16:01:25 +08:00
Jeremy Hu
f0379740ca
Fix wrong middle bone index
2018-11-07 23:46:26 +08:00
Jeremy Hu
73d4676675
Make spine bones in the middle of bind vertices vertically or horizontally
2018-11-07 23:12:40 +08:00
Jeremy Hu
01b164cdae
Fit control bones in pose canvas
...
Add scale factor to make all the bones fit in the canvas of pose editor
2018-11-07 22:48:24 +08:00