• January 20, 2021, 10:28:02 AM

Login with username, password and session length

Author Topic:  OpenGL font rendering  (Read 333 times)

0 Members and 1 Guest are viewing this topic.

Offline sjhalayka

  • Fractal Fruit Salad
  • *****
  • Posts: 68
OpenGL font rendering
« on: April 11, 2020, 09:02:18 PM »
Does anyone have a small C++ solution for font rendering in OpenGL?

Linkback: https://fractalforums.org/programming/11/opengl-font-rendering/3420/

Offline 3DickUlus

  • Administrator
  • *******
  • Posts: 1979
    • Digilantism
Re: OpenGL font rendering
« Reply #1 on: April 11, 2020, 11:18:28 PM »
https://www.opengl.org/archives/resources/features/fontsurvey/ has example code :D covering different techniques, bitmaped, texture and outline ttf

FTGL and GLF seem to be the best options
« Last Edit: April 12, 2020, 01:51:18 AM by 3DickUlus »

Offline sjhalayka

  • Fractal Fruit Salad
  • *****
  • Posts: 68
Re: OpenGL font rendering
« Reply #2 on: April 20, 2020, 05:00:47 PM »
Thank you for the tips.

I ended up getting it working by doing the text drawing on the CPU.




xx
OpenGL Core Profile

Started by claude on Fragmentarium

19 Replies
1083 Views
Last post June 17, 2018, 09:30:49 PM
by 3DickUlus
xx
Rendering Help

Started by AbrahamLeWizard on Mandelbulb3d

6 Replies
529 Views
Last post February 24, 2018, 03:47:55 AM
by AbrahamLeWizard
xx
Speed of rendering...

Started by FractalDave on Off Topic

11 Replies
827 Views
Last post December 17, 2018, 06:00:58 PM
by hobold
question
Rendering to Disc

Started by DoctorT on Noob's Corner

1 Replies
282 Views
Last post March 25, 2019, 05:34:49 PM
by DoctorT
question
360 stereo rendering

Started by Dievolve on Mandelbulber

5 Replies
327 Views
Last post November 08, 2019, 05:58:06 PM
by Dievolve