The shaders branch is creating a lot of npy files in manim directory
- 主要語言
- Python
- 星號
- 93.9k
- 分支
- 7.7k
- 平均合併
- 2 天 13 小時
- 30 天內合併 PR
- 4
描述
Hi,
I am using the shaders branch of manim in order to utilize the GPU on my PC to quickly render videos. It runs without any error but there are two issues that I am facing:
1. When I run the same scene file through both the `regular` manim and `shaders` manim. The text rendered by `shaders` manim is always bolder than the text rendered by `regular` manim.
2. The shaders version of manim also seems to create a lot of files with names like `d0589a9c57b0acc0.npy` inside the manim directory. Usually, these "helper" files with `.svg` extension are created inside the Media directory under "Tex" folder.
There are no files with `.npy` extension created by the `regular` manim version.
Is the `shaders` branch supposed to create these `.npy` files directly inside the `manim` directory?
If `yes`, then how do I get rid of these `.npy` files or move them somewhere else like the `media` directory? About 100 of them are created even for very basic scenes. My main manim directory is now cluttered with these files.
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
該 issue 提到 shaders 分支在 manim 目錄中建立 .npy 檔案。請在 shaders 分支中尋找將 numpy 陣列寫入磁碟的程式碼,可能位於處理 texture 或 shader 資料的模組中。檢查 media 檔案通常存放的位置(Media/Tex),並查看檔案路徑邏輯是否配置錯誤。執行一個使用 shaders 的基本場景會生成這些檔案;檢查它們的內容並追溯到寫入函式以修正輸出目錄。
由索引模型根據 Issue 內容生成。
評估
- 領域
- tooling
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 描述清楚
- 新手友好度
- 40/100