ressources about pgl and PGL ? what are differences ?
in
Contributed Library Questions
•
4 months ago
Hello !
I try to understand the way opengl works under processing to adapt code to android opengl2ES.
Could some of you could explain differences between PGL, pgl ?
PGraphics3D pg = (PGraphics3D) g and pg = (Opengl) g ?
or what is the difference between pgl.bindTexture( PGL.TEXTURE_2D, textureID); and pgl.bindTexture( pgl.TEXTURE_2D, textureID);
How can I get the opengl context in processing ?
Before it was something like = GL gl;
My puropse is to generate a texture in my sketch ( bind, enable…), to avoid texture(PImage). Any ideas about this ?
But now, it doesn't seem to work under opengles.…
Any links, advices are welcomed !
thanks.
pauline.
I try to understand the way opengl works under processing to adapt code to android opengl2ES.
Could some of you could explain differences between PGL, pgl ?
PGraphics3D pg = (PGraphics3D) g and pg = (Opengl) g ?
or what is the difference between pgl.bindTexture( PGL.TEXTURE_2D, textureID); and pgl.bindTexture( pgl.TEXTURE_2D, textureID);
How can I get the opengl context in processing ?
Before it was something like = GL gl;
My puropse is to generate a texture in my sketch ( bind, enable…), to avoid texture(PImage). Any ideas about this ?
But now, it doesn't seem to work under opengles.…
Any links, advices are welcomed !
thanks.
pauline.
1