Commit Graph

430 Commits

Author SHA1 Message Date
codeanticode 929e9229c9 GLU tessellator for Android, some corrections in examples 2012-02-13 21:29:17 +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 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
codeanticode 07b6b8630b Fixed direction signs in Directional example 2012-02-11 05:30:26 +00:00
benfry be8176ce8c hint() and begin/endPGL bits 2012-02-09 21:35:19 +00:00
codeanticode 056df405a7 Corrected size of cache of point attributes in PShape3D 2012-01-29 21:04:08 +00:00
codeanticode 61d5899b52 Synch renderers 2012-01-29 20:05:20 +00:00
codeanticode 3b923bd588 Array expansion is linear in retained mode 2012-01-27 22:39:14 +00:00
codeanticode 90302567e2 Initializing textures with small patches to avoid use of large arrays 2012-01-27 21:26:51 +00:00
codeanticode 27d03c3376 Completed index grouping in PShape3D 2012-01-27 04:51:20 +00:00
codeanticode cc57b0b195 Adding index data to PShape3D to deal with large models in android 2012-01-26 01:06:29 +00:00
codeanticode 7533d71404 Checking for vertex overflows in immediate mode 2012-01-25 22:20:39 +00:00
codeanticode 2195921824 Check shape sizes in immediate mode, flush when become too large 2012-01-25 17:42:11 +00:00
codeanticode 31a0d67843 Moved some more constants to PGL 2012-01-24 18:36:26 +00:00
codeanticode 85360acebf Constants for max lights, tess vertices and indices moved to PGL 2012-01-24 06:07:25 +00:00
codeanticode 19ab49c297 Fixed hints error 2012-01-24 02:58:36 +00:00
codeanticode a56751beca Updated initialization code in PGL for android and java, changed vertex indices to short in android 2012-01-24 00:54:28 +00:00
codeanticode 8bce0e93c4 Moved initialization code to PGL 2012-01-23 15:40:40 +00:00
codeanticode caf3efc107 Updated PGL interface 2012-01-22 02:04:09 +00:00
codeanticode 50cebf56af Added direct-buffer copy to video library 2012-01-22 02:03:35 +00:00
codeanticode f04373e11d Added new hint to enable/disable perspective corrected lines 2012-01-20 16:59:15 +00:00
codeanticode e1c836062c Removing perspective correction from line shader 2012-01-20 16:11:30 +00:00
codeanticode fc7d91744f Added functions to retrieve tess data and map gl buffers in PShape3D 2012-01-20 01:54:02 +00:00
codeanticode 4e8c68d940 Added inversion to screenY() 2012-01-20 00:33:06 +00:00
codeanticode c11b54a9a3 In Android too 2012-01-20 00:01:48 +00:00
codeanticode 95090ae7e0 Fixed setting for additive blending in PGL 2012-01-20 00:00:16 +00:00
codeanticode 23bed6cfda Synchronize Android and Java PGL classes 2012-01-17 23:48:11 +00:00
codeanticode 767e559adf Added queryTexture() to avoid creating new texture in vertexImpl() 2012-01-17 22:56:06 +00:00
codeanticode 8c1c63a772 Some PGL reorganization 2012-01-17 20:36:38 +00:00
codeanticode 0f17efa9fd Code cleanup, updated TexturedSphere example, some more fixes 2012-01-17 18:08:30 +00:00
codeanticode 23f9596f36 Updated example 2012-01-17 17:16:11 +00:00
codeanticode 5ef9c96e5e Several fixes 2012-01-17 17:15:54 +00:00
codeanticode a23acca863 Added PGL layer 2012-01-17 03:26:32 +00:00
codeanticode f11c16b941 Fixed texture cache handling in renderFill() 2012-01-14 19:36:18 +00:00
codeanticode 0df181a900 Removed offset-towards-camera in line shader, to avoid artifacts in 2D renderings 2012-01-14 19:29:55 +00:00
codeanticode 8c82df1b6b Removed geometry matrix 2012-01-14 16:31:03 +00:00
codeanticode b1df242187 Put back the obj loading code 2012-01-13 20:32:45 +00:00
codeanticode b6574c97ce Added new CubicGrid examples comparing immediate vs retained modes 2012-01-10 23:15:15 +00:00
codeanticode 34cc299abd Removed CubicGrid example 2012-01-10 23:14:24 +00:00
codeanticode 384f0c5d9e Reimplemented center methods 2012-01-10 22:35:59 +00:00
codeanticode e26f6f4f63 Update particle examples 2012-01-10 14:07:08 +00:00
codeanticode 7bce961766 Handling calls from group shapes 2012-01-10 14:06:48 +00:00