Commit Graph

554 Commits

Author SHA1 Message Date
codeanticode
7ac9043abb update active variable in PShader, unbind VBOs in drawTexture, drawRect 2012-05-26 23:32:12 +00:00
codeanticode
2dbecb9373 Examples update, some more cleanup in PShapeOpenGL 2012-05-26 21:45:49 +00:00
codeanticode
2b758dbba4 removed TessMap 2012-05-26 20:46:14 +00:00
codeanticode
d83b995c26 Added POINT_ACCURACY_FACTOR 2012-05-26 20:16:14 +00:00
codeanticode
289be2c297 hint for enabling perspective-corrected lines in P2D is disabled. 2012-05-26 19:27:08 +00:00
codeanticode
b57e24e729 header corrections 2012-05-26 17:43:15 +00:00
codeanticode
fdffa2cfa8 made pg static and renamed as pgPrimary, added pgCurrent 2012-05-26 17:41:54 +00:00
codeanticode
67e1757848 revised update color update methods in PShapeOpenGL 2012-05-26 17:16:21 +00:00
codeanticode
f98be31287 missing offset, stroke vertices 2012-05-26 00:05:12 +00:00
codeanticode
31c1e23c48 arguments in ortho() refer to screen center 2012-05-25 17:32:09 +00:00
codeanticode
ce0efb24f6 renamed resetShader to defaultShader, updated examples 2012-05-25 16:45:23 +00:00
codeanticode
2a8c034e38 Adding transform matrix to tessellator to calculate line weight in screen space 2012-05-25 16:11:41 +00:00
codeanticode
7d180e8984 More detailed condition to enable/disable full caps and joins in 2D 2012-05-25 14:58:45 +00:00
codeanticode
f498bbdcde taking care of empty groups in PShapeOpenGL, some additional methods 2012-05-24 15:46:04 +00:00
codeanticode
6a57d75c6d updated example so it doesn't use getCenter 2012-05-23 23:42:35 +00:00
codeanticode
8a56dafe12 Removed getCenter method in PShape 2012-05-23 23:42:13 +00:00
codeanticode
a5a572fb8d Minor examples update 2012-05-23 23:32:00 +00:00
codeanticode
c63a06a8f0 loadShape properly implemented across renderers 2012-05-23 23:31:25 +00:00
codeanticode
a9c69166f0 PShape fixes 2012-05-23 19:32:54 +00:00
codeanticode
28bffbdd0b Fixed error with order of PMatrix2D elements 2012-05-23 02:35:04 +00:00
codeanticode
9663afe69c Fixed the shape break logic in immediate and retained mode 2012-05-23 01:55:10 +00:00
codeanticode
db271212a8 Updated Shaders examples 2012-05-22 03:55:09 +00:00
codeanticode
e4fefd4f53 Removed polyTypes 2012-05-22 03:53:16 +00:00
codeanticode
562270515f Fixed poly rendering in PShapeOpenGL 2012-05-22 03:43:42 +00:00
codeanticode
a4af82c9e1 More on 3D warnings 2012-05-22 02:51:50 +00:00
codeanticode
527d339ee4 More impl methods so things work in 2D 2012-05-22 02:24:17 +00:00
codeanticode
ea62e872a1 Moved shape creation and IO methods to PGraphicsOpenGL subclasses, check for 3D operations in PGraphics2D and PShape2D 2012-05-21 22:31:27 +00:00
codeanticode
53d78ec2ae More 2D/3D handling 2012-05-21 21:26:55 +00:00
codeanticode
8fb1dbc800 Clean-up line/point tessellation code 2012-05-21 20:36:51 +00:00
codeanticode
c77fdadd31 2D/3D separation in PShape 2012-05-21 19:29:24 +00:00
codeanticode
c723e59b7e Setting vertex types for poly geom 2012-05-21 16:46:05 +00:00
codeanticode
8bb1910b9c Replaced fill prefix by poly 2012-05-21 16:28:07 +00:00
codeanticode
971c5b39f9 Added GLSL_VERSION constant 2012-05-20 05:12:10 +00:00
codeanticode
7789ac5ca2 texture cache is not used in retained mode 2012-05-20 02:54:25 +00:00
codeanticode
152fc4b1c3 bind GL_ELEMENT_ARRAY_BUFFER in flush methods, take care of texturing in stroked geo in P2D. 2012-05-20 02:26:51 +00:00
benfry
177c84076b getting rid of geom package after all 2012-05-18 19:59:25 +00:00
benfry
4eb708dacb cleaning up line classes 2012-05-18 19:57:40 +00:00
codeanticode
daed64d1d4 Refactoring PShape in OpenGL, added PShapeOpenGL and PShape2D 2012-05-17 00:20:09 +00:00
codeanticode
974631f75f point tessellation in P2D 2012-05-16 23:57:33 +00:00
codeanticode
0027bd8381 raw point corrections, retained mode 2012-05-16 23:11:16 +00:00
codeanticode
1cefcd7f69 raw points 2012-05-16 22:31:09 +00:00
codeanticode
7ab22ffd9f taking care of updates in retained mode 2012-05-16 22:01:27 +00:00
codeanticode
a745cb8d24 Stroke tessellation in retained mode 2012-05-16 17:52:00 +00:00
codeanticode
9cf0e725dd Handling division-by-zero situation in LineStroker, added MIN_CAPS_JOINS_WEIGHT constant in PGL 2012-05-16 15:49:00 +00:00
codeanticode
923872caea Using path stroker in 2D 2012-05-16 00:49:23 +00:00
codeanticode
4b9be83ad2 Checking-in the new processing.opengl.geom including the linear path stroker. 2012-05-15 21:40:04 +00:00
codeanticode
8f5da964c8 Put back the tessellatePath() code for strokes in P2D 2012-05-11 22:23:31 +00:00
codeanticode
9dd706c7fd Simpler query in PShape3D 2012-05-11 21:58:44 +00:00
codeanticode
e152979b40 Fixed path tessellation in PShape3D 2012-05-11 19:43:44 +00:00
codeanticode
a36e550600 Fixed use of Arrays.fill(), primitive shapes modes, provisional code for shape copy 2012-05-11 16:13:37 +00:00