3b1b / 3b1b/manim

Example Gallery Bug when Rendering High Quality

未關閉
#2,097 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
bug
主要語言
Python
星號
93.9k
分支
7.7k
平均合併
2 天 13 小時
30 天內合併 PR
4

描述

### Describe the bug
For the Gallery Example with https://docs.manim.community/en/stable/examples.html#pointwithtrace

**Code**:
```py
from manim import *

class PointWithTrace(Scene):
def construct(self):
path = VMobject()
dot = Dot()
path.set_points_as_corners([dot.get_center(), dot.get_center()])
def update_path(path):
previous_path = path.copy()
previous_path.add_points_as_corners([dot.get_center()])
path.become(previous_path)
path.add_updater(update_path)
self.add(path, dot)
self.play(Rotating(dot, radians=PI, about_point=RIGHT, run_time=2))
self.wait()
self.play(dot.animate.shift(UP))
self.play(dot.animate.shift(LEFT))
self.wait()
```

**Wrong display or Error traceback**:
![image](https://github.com/3b1b/manim/assets/58462210/5a1f3f2d-9ec0-43cb-95f4-da91fcb74170)

### Additional context
The circular arc is drawn correctly, but once it is done, it deletes the whole arc and continuous as if the path started from the origin completing the drawing. This doesn't happen with low quality, but happens when you use high quality.

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

此錯誤位於 gallery 中的 PointWithTrace 範例中,特別是 VMobject 路徑更新在高品質下的處理方式。查看 VMobject 類別及其 updater 機制,重點關注 set_points_as_corners 和 add_points_as_corners。使用不同品質設定執行提供的腳本來重現此問題,然後檢查渲染流程中低品質與高品質間路徑處理的差異。

由索引模型根據 Issue 內容生成。

評估

領域
computer-graphics, data-visualization
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
描述清楚
新手友好度
65/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。