Giter Club home page Giter Club logo

Comments (8)

INFO-studio avatar INFO-studio commented on May 28, 2024 1

@INFO-studio seems that it works for me, could you help explain why this can fix the issue? Since it is just get the last error from OpenGL

Well, I guess that's just because some non-fatal errors happened, which I didn't find why. OpenGL can just draw it and continue working, but when the code start to clear the cache and prepare to write the next frame, the error was still in the todo queue and OpenGL will stop the script and draw error. That's also why it can work in preview mode(because that needn't to clear the cache).

from manim.

INFO-studio avatar INFO-studio commented on May 28, 2024

Well, I found out what the problem is, just add a line gl.glGetError() to function get_raw_fbo_data in file /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/manimlib/camera/camera.py and it will be solved.
图片
(File locations may change depending on the system environment)

from manim.

Shekhar-Dangi avatar Shekhar-Dangi commented on May 28, 2024

It still doesn't work. I tried doing this and it works when i pass argument -w but normally it doesn't.
Screenshot 2023-12-22 at 7 36 13 PM

from manim.

INFO-studio avatar INFO-studio commented on May 28, 2024

It still doesn't work. I tried doing this and it works when i pass argument -w but normally it doesn't. Screenshot 2023-12-22 at 7 36 13 PM

Please show me as many error messages as possible when you try to rendering normally, that can help to determine where to modify the program.

from manim.

Shekhar-Dangi avatar Shekhar-Dangi commented on May 28, 2024

Yeah, this is what I got :

Screenshot_2023-12-22_at_7 07 27_PM

from manim.

INFO-studio avatar INFO-studio commented on May 28, 2024

Yeah, this is what I got :
Screenshot_2023-12-22_at_7 07 27_PM

In the error messages, you can find which file and which line raised this error from the bottom to the top, just add gl.glGetError() before this line. And if that won't work, try another error message until it will. XD

from manim.

Shekhar-Dangi avatar Shekhar-Dangi commented on May 28, 2024

@INFO-studio Thanks a lot.

from manim.

mantis7 avatar mantis7 commented on May 28, 2024

@INFO-studio seems that it works for me, could you help explain why this can fix the issue? Since it is just get the last error from OpenGL

from manim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.