Tech ENABLE_GLBEGIN_GLEND_REMOVAL - Background rendering

(cherry picked from commit prusa3d/PrusaSlicer@eda55701a2)
This commit is contained in:
enricoturri1966 2023-10-21 17:16:45 +08:00 committed by Noisyfox
parent 35899b96ba
commit 04ad26f611
5 changed files with 61 additions and 31 deletions

View file

@ -714,6 +714,7 @@ public:
CameraTarget m_camera_target;
#endif // ENABLE_SHOW_CAMERA_TARGET
GLModel m_background;
public:
explicit GLCanvas3D(wxGLCanvas* canvas, Bed3D &bed);
~GLCanvas3D();
@ -1119,7 +1120,7 @@ private:
void _picking_pass();
void _rectangular_selection_picking_pass();
void _render_background() const;
void _render_background();
void _render_bed(bool bottom, bool show_axes);
void _render_bed_for_picking(bool bottom);
//BBS: add part plate related logic