Commit Graph

13 Commits (2d5e98d955f8642a56787db5854b15c464007b53)

Author SHA1 Message Date
Jeremy HU 57b1a802f3 Apply webkit style clang format on code base 2022-10-18 20:35:04 +11: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 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
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