Advertisement

wraping text font around a cylinder using open GL

Started by June 03, 2003 02:24 PM
5 comments, last by Kurt Heuser 21 years, 8 months ago
HI, I want to program a vb6 program using open gl to draw a 3d cylinder and then be able to wrap any input text of any font size around it. has anyone coded this before or have any suggestions? Im new to using opengl so any help would be greatly apreciated. thanks Kurt H.
Render text to texture then map this texture to cylinder.

You should never let your fears become the boundaries of your dreams.
You should never let your fears become the boundaries of your dreams.
Advertisement
would you be able to show me or have a link to an example of rendering text to a texture?


thanks again
kurt
just use any of tutorials on rendring to texture (there are quite a lot of them...even on this site) and insted of scene draw text

You should never let your fears become the boundaries of your dreams.
You should never let your fears become the boundaries of your dreams.
How do you draw text on the bitmap?
with Windows''s API GDI (or GDI++)
Then you register the texture to opengl
(you can find me on IRC : #opengl on undernet)
Advertisement
oops... sorry

[edited by - yodaman on June 15, 2003 9:53:12 PM]
www.jinx.com www.thebroken.org www.suprnova.org www.mozilla.org

This topic is closed to new replies.

Advertisement