Commit Graph

51 Commits

Author SHA1 Message Date
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
codeanticode
2d3a7a6610 PShapeOpenGL.createShape3D() is public 2013-01-16 19:35:41 +00:00
codeanticode
ac8a2a98a3 Removed PGL.Context subclass 2013-01-16 16:02:18 +00:00
codeanticode
57f3797bb8 added PShape.setTexture(), PShape.setTextureMode() 2012-12-31 00:40:47 +00:00
codeanticode
1e193ca436 More warning messages 2012-12-31 00:30:08 +00:00
codeanticode
a4a0369e90 PShape API updates 2012-12-30 22:50:23 +00:00
codeanticode
4c4fd98425 sync with java mode 2012-12-10 22:07:37 +00:00
codeanticode
a26e64c515 completed transition to direct buffers 2012-12-09 21:04:29 +00:00
codeanticode
144eaa14cb continue working with direct buffers 2012-12-09 17:59:38 +00:00
codeanticode
3a165aa27d More direct buffer changes 2012-12-09 17:23:30 +00:00
codeanticode
412397b845 Moving to direct buffers in GL renderer 2012-12-09 16:34:42 +00:00
benfry
8a1bbecefd change hint to DISABLE_OPTIMIZED_STROKE (issue #1302) 2012-12-06 17:48:26 +00:00
codeanticode
97dd0b0f1b Correct logic of begin/end contours in PShape. Fixes issue #1417 2012-11-27 02:40:02 +00:00
codeanticode
65f8e12c97 sets the ambient color in PShapeOpenGL when setting fill for the first time, fixes issue 1342 2012-11-21 01:21:18 +00:00
codeanticode
12ac541ea8 BaseShader class is parent for all shader types in PGraphicsOpenGL 2012-11-19 23:50:51 +00:00
codeanticode
c64a5958dd android sync 2012-09-03 22:42:56 +00:00
codeanticode
ebf861adef OBJ-loading code moved into PShapeOBJ, removed PShape2D and PShap3D 2012-09-03 22:21:49 +00:00
codeanticode
874bb174ed removed parameter cache, some tweaks to the Texture class 2012-09-02 21:51:02 +00:00
benfry
de1715cc31 more tweaks 2012-09-02 20:37:37 +00:00
codeanticode
720d1ef25c hintEnabled is a utility protected method in PGraphicsOpenGL 2012-09-02 15:59:25 +00:00
codeanticode
754eb380db Added static context variable to PGL, in order to detect surface restarts. Fixed issue 1146 2012-09-01 21:34:21 +00:00
benfry
232390c02c move PConstants around a bit, add annotations for overrides, cleaning up unapproved PShape additions 2012-09-01 18:05:24 +00:00
benfry
b61f3c26b6 add annotations for overrides... starting cleanup of shape 2012-09-01 09:26:38 +00:00
codeanticode
96a326e795 fixes in color update in PShapeOpenGL 2012-08-30 16:42:57 +00:00
codeanticode
58e5207584 removed gl prefix to the opengl functions in PGL, renamed beginGL/endGL to beginPGL/endPGL 2012-08-10 21:03:51 +00:00
codeanticode
70db6fc1d5 added setVertex(int, PVector) to PShape 2012-07-24 20:31:39 +00:00