Commit Graph

327 Commits

Author SHA1 Message Date
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
codeanticode
da9273b9c6 Adding texture caching in immediate mode 2011-12-19 14:17:57 +00:00
codeanticode
19c6476887 Adding support for VAOs 2011-12-17 23:34:48 +00:00
codeanticode
e47e21a26d Wrapping the correct range of geometry when rendering in immediate mode. 2011-12-17 19:59:54 +00:00
codeanticode
b5e72d0782 Reverted changes in hints handling 2011-12-16 06:50:25 +00:00
codeanticode
4913eb5198 Added checks to avoid tessellating empty or ill-defined shapes. 2011-12-16 00:23:13 +00:00
codeanticode
6959a34bd8 Disabled use of path lines 2011-12-15 18:29:14 +00:00
codeanticode
0c14337e67 Added particle system example. 2011-12-14 21:19:44 +00:00
codeanticode
7a0ef2aaeb Added remaining geometric transformation methods to PShape3D. 2011-12-14 21:19:13 +00:00
codeanticode
7a0f3c3d25 Fixed hints handling 2011-12-14 20:47:52 +00:00
codeanticode
0ba371e382 Translation on PShape3D objects 2011-12-14 20:32:06 +00:00
codeanticode
05c4bb80cd Added accurate_2d hint, flush calls. 2011-12-14 16:33:00 +00:00
codeanticode
033eb45e14 Fixed drawTexture() method so it properly restores blend mode. 2011-12-13 20:47:08 +00:00
codeanticode
365ff45f62 Removed y inversion from screenXYZ methods. 2011-12-13 18:27:01 +00:00
codeanticode
1ee3dab312 Putting drawing methods from PShape3D in PShape, updated examples 2011-12-12 05:44:39 +00:00
codeanticode
e051c1325c Added two more examples: SmoothChange and Primitive 2011-12-12 05:03:51 +00:00
codeanticode
b3e899524b Updated poly examples to use beginContour/endContour, fixed stroke weight calculation in 2D 2011-12-12 04:44:27 +00:00
codeanticode
ffbf9af5ed Added new P3D examples 2011-12-12 04:20:41 +00:00