Commit Graph

28 Commits (5f75a6d7d8c5526378ce612c30551db4eb26acee)

Author SHA1 Message Date
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