• March 05, 2021, 07:21:00 AM

Login with username, password and session length

Author Topic:  OpenGL font rendering  (Read 380 times)

0 Members and 1 Guest are viewing this topic.

Offline sjhalayka

  • Fractal Fruit Salad
  • *****
  • Posts: 69
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: 2063
    • 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: 69
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.




question
OpenGL version poll

Started by claude on Kalles Fraktaler

2 Replies
186 Views
Last post February 19, 2021, 04:44:56 AM
by 3DickUlus
xx
OpenGL Core Profile

Started by claude on Fragmentarium

19 Replies
1155 Views
Last post June 17, 2018, 09:30:49 PM
by 3DickUlus
question
Failed to resolve OpenGL functions required to enable AsmBrowser

Started by translarian on Fragmentarium

6 Replies
206 Views
Last post February 15, 2021, 10:31:15 AM
by 3DickUlus
xx
Rendering Help

Started by AbrahamLeWizard on Mandelbulb3d

6 Replies
551 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
477 Views
Last post December 20, 2018, 03:38:47 AM
by FractalDave