Home Game Development Pyglet: textual content.Label().draw to FBO?

Pyglet: textual content.Label().draw to FBO?

0
Pyglet: textual content.Label().draw to FBO?

[ad_1]

I simply began OpenGL (PyopenGl) & Pyglet 3 weeks in the past, and determined to learn the Red Book. So sorry if my query exhibits my lack of comprehension…

My query is: Is it doable to show/write textual content utilizing textual content.Label().draw in a FBO ?

What I need to do is use textual content.Label().draw to generate a texture and use that texture once I want it. But thus far I have not been in a position to do it. (lack of comprehension/expertise?) I do know that textual content in OpenGl is normally executed by Bitmap Fonts, Outline Fonts or Texture Mapped Text, however I used to be questioning if the strategy I’m considering of may very well be a sortcut.

So sorry once more if this query is silly/apparent, however I’m nonetheless studying and did spend plenty of time trying/looking for a solution.

Thanks guys.

[ad_2]

LEAVE A REPLY

Please enter your comment!
Please enter your name here