OpenGL font rendering

  • 2 Replies
  • 155 Views

0 Members and 1 Guest are viewing this topic.

Offline sjhalayka

  • *
  • Fractal Fruit Salad
  • *****
  • Posts: 63
« 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

  • *
  • 3f
  • ******
  • Posts: 1708
    • Digilantism
« 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: 63
« 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
878 Views
Last post June 17, 2018, 09:30:49 PM
by 3DickUlus
xx
Rendering Help

Started by AbrahamLeWizard on Mandelbulb3d

6 Replies
442 Views
Last post February 24, 2018, 03:47:55 AM
by AbrahamLeWizard
clip
correct rendering of z=exp(z)+c

Started by v on Noob's Corner

2 Replies
343 Views
Last post December 20, 2018, 03:38:47 AM
by FractalDave
xx
network rendering

Started by claude on Kalles Fraktaler

2 Replies
76 Views
Last post June 09, 2020, 07:18:06 AM
by saka
xx
Speed of rendering...

Started by FractalDave on Off Topic

11 Replies
663 Views
Last post December 17, 2018, 06:00:58 PM
by hobold