
我正在使用 Asymptote 創建 3D 圖形,並將其匯出為 PNG 檔案。我想在 PNG 檔案中有透明背景。
對於 2D 圖形,當我從 Asymptote 匯出時,我可以輕鬆獲得透明背景。然而,對於 3D 圖形,到目前為止我還無法獲得透明背景。
我努力了
currentlight.background=opacity(0.0)+rgb(255,255,255);
但這只會在 PNG 檔案中產生白色背景。
有誰知道將 3D 圖形從 Asymptote 匯出為 2D 渲染檔案格式時是否可以獲得透明背景?