   [OPENGL] Simple GUI techniques
  Hi all! i'm new here :) nice to meet you ...I'm working at a simple project in GLUT,now i need to implement a simple GUI that allow users to write command maybe is better to call it "console" ... Could some one tell me how to implement this feature? I need something simple.. user had to write.. and see on screen what they're writing.. nothing more:P (maybe a background :P)  where i can begin? tuts,article.. something similar...??Tks u! :D Ariok   
  Do u think GLUI is an alternative? Otherwise, try this ?   ;Quote:Original post by ganDo u think GLUI is an alternative? Otherwise, try this ?Hi! thanks u for Answer.. but1- GLUI isn't a solution .. i prefer write myself something easier2- The "Yahoo search engine Google" ecc.. was my first attempt ;)but i didn't find what i was searching for.. and so i decided to search here...   Try to imagine something similar to this :User write in a CONSOLE "create cube"and a cube appear in the same window where user wrote command... i need help on this points:1) When user type a char on keyboard ,this char is shown2) The system must be able to intercept input and pass digited command to a parser or something similar...  thank u again!;Quote:Original post by ariokTry to imagine something similar to this :User write in a CONSOLE "create cube"and a cube appear in the same window where user wrote command...The system you're describing is a number of different systems combined into one.  First of all you have the GUI, in which the user is presented with the console display.  In order to have that, you might want to look at GLUI.  Second of all, you have a scripting engine in which the user input is interpreted by the system.  Finally, you have your own graphics engine which will present the world (your cube).   ;  ok tks!could u show me the way? :P some examples?   ;  Do you mean you want a pop-up console like the one in Quake 3 and such?  If so, you guys are making it way too complex for him.  You're using OpenGL?  NeHe has a nice collection of code people submitted to him, and one of them is what you're looking for :).  2nd one from top.  Enjoy.  As for the cube, well, if you don't know how to create a simple cube you should really go to NeHe's basic tutorials and start reading a bit more about OpenGL.   ;Quote:Original post by JovanDo you mean you want a pop-up console like the one in Quake 3 and such?  If so, you guys are making it way too complex for him.  You're using OpenGL?  NeHe has a nice collection of code people submitted to him, and one of them is what you're looking for :).  2nd one from top.  Enjoy.  As for the cube, well, if you don't know how to create a simple cube you should really go to NeHe's basic tutorials and start reading a bit more about OpenGL.Ok ! tnk u!this is what i was searching for!!!! i never seen this part of the nehe's site! really cool!!!  p.s.uhm....i'm a new but the cube is not a problem i think.. :P   