Skip to content
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

OpenGl resolution option invalid #4002

Open
Shree-bytes opened this issue Nov 7, 2024 · 1 comment
Open

OpenGl resolution option invalid #4002

Shree-bytes opened this issue Nov 7, 2024 · 1 comment

Comments

@Shree-bytes
Copy link

'Resolution option invalid' while rendering with OpenGL

While rendering a scene using the -renderer opengl command, I get a 'Resolution option is invalid' error.

Just this morning everything was fine until I started encountering this issue. Usually running this command along with -p command opens a small interactive window which played the animation.

I have already tried specifying the quality and resolution, both manually by editing the config file and using the -q and -r commands. I have uninstalled and reinstalled Manim multiple times by using pip and Chocolatey as well to try and get it to work again.

I really like OpenGL as it gives me a faster preview without cluttering my screen too much by opening the media player every time I make any adjustments.

CMD commands
manim -renderer opengl -pqm fy.py
@behackl
Copy link
Member

behackl commented Nov 7, 2024

On the CLI the renderer flag needs to be passed with two dashes: manim --renderer opengl ..., otherwise your command is interpreted as passing the option "enderer" to the -r flag, which is the resolution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants