Text and images in FFGL plugin

FFGL, OSC, GLSL. If you like abbreviations, this is the forum for you
Post Reply
User avatar
jonas4345
Met Resolume in a bar the other day
Posts: 1
Joined: Mon Aug 13, 2018 20:22
Location: Iserlohn / Germany

Text and images in FFGL plugin

Post 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

Arvin
Met Resolume in a bar the other day
Posts: 6
Joined: Tue Sep 19, 2017 19:13

Re: Text and images in FFGL plugin

Post by Arvin »

I also need this kind of demand, I hope that your post can get the response of the technical master.

Joris
Doesn't Know Jack about VJ'ing or Software Development and Mostly Just Gets Coffee for Everyone
Posts: 5185
Joined: Fri May 22, 2009 11:38

Re: Text and images in FFGL plugin

Post 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

Joris
Doesn't Know Jack about VJ'ing or Software Development and Mostly Just Gets Coffee for Everyone
Posts: 5185
Joined: Fri May 22, 2009 11:38

Re: Text and images in FFGL plugin

Post by Joris »

How to get an image displayed is relatively straight forward: https://learnopengl.com/Getting-started/Textures

Post Reply