-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Text always rendered in 3D scene #3822
Comments
This is a known limitation of the Cairo rendering routines currently used in Manim and it is not limited to text objects: the removal of hidden objects is not working in general. |
Is there any way to get around it? It seems to work fine for other objects and not on Text. Tried with Code and Cube |
you might have just been lucky then, because it fails more often than it succeeds. You could try to set the objects' |
Will be fixed in GL version in the future! |
Description of bug / unexpected behavior
Text objects are always rendered, even if they are behind objects
Expected behavior
Text should render only partailly when behind an object
How to reproduce the issue
Code for reproducing the problem
Additional media files
Images/GIFs
![image](https://github.com/ManimCommunity/manim/assets/58388001/15792884-a742-4350-bf00-27a04e409a50)Logs
Terminal output
System specifications
System Details
python/py/python3 --version
): python 3.11.2pip list
):attrs 23.2.0
azure-cognitiveservices-speech 1.38.0
cattrs 23.2.3
certifi 2024.6.2
charset-normalizer 3.3.2
click 8.1.7
cloup 3.0.5
decorator 5.1.1
docstring-to-markdown 0.15
glcontext 2.5.0
gTTS 2.5.1
idna 3.7
isosurfaces 0.1.2
jedi 0.19.1
jedi-language-server 0.41.4
lsprotocol 2023.0.1
manim 0.18.1
manim-voiceover 0.3.6.post0
ManimPango 0.5.0
mapbox-earcut 1.0.1
markdown-it-py 3.0.0
mdurl 0.1.2
moderngl 5.10.0
moderngl-window 2.4.6
multipledispatch 1.0.0
mutagen 1.47.0
networkx 3.3
numpy 1.26.4
parso 0.8.4
pillow 10.3.0
pip 23.0.1
pycairo 1.26.1
pydub 0.25.1
pyglet 2.0.15
pygls 1.3.1
Pygments 2.18.0
pyrr 0.10.3
python-dotenv 0.21.1
python-slugify 8.0.4
requests 2.32.3
rich 13.7.1
ruff 0.4.10
scipy 1.13.1
screeninfo 0.8.1
setuptools 66.1.1
skia-pathops 0.8.0.post1
sox 1.5.0
srt 3.5.3
svgelements 1.9.6
text-unidecode 1.3
tqdm 4.66.4
typing_extensions 4.12.2
urllib3 2.2.2
watchdog 4.0.1
LaTeX details
Additional comments
The text was updated successfully, but these errors were encountered: