We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOpenGL and 3D Libraries › Using OpenGL renderer + Applet TextFields
Page Index Toggle Pages: 1
Using OpenGL renderer + Applet TextFields (Read 350 times)
Using OpenGL renderer + Applet TextFields
Jul 15th, 2008, 9:06pm
 
Hey,
I have a problem when I use OpenGL [size(x,y,OPENGL)]. Basically, I need it to properly map textures on multiple planes. This, however, causes the text field I made to disappear....any possible solutions?

Basically I need a way to input simple user specified parameters such as, framerate. Is there a way to do this with a command prompt or maybe start two applets? One using OPENGL and one just for input fields? (This does not need to be web compatible)

-Thanks a lot & any help is grearly appreciated.
Re: Using OpenGL renderer + Applet TextFields
Reply #1 - Jul 16th, 2008, 2:12am
 
you can try controlP5's textfield. by using a controlWindow you can open a separate window, too.
textfield example
controlWindow example
using the textfield on top of the main window is also possible. if you use translate or rotate in your code, make sure you put pushMatrix() first and popMatrix() last in the draw function.
Page Index Toggle Pages: 1