You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
我希望在没有窗口的情况下进行渲染,直接得到一帧画面(之后可以保存成 PNG之类的)。我尝试用moderngl或者QOffscreenSurface、QOpenGLContext之类的东西构建合适的OpenGL上下文,最终都只能读取到空白图像,似乎Draw方法没有正确定向到自定义的 FBO。
在此之前我没有接触过OpenGL,所以我也不确定是哪部分的问题。我想确认一下live2d-py能否通过某种方式在无窗口的环境下进行渲染?有没有正确的代码可供参考?
Beta Was this translation helpful? Give feedback.
All reactions