From 46063bd71135a26c55c5d31abbe34f677ef61ccd Mon Sep 17 00:00:00 2001 From: codeanticode Date: Mon, 13 Feb 2012 21:42:31 +0000 Subject: [PATCH] and notes for the opengl pc/mac examples --- java/libraries/opengl/examples/Form/Icosahedra/Icosahedra.pde | 2 ++ java/libraries/opengl/examples/Form/RunAmuck/RunAmuck.pde | 2 ++ .../opengl/examples/Form/TexturedSphere/TexturedSphere.pde | 4 +++- .../opengl/examples/Shaders/ToonShading/ToonShading.pde | 2 ++ .../opengl/examples/Textures/TextureCube/TextureCube.pde | 3 +-- 5 files changed, 10 insertions(+), 3 deletions(-) diff --git a/java/libraries/opengl/examples/Form/Icosahedra/Icosahedra.pde b/java/libraries/opengl/examples/Form/Icosahedra/Icosahedra.pde index 0c046b726..250b00e7a 100755 --- a/java/libraries/opengl/examples/Form/Icosahedra/Icosahedra.pde +++ b/java/libraries/opengl/examples/Form/Icosahedra/Icosahedra.pde @@ -1,3 +1,5 @@ +// ISSUES: normals are not properly set + /** * I Like Icosahedra * by Ira Greenberg. diff --git a/java/libraries/opengl/examples/Form/RunAmuck/RunAmuck.pde b/java/libraries/opengl/examples/Form/RunAmuck/RunAmuck.pde index 7a5b06fc2..17a2602ef 100755 --- a/java/libraries/opengl/examples/Form/RunAmuck/RunAmuck.pde +++ b/java/libraries/opengl/examples/Form/RunAmuck/RunAmuck.pde @@ -1,3 +1,5 @@ +// ISSUES: shapes containing curve vertices don't render properly + /** * Run-Amuck * By Ira Greenberg
diff --git a/java/libraries/opengl/examples/Form/TexturedSphere/TexturedSphere.pde b/java/libraries/opengl/examples/Form/TexturedSphere/TexturedSphere.pde index c106a204c..3beaef6fa 100755 --- a/java/libraries/opengl/examples/Form/TexturedSphere/TexturedSphere.pde +++ b/java/libraries/opengl/examples/Form/TexturedSphere/TexturedSphere.pde @@ -1,3 +1,5 @@ +// ISSUES: normals not correct at the poles, texture border visible + /** * Textured Sphere * by Mike 'Flux' Chang (cleaned up by Aaron Koblin). @@ -169,4 +171,4 @@ void texturedSphere(float r, PImage t) vertex(sphereX[voff]*r, sphereY[voff]*r, sphereZ[voff]*r, u, v); endShape(); -} \ No newline at end of file +} diff --git a/java/libraries/opengl/examples/Shaders/ToonShading/ToonShading.pde b/java/libraries/opengl/examples/Shaders/ToonShading/ToonShading.pde index 275675153..f9ad52101 100644 --- a/java/libraries/opengl/examples/Shaders/ToonShading/ToonShading.pde +++ b/java/libraries/opengl/examples/Shaders/ToonShading/ToonShading.pde @@ -1,5 +1,7 @@ // Example showing the use of a custom lighting shader in order // to apply a toon effect on the scene. +// Based on the glsl tutorial from lighthouse 3D: +// http://www.lighthouse3d.com/tutorials/glsl-tutorial/toon-shader-version-ii/ PShader shader; PGraphicsOpenGL pg; diff --git a/java/libraries/opengl/examples/Textures/TextureCube/TextureCube.pde b/java/libraries/opengl/examples/Textures/TextureCube/TextureCube.pde index 38df04997..9e935b395 100755 --- a/java/libraries/opengl/examples/Textures/TextureCube/TextureCube.pde +++ b/java/libraries/opengl/examples/Textures/TextureCube/TextureCube.pde @@ -3,8 +3,7 @@ * by Dave Bollinger. * * Drag mouse to rotate cube. Demonstrates use of u/v coords in - * vertex() and effect on texture(). The textures get distorted using - * the P3D renderer as you can see, but they look great using OPENGL. + * vertex() and effect on texture(). */