Jeremy Hu
f0783e2a1e
Add fbx support (1/2)
...
Add dependencies for fbx format exporter.
2018-10-17 11:06:45 +08:00
Jeremy Hu
7fa29dcc48
Fix texture generation
2018-10-16 08:04:08 +08:00
Jeremy Hu
a4a734a67b
Repleace the uv unwrapping library with simpleuv
...
https://github.com/huxingyi/simpleuv
2018-10-15 23:02:31 +08:00
Jeremy Hu
a81a5daaca
Not generate texture by default
...
Because of thekla_atlas crash on some meshs, need improve or find a alternative for uv unwrap.
2018-10-11 16:03:23 +08:00
Jeremy Hu
4ea497caf8
Fix unnecessary mesh regeneration while locked
2018-10-11 10:49:44 +08:00
Jeremy Hu
4c6dc1594f
Fix texture cann't unselect
2018-10-11 10:40:35 +08:00
Jeremy Hu
a2770ecd8e
Change texture painter clip expand joint style to round from miter
2018-10-10 22:42:55 +08:00
Jeremy Hu
eeff771a3b
Optimize texture generating time
2018-10-09 21:01:04 +08:00
Jeremy Hu
5f2a46be9c
Avoid unnecessary mesh regeneration while only texture map changed
2018-10-09 17:17:44 +08:00
Jeremy Hu
73d20da08f
Make better result to seamless texture
...
Fix parts vertices' connectivity in the uv unwrapping code.
2018-10-09 15:05:20 +08:00
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
7de9b61de7
Remove generated trivial seam triangles
2018-10-05 23:54: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
ee92472027
Add motion manager
...
Added motions tab, hermite curve editor, quaternion overshoot blend and so on.
2018-10-02 12:59:30 +08:00
Jeremy Hu
e2f44dded7
Fix normal interpolation on export
2018-09-23 11:34:35 +08:00
Jeremy Hu
d6b38f5750
Fix part cache not update when add new node
2018-09-23 10:41:47 +08:00
Jeremy Hu
2156855444
Add show if opengl core profile used in about widget
2018-09-23 09:02:08 +08:00
Jeremy Hu
6ffbdc9c7b
Add mesh seam combine algorithm
...
Not enable by default, should enable the weldEnabled in the SkeletonDocument class.
2018-09-22 18:31:02 +08:00
Jeremy Hu
a419a0fb7a
Fix pose edit
2018-09-21 16:14:37 +08:00
Jeremy Hu
e22a6de6cb
Add poses list view
...
Added Add, modify, delete, copy, and paste poses. The paste menu for nodes not show up also got fixed in this commit.
2018-09-21 15:10:18 +08:00
Jeremy Hu
f163522aa2
Change hotkey 'Tab' to 'E'
...
The Tab key conflicts with system's hot key. Now, should use 'E' to switch the selection from one color to the other.
2018-09-19 00:04:23 +08:00
Jeremy Hu
7341259a48
Fix opengl widget messing up while dock top level changed
2018-09-18 22:23:28 +08:00
Jeremy Hu
d3e28e88f2
Fix mesh render update blocking main UI
2018-09-18 15:20:51 +08:00
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
2f4102cedc
Merge branch 'animation'
2018-09-18 11:25:07 +08:00
Jeremy Hu
c64743f2f2
Fix rig skinning weights, add pose configure UI.
2018-09-18 11:17:35 +08:00
PowPingDone
e2d9fc1c32
Fix Compile Error
2018-09-16 14:23:54 -05:00
Jeremy Hu
8dcabeae72
Fix build
2018-09-14 18:28:03 +08:00
Jeremy Hu
360ed52a5c
Fix build
2018-09-14 18:06:07 +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
a9b379a77a
Add radius lock
2018-09-08 12:20:31 +08:00
Jeremy Hu
1988118179
Add smooth shading toggle
2018-09-07 20:51:33 +08:00
Jeremy Hu
94d63237e7
Add multiple select on parts tree
2018-09-07 18:13:55 +08:00
Jeremy Hu
0bf64eeb2d
Fix build
2018-09-06 23:29:26 +08:00
Jeremy Hu
3c2d4f7480
Add mesh smooth slider
...
This feature could be useful for smooth one component and soften the seam of combination,
This commit also include a crash fix about incorrect use of CGAL.
2018-09-06 23:04:59 +08:00
Jeremy Hu
87b0f70460
Add mtl export with obj
2018-09-05 11:14:36 +08:00
Jeremy Hu
9a3dfb8ff2
Add view rotation
2018-09-03 15:05:05 +08:00
Jeremy Hu
10160285b8
Fix mesh cache
...
When origin changed by user, all parts should be regenerated.
2018-09-02 10:24:39 +08:00
Jeremy Hu
fe401a5f13
Change connect nodes behavor.
...
If hovered target is not editable, create new node instead of connect existed nodes.
2018-09-02 07:48:38 +08:00
Jeremy Hu
6693365543
Fix invalid mesh cache
2018-09-01 18:18:28 +08:00
Jeremy Hu
717c8ef266
Add select by component
2018-09-01 10:17:26 +08:00
Jeremy Hu
b945ab9725
Fix focus lost
2018-09-01 08:47:10 +08:00
Jeremy Hu
80ccbc51bf
Validate points before doing convex hull
2018-09-01 07:17:36 +08:00
Jeremy Hu
7320568d1d
Fix crash on union empty meshs
2018-08-31 23:49:32 +08:00
Jeremy Hu
1bac6c4c53
Fix undo/redo on color picking
2018-08-31 20:19:56 +08:00
Jeremy Hu
df9c8e8e3c
Add wrap button to enable use controlled convex hull generation for part.
...
This feature could be useful to generate complex mesh as part.
2018-08-31 12:54:32 +08:00
Jeremy Hu
6bab154cf5
Fix component remove
2018-08-31 09:40:53 +08:00
Jeremy Hu
134078fc05
Fix direction key conflict with zoom function
2018-08-29 23:42:04 +08:00