Commit Graph

45 Commits (86a6e5f1635c478c75dc95e76f095aa0a03b5731)

Author SHA1 Message Date
Jeremy HU 86a6e5f163 Prepare for UV preview image generator 2022-10-21 21:42:16 +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 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 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
Jeremy HU e3a412df3c Minimal working shader 2022-09-20 22:48:22 +10:00
Jeremy HU 58290a9b21 Prepare for new render implementation 2022-09-19 23:30:03 +10:00
Jeremy HU d7a3bc7db8 Remove boost dependency 2022-09-18 17:54:55 +10:00
Jeremy HU 4d93f5c3b7 Remove the mesa checking
This checking was been added because the wireframe display will crash on mesa driver, wireframe feature should be tested in the future.
This checking removing will make the wireframe working on WSL2.
2022-09-18 16:27:03 +10:00
CarlOlson df4a329a89 make model rotation act like Blender and other 3D modelers 2022-09-18 12:24:30 +10:00
Karl Robillard 914b6955f9 Fixes to compile on Linux (GCC 10.3.1). 2022-09-18 12:22:41 +10:00
huxingyi 8e5d622db7 Restructure the code base
Move the core function code to a dedicate folder under namespace dust3d.
Leave the application and UI code to application folder.
Remove CGAL, use our own mesh boolean algorithm and triangulating code, should have less chance to crash on bad meshes.
The overall performance of mesh combining is improved since some mesh validating code for CGAL is removed.
2021-11-18 22:58:01 +08:00