PhoenixByte
02-19-2005, 05:55 PM
This is what I'm trying to do:
1.Display the message requesting user to choose the texture they wanted
2.User will type in which texture
3.My code accepts it and change the texture
4.Renders the scene / object
Before this I've tried using cin and cout before the renderscene but it didn't work. Someone told me to use Winproc instead. The problem is, I didn't know the code to that or how to do it. Been searching everywhere for it but to no avail.
Is there any tutorial I can use which teaches how to get text input from the user for OpenGL? Please help.
1.Display the message requesting user to choose the texture they wanted
2.User will type in which texture
3.My code accepts it and change the texture
4.Renders the scene / object
Before this I've tried using cin and cout before the renderscene but it didn't work. Someone told me to use Winproc instead. The problem is, I didn't know the code to that or how to do it. Been searching everywhere for it but to no avail.
Is there any tutorial I can use which teaches how to get text input from the user for OpenGL? Please help.