For 3d vectors, tip is not getting oriented in proper direction.
- 主要語言
- Python
- 星號
- 93.9k
- 分支
- 7.7k
- 平均合併
- 2 天 13 小時
- 30 天內合併 PR
- 4
描述
I'm having a problem with creating 3D vectors. the tips are not getting oriented in correct direction. so it looks like the tip of the vector is broken. I'm using the above code. I've just started learning manim. so can anybody help me with this. I tried issue#774 but it didn't work for me.
I'm using this code :
```
from manimlib.imports import *
class vectors(VectorScene,ThreeDScene):
def construct(self):
v1=Vector(np.array([1,0,0]),color=RED)
v2=Vector(np.array([0,1,0]),color=BLUE)
v3=Vector(np.array([0,0,1]),color=GREEN)
v4=Vector(np.array([1,1,1]),color=YELLOW)
vec=VGroup(v1,v2,v3,v4)
self.set_camera_orientation(phi=PI/3,theta=-PI/2,distance=6)
self.begin_ambient_camera_rotation(0.6)
self.play(ShowCreation(vec))
self.wait(10)
```
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
查看 manimlib/mobject/vectorized_mobject.py 中的 Vector 類別或類似檔案,查看 3D 向量 tip 的渲染方式。此 issue 提到 3D 中 tip 的朝向;檢查相機朝向和旋轉設定。執行提供的程式以重現損壞的 tip,然後檢查 3D 向量的 tip 繪圖邏輯。
由索引模型根據 Issue 內容生成。
評估
- 領域
- computer-graphics, data-visualization
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100