Click to See Complete Forum and Search --> : opengl using VB
ongtw
Jan 29th, 2002, 01:47 AM
can anyone enlighten me on how to print characters in opengl context using visual basic? I've rendered some graphics on my opengl context but am unable to render the ASCII characters.
PLEASE HELP.:confused:
PsychoMark
Jan 29th, 2002, 02:31 AM
http://nehe.gamedev.net/opengl3.asp and http://nehe.gamedev.net/tutorials/lesson17.asp
(the last one was what I needed, most tutorials except the latest have VB source too)
ongtw
Jan 29th, 2002, 09:26 PM
the height of the character is somehow static. i can't manage to change it although i think it can be changed. what could be the problem?
ongtw
Jan 30th, 2002, 12:14 AM
i'm using glulookat command to set my camera. the example that you directed me to was not using any of it and i found out that i'm only able to view the characters after i disable the line glulookat. can i use glulookat and still be able to see the characters? please help
PsychoMark
Jan 30th, 2002, 02:21 AM
My knowledge of OpenGL is not really much yet, haven't had time to keep it up to date, so I can only guess. As far as I know, the view changes before the text is drawn, so you can use X,Y-coordinates instead of world coordinates. If done correctly, I don't think it will matter much if you're using glulookat.
I've had some good experiences with the NeHe forums though, maybe you could ask there, since I don't think a lot of OpenGL experts use VB (most of them prefer DirectX :))...
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.