Commit Graph

11 Commits

Author SHA1 Message Date
zhou.xu e36a0b7554 FIX:use utf-8 format
jira: none
Change-Id: Ic09f3b478a05c0a2c325e6ee2d03b823306cbd21
2025-03-23 20:16:03 +08:00
zhou.xu e55e061a28 FIX:use utf-8 format
jira: none
Change-Id: I564a350b6f0bf66fc14de8cbc684f4b63a858afd
2025-03-23 20:16:03 +08:00
jun.zhang df00795fcb NEW: add vao to fix black screen issue
jira: no-jira

Change-Id: Ibe1dc4c8a2bad1909cf188a2da5fbba953adb981
(cherry picked from commit 4b239e7788c89c2a5ddd23f20878f6cde5a2ded1)
2025-03-22 22:18:06 +08:00
zhou.xu 3e938c9216 ENH:export system and graphics cart info to log
jira:none
code is from PrusaSlicer,thanks for PrusaSlicer and Lukas Matena
commit e04e8c55cfc0498bb665f6fb515f3a8fcea64796
Author: Lukas Matena <lukasmatena@seznam.cz>
Date:   Fri Dec 2 14:21:18 2022 +0100

    Improved performance of GLModel::render:
    The way the OpenGL version was checked was quite inefficient

Change-Id: I6d7c6678e383c5cf2fbfea5b61ef65beab5328f9
2025-03-22 22:15:07 +08:00
jun.zhang fd2524a09e NEW: add silhouette effect
jira: STUDIO-8928

Change-Id: Ia64a96e7e13e65d8be85fddfedcfdc4e5cff4ed5
(cherry picked from commit f090726830ea0490994b62c93c93e18ead731681)
2025-03-22 21:54:20 +08:00
zhou.xu c03aa5ffeb FIX:fix crash opengl api in mac
jira: none
Change-Id: I797082987378f53480eacdc6a2528cfdedf50528
(cherry picked from commit 654db45bc293c03ec72cbbb7f4a651a7e946f9ea)
2024-10-15 15:50:26 +08:00
lane.wei 33ae019a95 ENH: CLI: don't popup dialog when loading shader failed
STUDIO-2855(github issue-1703)

Change-Id: I46476e94951aa2337fee3439159e777773366c59
2023-07-07 17:25:51 +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
lane.wei 2406cc35b6 FIX: cli: fix the thumbnail rendering issue
1. fix the color not correct issue
2. fix the warning when loading thumbnail under cli
3. remove the invalid error log

Change-Id: I4dd553b218e264bb811606053d920b5861ad6bd4
2022-12-15 04:33:48 -05:00
lane.wei cb3c9503d0 Fix the Bed texture gone missing issue on AMD systems
patch picked from PrusaSlicer, thanks to Prusa3D

Windows specific: Use mipmaps generated through OpenGL for AMD graphics cards with drivers newer than 22.6.1.

Since AMD driver version 22.7.1,
there is probably some bug in the driver that causes the issue with the missing texture of the bed.
It seems that this issue only triggers when mipmaps are generated manually (combined with a texture compression)
and when mipmaps are generated through OpenGL glGenerateMipmap is working.

This workaround detects the AMD driver version and generates mipmaps through OpenGL for driver versions newer than 22.6.1.

Change-Id: I679dd61efec8f4baf97e5bf4868cb93db5184dcf
2022-09-29 11:16:43 +08:00
lane.wei 1555904bef Add the full source of BambuStudio
using version 1.0.10
2022-07-15 23:42:08 +08:00