Commit Graph

22 Commits

Author SHA1 Message Date
1f3fe6d6a1 Add simulated color preview support for top-surface coloring. Make preview settings apply to every texture mapping zone 2026-05-27 20:07:01 +01:00
9e27af3032 Improvements to paint by color tool 2026-05-24 08:47:37 +01:00
d9e74f22f6 Add radial gradients 2026-05-23 17:52:03 +01:00
359693fa89 Improvements to linear gradient UI and serialization. Allow undo/redo for changes to gradient points. 2026-05-23 14:37:32 +01:00
8668114350 Add linear gradient mode 2026-05-23 10:24:26 +01:00
c6035a7c91 Update scene preview when 2D gradient settings are being changed 2026-05-22 09:19:00 +01:00
14e61db633 Render preview for 2D gradients in shader. Misc bugfixes.
- Make sure prime tower preview is updated when settings change
- Manage color data dialog now closes with escape key
- Textured objects using halftone dithering now show their original texture while preview is being generated
- Show checkboard error overlay in world space (when zone has invalid config).
2026-05-22 08:12:49 +01:00
396cca82bb Add 'paint by color' utility. Add minimum visibility offset 2026-05-17 10:38:45 +01:00
9468e8b335 Add 'Paint by slope' dialog in region painting panel 2026-05-11 18:15:44 +01:00
33325df15d Merge ImageMap into mainline OrcaSlicer (up to aa9c2501e) 2026-05-02 11:50:23 +01:00
6e063bdc8d ENH: 3dbed: support rendering extruder area with different color
JIRA: STUDIO-7494
Change-Id: I717999e8b7ab1d7d350299b412a3a270c6ba7a9e
(cherry picked from commit 62b1d00d1fd6675fd067b76778d6a577dfae0c24)
2025-08-24 23:18:12 +08:00
70495a3bf9 Use texture instead of texelFetch to make it smoother 2024-08-19 23:11:01 +08:00
13e18d1d65 Use a 2-pass depth based outline algorithm when selected 2024-08-18 19:31:08 +08:00
27f140fb18 Mdel preview renders the actual colors of the filaments based on the filaments currently loaded in the AMS
Ported from BambuStudio
2024-06-16 17:15:51 +08:00
685de31088 Revert "Add a simple subtle outline effect by drawing back faces using wireframe mode (#2934)"
This reverts commit 0cee513416.
2023-12-05 22:05:11 +08:00
0cee513416 Add a simple subtle outline effect by drawing back faces using wireframe mode (#2934)
* Add a simple subtle outline effect by drawing back faces using wireframe mode

* Show outline in white if the model color is too dark

* Make the outline algorithm more reliable

* Enable cull face, which fix render on Linux

* Fix `disable_cullface`
2023-12-03 09:27:03 +08:00
03a9014d3a Show wireframe in MMU painter gizmo (#2808)
* Remove unused shader files

* Port wireframe shader from BBS

* Enable wireframe in MMU painter

Co-Authored-By: zhou.xu <zhou.xu@bambulab.com>

---------

Co-authored-by: zhou.xu <zhou.xu@bambulab.com>
2023-11-21 17:17:22 +08:00
090a9247cb Cut: Fix model rendering 2023-11-04 11:41:11 +08:00
19ad0ca4d9 Tech ENABLE_LEGACY_OPENGL_REMOVAL - Fixed calculation of normal matrices sent to shaders
(cherry picked from commit prusa3d/PrusaSlicer@c468dcbed7)
2023-11-04 11:41:06 +08:00
fe78e40cb4 Various fixes 2023-11-04 11:41:06 +08:00
0d27e084f3 Fix thumbnail shader 2023-11-04 11:41:05 +08:00
1e4f16bd39 Tech ENABLE_GL_SHADERS_ATTRIBUTES - Added shaders for glsl version 140
(cherry picked from commit prusa3d/PrusaSlicer@76d1d4949b)
2023-11-04 11:41:05 +08:00