dumb question…
i want to create a bitmap in memory, write some text on it, then upload it to opengl.
can anyone tell me how to do this?
many thanks!
mark
PS - i’m using windows
dumb question…
i want to create a bitmap in memory, write some text on it, then upload it to opengl.
can anyone tell me how to do this?
many thanks!
mark
PS - i’m using windows
http://msdn.microsoft.com/
Search for
Create a memory DC, a device independent bitmap, fill it with your background color, select a font, write the text with text out, get the bits, use glTexImage2D.
Better search the internet for someone who did all that already.
This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.