manim-rubikscube
manim-rubikscube copied to clipboard
Rendering problem
During the rotation, there's a rendering problem as show in the video and picture.
https://user-images.githubusercontent.com/47852787/169686307-a4bece59-d991-424a-8b9f-f1e8e595a0e9.mp4
Do you have the code? Did you install Manim Rubikscube from PyPI? What version of Manim?
I have seen various rendering bugs in the past, but typically it's a problem of the way Manim's animations work, not a fault of the plugin. I haven't been keeping up with the stuff too much as of late, but I'm assuming that is still the case.
Do you have the code? Did you install Manim Rubikscube from PyPI? What version of Manim?
I have seen various rendering bugs in the past, but typically it's a problem of the way Manim's animations work, not a fault of the plugin. I haven't been keeping up with the stuff too much as of late, but I'm assuming that is still the case.
It's the same code as shown in the https://manim-rubikscube.readthedocs.io/en/stable/ AllTogetherExample. It seems your example also has this bug.
Yeahh, I'm pretty sure that has to do with how Manim handles animations. When a mobject is animated, it gives it a higher precedence on the z-index for some annoying reason. There's a work around that I have had to use before when running into such issues (occasionally with far more pronounced rendering problems with Manim Rubikscube due to this). Try doing your animation, but simultaneously in the same .play()
call doing a blank Animation()
on the slices of the cube that you are not rotating.
Thanks for your response. Have you tried that? It seems did not work for me.
I have not for this exact thing, but I have for other Manim Rubikscube animations.