Commit Graph

76 Commits

Author SHA1 Message Date
codeanticode
f2c730b58f continues the removal of static references 2014-01-20 12:14:35 -05:00
codeanticode
a8a15d112e making pgl non-static member of PGraphicsOpenGL 2014-01-19 01:56:55 -05:00
codeanticode
8981790c21 set prevTexImage in setLastTexIndex, fix #2205 2014-01-04 16:09:05 -05:00
codeanticode
4f186536bf move drawElements() call to PShader.draw() 2013-10-27 23:49:13 -04:00
codeanticode
b372046e44 comments for issues #1844 and #2125, added some warnings, fixed #2034 2013-10-25 12:38:33 -04:00
codeanticode
093bc6cde6 complete scaling/translations when the shape is 3D 2013-10-20 00:51:41 -04:00
codeanticode
f33ca59c5f removed shader inner-classes in PGraphicsOpenGL, now everything is in
PShader
2013-10-19 09:29:44 -04:00
codeanticode
0e6dc98dc1 update PShape tessellation when requesting vertex codes 2013-10-18 21:09:38 -04:00
codeanticode
30ce02d0ec reset curveVertexCount when tessellating a polygon PShape 2013-10-18 16:15:32 -04:00
codeanticode
bb4da2575e removed some old code 2013-10-18 15:06:47 -04:00
codeanticode
31b9f385f5 finished implementing new path tessellation using vertex codes 2013-10-18 11:44:20 -04:00
codeanticode
3231d63fbd fixed handling of breaks 2013-10-17 18:55:24 -04:00
codeanticode
92755a2b1a a few more 2013-10-16 00:14:12 -04:00
codeanticode
62f07ec9ce a couple of tweaks 2013-10-16 00:13:51 -04:00
codeanticode
626bc8f70c removed first,last vertex and count from InGeometry, implementing vertex
codes
2013-10-15 23:41:42 -04:00
codeanticode
40198890bb solved some issues in PShader, better handling of gl buffers when using
built-in shaders
2013-10-07 00:30:15 -04:00
codeanticode
023a3b21ef using CORNER for rectMode and ellipseMode by default in PShapeOpenGL,
fix #2086
2013-10-06 17:51:14 -04:00
codeanticode
1604cfd001 fix #2097 2013-10-06 15:27:46 -04:00
codeanticode
2a7d4ffba2 create PMatrix2D or 3D in PShapeOpenGL depending on value of is3D 2013-10-05 13:39:29 -04:00
codeanticode
c41c53f931 some debugging 2013-10-04 18:54:31 -04:00
codeanticode
cae8269fbd fixed error in flushPolys()/renderPolys() 2013-09-04 20:13:42 -04:00
codeanticode
6cf649a0ce cleanup inner shader classes, and minor tweaks 2013-09-04 19:04:43 -04:00
codeanticode
c34696353d fixed handling of rect parametrers in PShape 2013-09-03 15:12:39 -04:00
codeanticode
7fd1455061 fix #1990 2013-09-03 14:40:34 -04:00
codeanticode
8d2b69b0c5 fix #2061 2013-09-03 12:07:54 -04:00
codeanticode
bb518933b0 PShapeOpenGL uses close field from parent PShape, this takes care of
#2035
2013-09-03 11:51:04 -04:00
codeanticode
6bd22196b7 save the sphere detail from the renderer when creating a PShape (or pass
it as a parameter to createShape)
2013-08-25 13:54:12 -04:00
codeanticode
28e2501a11 added MAX_POINT_ACCURACY constant to cap number of segments used when
drawing an ellipse
2013-08-20 18:41:35 -04:00
Ben Fry
3d256d8574 basic implementation of getShape() for PFont 2013-06-27 16:41:22 -04:00
codeanticode
ae8b59d7b8 update tessellation for path shapes as well 2013-06-03 11:43:02 -04:00
codeanticode
f3491cbc2c address regression reported in #1846 2013-06-03 11:23:04 -04:00
codeanticode
aa2ac0600b PShapeOpenGL.setTexture() calls setTexture() on children shapes. 2013-05-28 10:37:55 -04:00
codeanticode
1a20adae8c updateTessellation() removed PShapeOpenGL.getVertexCount() 2013-05-25 10:00:13 -04:00
codeanticode
36f92607c3 Removed some commented-out code 2013-05-25 02:24:11 -04:00
codeanticode
de9cbc0dbd markForTessellation shouldn't be public 2013-05-25 02:11:49 -04:00
codeanticode
cce3972900 Don't recreate VBOs in PShapeOpenGL, unless there is a new GL context 2013-05-25 02:10:28 -04:00
codeanticode
8ed4286657 Remove uv clamping 2013-05-23 17:37:29 -04:00
codeanticode
c5017babaa Fixes issues #1805 and #1806 2013-05-22 14:48:01 -04:00
codeanticode
7c82286fe8 Fixes issue #1771 2013-05-18 19:45:34 -04:00
codeanticode
2d3db38cb8 Address issue #1758 2013-05-18 06:49:54 -04:00
codeanticode
2f2f2454e6 renamed release() as dispose() in all GL classes for consistency with
PGraphics.dispose()
2013-04-24 16:02:04 -04:00
codeanticode
1831d33183 Made PGL object static, removed references to parent and renderer in
Texture and FrameBuffer object, fixed PGraphicsOpenGL.dispose()
2013-04-21 09:33:17 -04:00
codeanticode
1eedcab149 Fix #1671 2013-03-25 09:27:37 -04:00
codeanticode
6ed2b23a9c Fixes issue #1659 2013-03-25 09:15:28 -04:00
codeanticode
4ff80b42ee Fixes #1641 2013-02-22 15:22:30 -05:00
codeanticode
39a8ac7a04 getVertexCount() updates tessellation if needed 2013-02-20 11:27:01 -05:00
codeanticode
eef67d2c7c last name change in the shaders: endpoint to direction in line shader 2013-02-19 10:35:48 -05:00
codeanticode
444ed9bd78 variable renaming (Texcoord -> TexCoord) 2013-02-18 12:11:37 -05:00
codeanticode
e6989c6be0 Fixes #1498 2013-02-17 14:35:15 -05:00
codeanticode
b52563aed2 added mode to primitive PShape of type ARC 2013-02-16 19:32:01 -05:00