ManimCommunity / ManimCommunity/manim
[BUG] Z-coordinate does not bring the Mobject to the front when rendering with OpenGL.
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 40.9k
- Forks
- 3.1k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 25
Description
Description of bug / unexpected behavior
I conducted tests and found that even with the z-coordinate set, rendering with OpenGL still follows the order in which the Mobjects are added.
https://github.com/user-attachments/assets/b98b4ba6-7a5c-4cf7-9087-3fc877611acb
System specifications
System Details
- OS Windows 11
- RAM: 64GB
- Python version : Python 3.10
LaTeX details
- LaTeX distribution: TeX Live 2024
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported behavior on Windows 11 with Python 3.10 using an OpenGL scene containing Mobjects with different z-coordinates. Trace the OpenGL rendering path and verify that the Mobject with the greater z-coordinate is rendered in front regardless of insertion order.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100