public class ViewerGLAdapter
extends PApplet
This class is designed for tests only. It's not a required part of that package. Same code can be found at example pde
The Idea of this code is a presentation of 3D by overriding Processing environment to get direct access to JOGL libraries (which Processing also includes) because some platforms don't support P2D or P3D of Processing.
This source is free; you can redistribute it and/or modify it under the terms of the GNU General Public License and by nameing of the originally author
| Modifier and Type | Field and Description |
|---|---|
(package private) GLAdapter |
adapter |
(package private) ColladaModel[] |
models |
(package private) boolean[] |
modelsEnabled |
| Constructor and Description |
|---|
ViewerGLAdapter() |
| Modifier and Type | Method and Description |
|---|---|
private void |
colorManipulations() |
void |
draw() |
private void |
drawColladaModel(ColladaModel model) |
void |
keyPressed() |
static void |
main(java.lang.String[] args) |
void |
mouseDragged() |
void |
settings() |
void |
setup() |
private void |
shapeManipulations() |
boolean[] modelsEnabled
GLAdapter adapter
ColladaModel[] models
public void settings()
public void setup()
public void draw()
public void mouseDragged()
public void keyPressed()
private void colorManipulations()
private void shapeManipulations()
private void drawColladaModel(ColladaModel model)
public static void main(java.lang.String[] args)