Commit Graph

58 Commits (b18bf2f8eb74a778863965fc542a41abce6a5b18)

Author SHA1 Message Date
Jeremy HU b18bf2f8eb Fix theme initialization 2022-10-29 10:49:34 +11:00
Jeremy HU f2fc58c699 Remove materials
Material will be integrated into part property.
2022-10-29 10:30:22 +11:00
Jeremy HU d991f0c532 Add UV map generator 2022-10-25 22:31:44 +11:00
Jeremy HU 5fc51c3b02 Add UV map packer 2022-10-24 23:48:18 +11:00
Jeremy HU 0f44d5cf7b Implement part uv preview 2022-10-23 14:14:30 +11:00
Jeremy HU b0000e7a34 Add new part attribute: colorImageId 2022-10-22 16:27:58 +11:00
Jeremy HU 4fb109a583 Remove skeleton document 2022-10-22 14:11:00 +11:00
Jeremy HU 86a6e5f163 Prepare for UV preview image generator 2022-10-21 21:42:16 +11:00
Jeremy HU c614da251a Remove stroke mesh builder 2022-10-19 20:22:17 +11:00
Jeremy HU d87dee4093 Update section preview mesh builder 2022-10-18 23:09:39 +11:00
Jeremy HU 57b1a802f3 Apply webkit style clang format on code base 2022-10-18 20:35:04 +11:00
Jeremy HU 73f0404c2e Implement section preview mesh builder 2022-10-18 19:39:48 +11:00
Jeremy HU 066e16dcd6 Add section preview mesh builder 2022-10-18 08:35:20 +11:00
Jeremy HU d075ee3ba7 Add part round end 2022-10-17 21:29:40 +11:00
Jeremy HU 12f4f52f10 Add part chamfer and subdivide 2022-10-16 20:55:04 +11:00
Jeremy HU 73b3dc3941 Add base normal rotation 2022-10-14 22:11:41 +11:00
Jeremy HU a9dd15991f Add command line option: -toggle-color 2022-10-14 19:21:20 +11:00
Jeremy HU 873e6423bb Safely exit after finishing command line exporting 2022-10-13 00:24:45 +11:00
Jeremy HU f73ec2beca Define mesh node 2022-10-11 23:44:30 +11:00
Jeremy HU 91e6460815 Group base normal calculations to separate class 2022-10-11 08:38:03 +11:00
Jeremy HU 5d5a1c04bd Implement ungroupping components 2022-10-10 22:05:16 +11:00
Jeremy HU c729099f0d Implement make group 2022-10-08 16:03:26 +11:00
Jeremy HU 36c7729ed7 Implement batch color picking 2022-10-08 14:46:57 +11:00
Jeremy HU 9a99dd3b95 Add banana as example model 2022-10-08 13:12:04 +11:00
Jeremy HU 8474d80c4d Prepare for implementation of component property widget 2022-10-08 12:05:53 +11:00
Jeremy HU c3f70e982c Fix rope mesh builder 2022-10-08 08:39:38 +11:00
Jeremy HU 5b06f64fdd Implement rope mesh builder 2022-10-08 07:26:30 +11:00
Jeremy HU 78893729b4 Fix selecting component by part id 2022-10-06 23:18:03 +11:00
Jeremy HU 12197bdb44 Select component by part: shortcut F 2022-10-06 22:16:47 +11:00
Jeremy HU 5f75a6d7d8 Fix component unselectable issue
If the initial Qt::DecorationRole give an empty QPixmap, the item will be unselectable sometimes.
So if nothing to show, should return an transparent image with the same size.
2022-10-06 21:16:21 +11:00
Jeremy HU e9b1c90220 Implement component preview reload 2022-10-06 20:05:09 +11:00
Jeremy HU b05066cd96 Fix preview image decoration offset 2022-10-05 23:26:39 +11:00
Jeremy HU 24e675911e Implement component preview image decorator 2022-10-05 22:34:56 +11:00
Jeremy HU bc82539cf2 Add check button for adding part selection on canvas 2022-10-04 23:17:39 +11:00
Jeremy HU 03a9be6d4f Implement tool button actions 2022-10-04 22:45:21 +11:00
Jeremy HU 9a6f0c39f8 Update tool buttons according to component selection 2022-10-04 20:50:39 +11:00
Jeremy HU 275262eee8 Update tool button size 2022-10-03 11:18:13 +11:00
Jeremy HU 9110bd5ced Add part manage widget 2022-10-03 11:06:25 +11:00
Jeremy HU efc6c09bbd Define preview grid view style 2022-10-03 09:04:46 +11:00
Jeremy HU b7b71b9c2e Prepare for implementation of component preview grid widget 2022-10-03 06:45:46 +11:00
Jeremy HU af6ddf2006 Fix vertices collapse 2022-10-02 05:35:55 +11:00
Jeremy HU 0be42e485b Implement stitching line back closing 2022-10-02 04:19:34 +11:00
Jeremy HU 8b64425341 Prepare the stitching line feature 2022-10-01 16:26:59 +10:00
Jeremy HU 29f7e06701 Fix textures 2022-09-24 23:31:49 +10:00
Jeremy HU 81063eaaaf Fix offscreen render 2022-09-24 03:33:55 +10:00
Jeremy HU e84f37a518 Mimic wireframe thickness 2022-09-24 02:23:04 +10:00
Jeremy HU 61869d89dd Use GL_LINES to show wireframe 2022-09-24 01:54:49 +10:00
Jeremy HU d512ec0f7e Using 6 textures to make cubemap on low version OpenGL 2022-09-23 21:03:35 +10:00
Jeremy HU ddcdfeb6cf Minimal IBL 2022-09-22 23:07:27 +10:00
Jeremy HU ba452b41c9 Show plain color without any light 2022-09-21 22:14:02 +10:00