3b1b / 3b1b/manim

Fix 3D Camera Angles when Camera Not Centered

Aperta
#1,487 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
Python
Stelle
93.8k
Fork
7.7k
Metriche di merge delle PR
Metriche PR in attesa

Descrizione

### Describe the bug
When 3D Coordinate Axes are translated from the center of the screen, the graph is viewed from an angle even if theta, phi, and gamma are on at their default values.

**Code**:
```
axes = ThreeDAxes()
self.add(axes)
axes.to_edge(DOWN)
```

**Wrong display or Error traceback**:

![image](https://user-images.githubusercontent.com/8381348/115320894-f1ff8b00-a13f-11eb-8211-58c6c548512b.png)

### Additional context
This could be intended behavior for some, but it would be nice to at least have an option to have theta, phi, and gamma represent the absolute angles as if we were viewing the graph straight on, as opposed to them representing the angles from the center of the screen (i.e. make them represent the angles from the center of the graph rather than those from the center of the screen)

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.