Commit Graph

741 Commits

Author SHA1 Message Date
codeanticode 1a05916a50 Sync android and desktop versions of P3D. 2012-03-30 21:40:58 +00:00
codeanticode 1384da730b Boundary checking in updatePixelsImpl() 2012-03-29 21:15:48 +00:00
codeanticode bfd10fc995 Fixed invocation of updatePixelsImpl() in PImage 2012-03-29 19:32:39 +00:00
codeanticode 61f00b3bd1 Added precision to source of rectangle shader on Android 2012-03-27 21:03:28 +00:00
codeanticode edf64a99fb Added drawRectangle() to PGL, reimplemented set(x, y, color) method. 2012-03-27 20:52:13 +00:00
benfry 410bf3dd91 fix problems with native lib copy and better errors msgs for full screen problems 2012-03-27 17:08:04 +00:00
benfry 5ae944da16 moving OpenGL classes around to prevent overall pollution of processing.core package. 2012-03-25 22:09:36 +00:00
benfry 193a6621d5 renaming Android 3D 2012-03-25 21:37:40 +00:00
benfry fff0a12536 add toString() for XML, looking through todos 2012-03-24 20:03:03 +00:00
benfry 4e28c6b4e7 starting revision 0205 2012-03-23 22:57:23 +00:00
benfry 39ad1b192a f*king delay() is back again 2012-03-23 21:42:38 +00:00
codeanticode e19a0531c9 Removed invalid constants 2012-03-23 19:52:33 +00:00
codeanticode 969a779be2 Depth/stencil bits query, more GL constants supported 2012-03-23 16:29:03 +00:00
codeanticode 1d0eb978e8 Added setRenderer() method to inner shader classes, flushMode is not static anymore 2012-03-23 14:20:58 +00:00
benfry b4b153b7dc fighting with Android quirks in the latest Google SDK 2012-03-23 00:39:33 +00:00
codeanticode 9ca741bedd Fixed calculation of texture matrix, some tweaks in beginDraw() 2012-03-22 20:48:40 +00:00
codeanticode e0c085413d Revised clear-buffer logic 2012-03-22 17:56:22 +00:00
codeanticode f1338a4472 FBO-based onscreen rendering for incremental drawing on Android is working again, added some more PGL utilities. 2012-03-22 17:30:36 +00:00
benfry 86b1619a35 settings/indent tweak 2012-03-22 02:51:09 +00:00
codeanticode aff8f10446 Added hint to some examples 2012-03-20 14:36:53 +00:00
codeanticode 9e71ae0f05 Sync P3D on Android 2012-03-20 14:35:03 +00:00
codeanticode 3a4dfb3203 endPGL in android as well 2012-02-14 23:44:00 +00:00
codeanticode 7d8ecca2d6 glFlush() before endOnscreenDraw() call 2012-02-14 19:06:14 +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 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 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 5ea73a1c41 Ported GLSL renderering from PGraphicsAndroid3D to PGraphicsOpenGL, several fixes 2012-02-12 01:22:42 +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
codeanticode e4b2edf8cf Fixed index update in renderFill method 2012-02-09 21:46:58 +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