Commit Graph

344 Commits

Author SHA1 Message Date
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
codeanticode
fa44457bf2 Implemented rest of auto normal calculation methods, except for point and line 2012-01-10 04:10:03 +00:00
codeanticode
52f29dc97f calcTrianglesNormals() implementation 2012-01-10 01:49:19 +00:00
codeanticode
d3e16b34fb Added the methods for auto normal mode 2012-01-10 01:17:08 +00:00
codeanticode
3a98d95654 Updated a bunch of opengl examples 2012-01-10 00:11:57 +00:00
codeanticode
77734fb54b Fixed index error in point tessellation 2012-01-09 23:35:09 +00:00
codeanticode
56911e28f7 Fixed normal sign in directional light 2012-01-09 21:36:37 +00:00
codeanticode
9a3663138d noFill, noTint and noStroke in PShape don't re-enable fill, tint and stroke. 2012-01-09 21:24:07 +00:00
codeanticode
0529f20716 Added dynamic/static versions of the particle system example, removed original one 2012-01-09 20:21:21 +00:00
codeanticode
dcdab48e2a Presence of texture and transformation matrix in child shapes is pre-computed before draw() 2012-01-09 19:58:28 +00:00
codeanticode
3615be7f72 Added tint() methods to PShape and PShape3D 2012-01-09 16:39:22 +00:00
codeanticode
1ddfa8b5e9 Expanding vertex cache by doubling previous size 2012-01-09 13:32:29 +00:00
codeanticode
a323a7e7ec Added center() method, updated ParticleSystem example 2012-01-09 05:20:28 +00:00
codeanticode
45160dd538 noStroke and noFill in PShape3D now work when called after building the shape. 2012-01-08 22:28:56 +00:00
codeanticode
ad7fe0c8ef Removed unused hashmaps, updateStrokeColor() sets the modified flags 2012-01-08 01:37:20 +00:00
codeanticode
1e3559cd1f Added cache update for line and point data 2012-01-07 22:58:42 +00:00
codeanticode
886e16a28e Implemented cache mechanism for efficient update of PShape3D objects. 2012-01-07 22:33:53 +00:00
codeanticode
71ca87e6b1 Added manual control of transform caching via a new hint. 2012-01-06 22:00:12 +00:00
codeanticode
49d4603232 Simplified handling of projection, modelview and camera transformations 2012-01-05 20:35:12 +00:00
codeanticode
4eef5a3efc Fixed problem with update of fill indices. 2011-12-23 15:53:22 +00:00
codeanticode
8e3794de1b Some tweaks in loadPixels, get, set 2011-12-21 04:33:12 +00:00
codeanticode
a64ab4b725 implemented disable/enable texture cache hint 2011-12-21 02:59:39 +00:00
codeanticode
3257ec3f4e removed 2D hack from P3D 2011-12-21 02:39:28 +00:00