Skip to content

Opengl -a flag not working with opengl #2009

Closed
@k4pran

Description

@k4pran

Description of bug / unexpected behavior

The behaviour of the -a flag is to output all scenes, however only a single scene is output when using the opengl renderer

Expected behavior

Expect all scenes to be previewed with the -p flag and output. I guess it is not applicable with interactive mode?

How to reproduce the issue

Run multple scenes with the -a flag and opengl renderer, for example python -m manim example_scenes.py --renderer opengl -a -pql

Code for reproducing the problem
class SquareToCircle(Scene):
    def construct(self):
        circle = Circle()
        circle.set_fill(PINK, opacity=0.5)

        square = Square() 
        square.rotate(PI / 4)

        self.play(Create(square))
        self.play(Transform(square, circle))
        self.play(FadeOut(square))

class CircleToSquare(Scene):
    def construct(self):
        circle = Circle() 
        circle.set_fill(PINK, opacity=0.5)

        square = Square()
        square.rotate(PI / 4) 

        self.play(Create(circle)) 
        self.play(Transform(circle, square)) 
        self.play(FadeOut(circle)) 

Additional media files

Images/GIFs

Logs

Terminal output
PASTE HERE OR PROVIDE LINK TO https://pastebin.com/ OR SIMILAR

System specifications

System Details
  • OS (with version, e.g Windows 10 v2004 or macOS 10.15 (Catalina)):
  • RAM:
  • Python version (python/py/python3 --version):
  • Installed modules (provide output from pip list):
PASTE HERE
LaTeX details
  • LaTeX distribution (e.g. TeX Live 2020):
  • Installed LaTeX packages:
FFMPEG

Output of ffmpeg -version:

PASTE HERE

Additional comments

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue:bugSomething isn't working... For use in issuesopenglConcerning the OpenGL renderer.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions