Page 1 of 1

Text and images in FFGL plugin

Posted: Tue Aug 14, 2018 09:35
by jonas4345
Hello everybody,

First: I'm new to ffgl plugin development, but I have experience in software development. I work as a software developer for an international company.

I'm trying to develop an ffgl plugin that displays the contents of a json string on the screen.
I need your help for that.

I already created a new plugin that gets the information from a web service. Now I don't know how to display a text on the screen with C++.

I also want a nice background image behind the text that contains some alpha stuff.

Can someone give me a hint how I can solve this, please?

Best regards,
Jonas

Re: Text and images in FFGL plugin

Posted: Thu Nov 29, 2018 12:47
by Arvin
I also need this kind of demand, I hope that your post can get the response of the technical master.

Re: Text and images in FFGL plugin

Posted: Thu Nov 29, 2018 12:55
by Joris
Text in OpenGL is notoriously difficult. FreeType is the most commonly used library to take away most of the pain: https://learnopengl.com/In-Practice/Text-Rendering

Re: Text and images in FFGL plugin

Posted: Thu Nov 29, 2018 12:57
by Joris
How to get an image displayed is relatively straight forward: https://learnopengl.com/Getting-started/Textures