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 › Help: OPENGL functions
Page Index Toggle Pages: 1
Help: OPENGL functions? (Read 905 times)
Help: OPENGL functions?
Dec 10th, 2009, 12:26pm
 
Anyone know where I can find a list of these gl.xxxx() functions I can use  in processing?
Re: Help: OPENGL functions?
Reply #1 - Dec 10th, 2009, 1:04pm
 
search the web for jogl api
Re: Help: OPENGL functions?
Reply #2 - Dec 10th, 2009, 1:30pm
 
Thanks man. I found download.java.net/media/jogl/jogl-2.x-docs/ and I tried to put a function into processing but it doesn't seem to work. Can someone tell me what I'm doing wrong please?

code:
import processing.opengl.*;
size(100,100,OPENGL);
GLArrayData test;
test.getComponentType();


Processing says "Cannot find class or type named 'GLArrayData.'"

Sorry for noobiness =s
Re: Help: OPENGL functions?
Reply #3 - Dec 10th, 2009, 2:02pm
 
this page

http://processing.org/reference/libraries/opengl/index.html

has all the processing opengl stuff on it

and i think you might need an extra import to use GLArrayData (which is mentioned in passing on that page)

import javax.media.opengl.*;
Page Index Toggle Pages: 1