Change the part preview UI element from QOpenGLWidget to QLabel, the preview images will be generated in an offscreen render.
This fixes the create multiple QOpenGLWidgets poor performace issue.
- Fix the bad performance of view port manipulation
- Allow to view the mesh inside
- Fix environment light not enabled in image export
- Fix wireframe not follow the view port setting in image export
- Add menu: Refresh
QTreeWidgetItem sometimes discontine to refresh the widget, this is a
fallback option to let user refresh the tree.
- Remove the short menu
Before, when left click on component, a short menu will popup, this
make select nodes from part tree very difficult, so removed.
- Fix part widget display at wrong place
- Add example model: Backpacker
To demonstrate the importing function
- Add menu: Reverse
Reverse selected edges. The direction of edge decide the base normal of
generated mesh.
- Refactor stroke mesh builder
Remove recursive calls, more consistant generated result
- Add menu: Import
The document will be auto saved at AppDataLocation every 10 seconds if
any change happened, and
will be deleted when document window closed normally.
Naming conversion: "yyyyMMdd-hhmmss-{guid}.d3b", file
type "d3b" means "(D)ust(3)D (B)ackup".
Each time, when app start, the auto saved files will be checked, the latest
one will be loaded automatically.
This feature is mainly for save the file before crash.
Thanks Marcus Hilsdorf for his suggestion of this feature.
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.