Commit Graph

5201 Commits

Author SHA1 Message Date
codeanticode a62def77fd Updating opengl to jogl 2.0-rc5 2012-02-15 20:44:32 +00:00
codeanticode 3a4dfb3203 endPGL in android as well 2012-02-14 23:44:00 +00:00
fjenett c9a940fde8 fixed bug in js mode introduced when refactoring 2012-02-14 20:05:07 +00:00
benfry 87dab6e34a moving to endPGL() to match beginPGL() 2012-02-14 20:00:31 +00:00
codeanticode 7d8ecca2d6 glFlush() before endOnscreenDraw() call 2012-02-14 19:06:14 +00:00
fjenett 50061e5c0d removing coffeescript from build.xml 2012-02-14 17:53:49 +00:00
fjenett 6a5245fa69 removing coffeescript mode 2012-02-14 17:50:40 +00:00
codeanticode f4fe1d0030 putting back old jogl2 files 2012-02-14 12:24:31 +00:00
fjenett b48a5e3d14 javascript / coffeescript mode cleaning up 2012-02-14 09:31:28 +00:00
fjenett f2099af15f starting coffeescript mode 2012-02-14 09:17:01 +00:00
codeanticode 742cfc364a Removing old jogl for windows 2012-02-14 01:36:08 +00:00
codeanticode 46063bd711 and notes for the opengl pc/mac examples 2012-02-13 21:42:31 +00:00
codeanticode e1739d5974 and the changes in the android-opengl examples 2012-02-13 21:36:52 +00:00
codeanticode 2668db6ce6 GLU source files 2012-02-13 21:31:29 +00:00
codeanticode 929e9229c9 GLU tessellator for Android, some corrections in examples 2012-02-13 21:29:17 +00:00
codeanticode b8e9aa7ccf Added shader examples to OpenGL Android 2012-02-13 06:48:31 +00:00
codeanticode e5e6dcac22 Ported shader improvements to Android 2012-02-13 06:47:44 +00:00
codeanticode 2307724a5e Added shader examples 2012-02-13 06:09:00 +00:00
codeanticode 82f53e87c2 Handling missing attributes, fixed loading of shader loading 2012-02-13 06:08:35 +00:00
codeanticode a554f6f757 Added texcoord matrix, reworked the shader setting methods a bit. 2012-02-13 05:00:23 +00:00
codeanticode 2f723a0403 Added new OpenGL examples for Android 2012-02-12 21:33:18 +00:00
codeanticode ff0b8e7877 added shader.setTexture() call in PShape3D.renderFill() 2012-02-12 21:09:16 +00:00
codeanticode be51cbc787 Updated OpenGL examples 2012-02-12 16:19:55 +00:00
codeanticode 8b72e8e52a Moved default material properties from PGraphics to PGraphicsOpenGL/Android3D 2012-02-12 16:19:27 +00:00
codeanticode 51ec62ff1e Default specular light is 0. 2012-02-12 15:58:15 +00:00
codeanticode 2bae5ffecb Added scale and offset uniforms to tex shader to properly handle npot and inverted textures 2012-02-12 15:33:33 +00:00
codeanticode 530c28a5f5 Checking the line and point shaders back in 2012-02-12 01:27:16 +00:00
codeanticode 5ea73a1c41 Ported GLSL renderering from PGraphicsAndroid3D to PGraphicsOpenGL, several fixes 2012-02-12 01:22:42 +00:00
fjenett 52b1828a49 fix for js mode hang (issue #936) and reopen server in browser menu item 2012-02-11 07:38:11 +00:00
codeanticode 07b6b8630b Fixed direction signs in Directional example 2012-02-11 05:30:26 +00:00
codeanticode c02ab789fd Correct light direction sign in shader, fixing auto-normal calculation 2012-02-11 05:27:53 +00:00
codeanticode b2270b93ef Fixed a couple of bugs in the calculation of the normal matrix 2012-02-11 02:18:24 +00:00
codeanticode 307cca4707 Reset the inverse of the modelview in resetMatrix(). 2012-02-11 01:24:38 +00:00
benfry 8a8097a99d moving to SDK 10 instead of 9 (or 8) for Android 2012-02-10 23:30:51 +00:00
codeanticode 76dfbe848f Another missing normalization 2012-02-10 23:22:21 +00:00
codeanticode bf20d8cd2f Updated full vertex shader with the last changes from the lit shader. 2012-02-10 22:37:22 +00:00
codeanticode 58ddc28f4e Combined falloff and spot parameters into vec3 and vec2 uniforms 2012-02-10 22:35:16 +00:00
codeanticode 801627f089 Added some missing normalizations in light calculation 2012-02-10 22:09:30 +00:00
codeanticode eac95f7164 SDK 9 (2.3) as requirement for Android 2012-02-10 20:43:33 +00:00
codeanticode 5aaf47636b Light ambient, diffuse and specular only have rgb components 2012-02-10 19:48:23 +00:00
codeanticode 406c4d5778 Applying normal matrix to normal vectors in tessellator routines 2012-02-10 19:39:40 +00:00
codeanticode b421c2f7d9 Some light debugging. Diffuse working, still need to fix normal calc 2012-02-10 16:41:18 +00:00
benfry a8486399c1 todo items 2012-02-09 21:47:30 +00:00
benfry 532c530042 tweaks for percentage 2012-02-09 21:47:13 +00:00
benfry f6446ac384 fix for args being passed in on the cmd line 2012-02-09 21:46:58 +00:00
codeanticode e4b2edf8cf Fixed index update in renderFill method 2012-02-09 21:46:58 +00:00
benfry be8176ce8c hint() and begin/endPGL bits 2012-02-09 21:35:19 +00:00
codeanticode 1793681ec1 Removed calls to glEnable(target), fixed coloring of fonts 2012-02-09 19:54:14 +00:00
codeanticode 1b869c5d61 Simple fix to lighting code in vertex shaders 2012-02-08 23:58:33 +00:00
codeanticode 4bd0411edc Corrected gl matrix update when starting shaders 2012-02-08 23:42:13 +00:00