Rotating a Circle about UP axis breaks the rendering
- 主要語言
- Python
- 星號
- 93.9k
- 分支
- 7.7k
- 平均合併
- 2 天 13 小時
- 30 天內合併 PR
- 4
描述
### Describe the bug
When a circle is rotated about the UP axis it breaks the rendering, it seems to end up displaying the triangles where the line is usually rendered, but it colors the whole triangle instead of just the circle (this happens at around -45 degrees)
**Code**:
```
from manimlib import *
class Test(Scene):
def construct(self):
circle = Circle()
self.add(circle)
self.play(Rotate(circle, -45*DEGREES, UP))
self.wait(5)
test = Test()
test.construct()
```
**Wrong display or Error traceback**:

Ignore the grey tint.
### Additional context
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
此問題出現在Circle類在繞UP軸旋轉後的渲染中。查看manimlib/mobject/geometry.py中的Circle類及其三角剖分或shader資料。此錯誤可能與vertex normals或UVs如何被變換有關。執行提供的測試腳本以重現視覺偽影,然後檢查manimlib/shader中的OpenGL shader代碼或渲染管線以查看旋轉如何影響mesh。
由索引模型根據 Issue 內容生成。
評估
- 領域
- computer-graphics
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 描述清楚
- 新手友好度
- 30/100