3b1b / 3b1b/manim

The coordinates are not align when they are at the same position

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

Descrizione

### If this is a support request:

**Please attempt to solve the problem on your own before opening an issue.**
Between old issues, StackOverflow, and Google, you should be able to find
solutions to most of the common problems.

Include at least:
1. Steps to reproduce the issue (e.g. the command you ran)
2. The unexpected behavior that occurred (e.g. error messages or screenshots)
3. The environment (e.g. operating system and version of manim)
![2020-02-25 03-21-59屏幕截图](https://user-images.githubusercontent.com/37899270/75183832-44ccf500-577e-11ea-9918-4d24f087121f.png)
![2020-02-25 03-22-18屏幕截图](https://user-images.githubusercontent.com/37899270/75183838-48607c00-577e-11ea-92ef-0127ec90c279.png)
![2020-02-25 03-22-34屏幕截图](https://user-images.githubusercontent.com/37899270/75183841-4b5b6c80-577e-11ea-857a-2a1cf4094d17.png)
Two points have the same coordinates in x and y.
However, when I push back the camer, it shows that these two points are not aligned. The misalignment is much bigger when x and y are bigger.
environment: Ubuntu 18 Version of manim: on Feb 13, 2020
### If this is a feature request:
Include the motivation for making this change.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

The issue describes a coordinate misalignment in the manim animation engine when points share the same x and y coordinates, with the error increasing with larger coordinate values. Start by examining the camera projection and coordinate transformation code, likely in modules like camera.py or scene.py. Reproduce the bug with a minimal script that places two points at the same position and renders them from different camera distances. Check how manim handles floating-point precision and depth rendering for overlapping objects.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
python
Ambito
computer-graphics
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.