Commit Graph

25 Commits (9309afd5876a04b9bfae3cf4346ad43fd323c21d)

Author SHA1 Message Date
huxingyi 484f6aaaba Introduce texture painting 2020-11-18 00:01:51 +09:30
huxingyi 7a52133846 Introduce procedural motion generator
Removed pose editor and motion timeline editor.
Introduced simple procedural motion generator (Added experiment walk cycle).
2020-11-09 20:16:06 +09:30
huxingyi d6f6fb6cdf Add metallic and roughness settings for part
Part deform painter got removed. Experiment color painter introduced, but not enabled yet.
2020-10-18 14:33:15 +09:30
huxingyi 37f6545de4 Update edge detection threshold for toon shaders 2020-10-17 10:40:08 +09:30
Jeremy Hu 76aa261d56 Fix shader camera pos [skip ci] 2020-04-13 22:55:04 +09:30
huxingyi 62e411d4e5 Add a toon shading option box to Preferences Widget [skip ci] 2020-04-08 19:39:16 +09:30
Jeremy Hu 55e657852c Add menu: Export as Image
New feature: Exporting rendered model as png.
A offscreen render been introduced for generating normal and depth maps, which are been generated for toon shader edge detection.
2020-04-02 20:09:57 +09:30
huxingyi 120b59b45f Add tong shader 2020-03-29 19:36:45 +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 7a5065865a Set OpenGL core profile shader as default 2019-12-22 21:37:42 +09:30
Jeremy Hu 4c6803ad8e Fix shader metallic parameter 2019-11-05 08:15:59 +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 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 bde3c01da0 Add 3d mouse picker 2019-08-08 20:54:33 +09:30
Jeremy Hu d1db4029d8 Add tests to ci 2019-07-24 06:05:10 +09:30
Jeremy HU c73277a4aa
Fix shader error on Raspberry PI 3 Model B+ 2019-07-09 18:16:04 +09:30
Jeremy Hu 93a01fa2c3 Update shader light setting 2019-06-02 14:26:57 +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 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 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 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