manim
manim copied to clipboard
There might still be some Warping with OpenGLImageMobject
Description of bug / unexpected behavior
See
- #1837
- #2534
https://user-images.githubusercontent.com/70682032/127563382-1b2abfe7-6f0b-4728-a8aa-936af0a4a750.mp4
Expected behavior
No warping
How to reproduce the issue
class a(Scene):
def construct(self):
a = ImageMobject("day_texture.png")
self.add(a)
self.interactive_embed()
Additional media files

Does this problem still exist for you? I'm running
manim <my_file> a --renderer=opengl -p
to render the following code:
from manim import *
from manim.opengl import *
class a(Scene):
def construct(self):
a = OpenGLImageMobject("day_texture.png")
self.add(a)
self.interactive_embed()
and I don't have any warping.
EDIT: I couldn't directly use ImageMobject, because of AttributeError: ImageMobject object has no attribute 'should_render'.
If the issue has been already resolved, then we might close this.
https://github.com/user-attachments/assets/93b3b122-12d8-4efc-84fa-f368967b77c2