3b1b / 3b1b/manim

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

Offen
#892 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
93.8k
Forks
7.7k
PR-Merge-Kennzahlen
PR-Kennzahlen ausstehend

Beschreibung

### 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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python
Bereich
computer-graphics
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.