Fix 3D Camera Angles when Camera Not Centered
- Linguagem predominante
- Python
- Estrelas
- 93.9k
- Forks
- 7.7k
- Merge médio
- 2d 13h
- PRs com merge (30d)
- 4
Descrição
### 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**:

### 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)
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Direção de pesquisa
Olhe para a classe ThreeDAxes e o tratamento de câmera no módulo 3D do manim. O problema é sobre os ângulos da câmera quando os eixos são traduzidos. Comece encontrando onde theta, phi e gamma são aplicados e como eles se relacionam com o centro da tela em comparação ao centro do gráfico. Teste com o código fornecido para reproduzir o bug e, em seguida, explore se já existe uma opção ou se é necessário um novo parâmetro para ajustar o ponto de referência.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Domínio
- computer-graphics
- Tipo de issue
- Bug
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 45/100