Commit Graph

17 Commits

Author SHA1 Message Date
lane.wei 62b1d00d1f ENH: 3dbed: support rendering extruder area with different color
JIRA: STUDIO-7494
Change-Id: I717999e8b7ab1d7d350299b412a3a270c6ba7a9e
2025-03-22 20:53:53 +08:00
zhou.xu d039d75ff1 FIX:delete app_config in GLShadersManager.cpp
jira: none
Change-Id: I19751da071b21c5b3fdaa858e69b04e11b533da9
2024-11-15 19:17:32 +08:00
zhou.xu 6caacd170f FIX:add "enable_opengl_multi_instance" option
jira: none
Change-Id: I424a1914811cc8eb1a7a717a4117453a69111e8b
2024-11-15 19:17:32 +08:00
zhou.xu bb53c4b517 NEW:Use instance rendering by opengl for plate
jira: none
Change-Id: I3d5888480ad033953a597a6f74b0b9c8ac47795e
(cherry picked from commit 7fa3cb3d6224bab6ef6d8ad75446ed1b460afd4e)
2024-10-15 15:50:26 +08:00
zhou.xu 8c852bc925 ENH:update render code in PartPlate
jira: STUDIO-5985
most of code from OrcaSlicer,thanks for OrcaSlicer and enricoturri1966

commit 28d0147d0988917a8b9d85441b8836453e0f222e
Author: enricoturri1966 <enricoturri@seznam.cz>
Date:   Fri Oct 20 15:41:26 2023 +0800

    Introduction of classes ColorRGB and ColorRGBA to unify color data definition and manipulation

Change-Id: I94ff38d9a03b4b91183b150617d6407a8ffa279e
2024-10-15 15:50:26 +08:00
zhou.xu 26b8ca6599 NEW:add flat shader for cut tool
Jira:STUDIO-4227
thanks for PrusaSlcer and enricoturri1966

commit 76d1d4949bbd0964717f8112aae992a1267c5eb4
Author: enricoturri1966 <enricoturri@seznam.cz>
Date:   Mon Mar 21 13:10:47 2022 +0100
    Tech ENABLE_GL_SHADERS_ATTRIBUTES - Added shaders for glsl version 140
...

Change-Id: I4db00805830f07a5eaa95cfc7b8254c61b86f0c8
2023-11-01 09:33:21 +08:00
zhou.xu 5658d32633 FIX: enable wireframe in paint tool
Jira: STUDIO-3996

The buffer data submitted when the wireframe function is closed is half less than the buffer data submitted when the wireframe function is open

Change-Id: I92542190a5a45f562ec89d7c41fef3cdf1c26418
(cherry picked from commit b95650954f8bdb0cf81a2063efba4b2fced13a2f)
2023-11-01 09:33:21 +08:00
lane.wei 90760e0d07 ENH: refine the thumbnail rendering
1. add specific shader for thumbnail
2. do not render the negative-z part
3. fix the sinking related issue under cli

Change-Id: Ia59083437544c1c0bd924c811274ccbb137e9eb7
2023-04-17 15:39:02 +08:00
zhimin.zeng b746877d70 FIX: modify the shader load error for mac
Change-Id: I3e2b282b145b4d87e09c22d4fec1b88537212d60
2023-04-17 15:39:02 +08:00
zhimin.zeng cd4cddfca4 ENH: Cut optimization, support for custom connectors
Change-Id: I65163314374fb74f0b16df47dacae82caa6fab0d
(cherry picked from commit 7bacc2c2a89be471f6fee51dd07a42222a28b55a)
2023-04-17 15:39:02 +08:00
lane.wei 8b5a49f378 ENH: disable wireframe currently for some macos has performance issue
Change-Id: I7646927352b0097e1a7b4fa97da4730976996b80
2022-12-26 05:31:54 -05:00
lane.wei 400ce3bcfd FIX: fix a shader loading failed issue on macos 11.x of m1 processor
Change-Id: I39a4d387a0c80743cd5b7a78547c416b387608fd
2022-12-26 05:31:54 -05:00
lane.wei a9a228d071 ENH: wireframe: refine the rendering logic under paint
1. remove wireframe in 3d view, only keep in paint;
2. pass barycentric_coordinates from outside
3. add shortcut hints

Change-Id: I911e5cdf3475926d9527dc0839fdce072ed54746
(cherry picked from commit 6e16d0ccfb71741e55daabd757be9f9e7613e695)
2022-12-15 04:33:48 -05:00
lane.wei 79b5c94f4f ENH: enable wireframe
This reverts commit ed6e149381240fd83b61da70891127d400f30a39.

Change-Id: I010871fcf22322214c627fe907539c0916fa6ff5
2022-12-15 04:33:48 -05:00
lane.wei 5627413b23 ENH: disable wireframe currently
there are some issues need to be solved

Change-Id: I107db3d9411d2487c4c6fb65d54763896c3954b5
2022-10-20 19:34:37 +08:00
lane.wei 227e1f4dc3 ENH: shader: add logic to avoid error when opengl version less than 3.0
use a seperate shader for function which needs opengl 3.0 supports

Change-Id: Iff30a90211aa10ae9c4a1e36afeb331d252fb814
2022-10-20 19:34:37 +08:00
lane.wei 1555904bef Add the full source of BambuStudio
using version 1.0.10
2022-07-15 23:42:08 +08:00