Commit Graph

101 Commits

Author SHA1 Message Date
Ben Fry
facadfc9f5 catch issues with per-vertex coloring/styles (fixes #3677) 2015-08-21 10:57:00 -04:00
Ben Fry
0a62e9fc9c take care of ellipse/rect/image modes in PShape (fixes #3685) 2015-08-21 10:24:45 -04:00
Jakub Valtar
dea4b450bd Fix null pointer exception in setVertex 2015-08-08 14:49:48 -04:00
Jakub Valtar
43acb69c49 Fix setVertex for PATH PShapeOpenGL 2015-08-03 18:00:08 -04:00
Jakub Valtar
937942b5ef Fix PShape ellipses 2015-07-29 17:14:48 -04:00
Jakub Valtar
771d24c566 Fix PShape rects 2015-07-29 17:12:18 -04:00
Jakub Valtar
6a9493ebda Fix PShape arcs 2015-07-29 17:11:53 -04:00
Jakub Valtar
6c327dab65 PShape gets rect/ellipse mode from parent 2015-07-29 17:11:19 -04:00
codeanticode
54a3c55590 finished implementing attrib API 2015-07-13 01:30:29 -04:00
codeanticode
48e136bb79 implementing new gl resource disposal method based on WeakReferences 2015-06-23 16:49:14 -04:00
codeanticode
ed573d10e2 tessellator is no longer static 2015-06-21 08:58:17 -04:00
codeanticode
8a8ace9bed don't need 2D/3D versions of createShape() 2015-06-12 15:48:12 -04:00
codeanticode
0340afee00 collect child attributes in root 2015-05-31 18:06:24 -04:00
codeanticode
c7dc28b518 initialize attribs in right place 2015-05-24 09:40:29 -04:00
Ben Fry
631cb4276d rewrite createShape() handling to clean up the mess 2015-04-28 12:42:53 -04:00
codeanticode
b29fc259fe correctly detect if the attribute is active 2015-03-31 16:05:14 -04:00
codeanticode
fcff028cf3 check if attribute is active 2015-03-31 15:39:46 -04:00
codeanticode
c226badf22 added bind and unbind to VertexAttribute class 2015-03-31 15:09:22 -04:00
codeanticode
9eddc337ad implemented setAttrib() methods 2015-03-31 12:14:52 -04:00
codeanticode
4e7f76ceb3 more work in PShape, same renaming 2015-03-31 12:04:33 -04:00
codeanticode
828cafa44a attrib bits in PShape 2015-03-31 11:45:51 -04:00
codeanticode
42f018e02a use local copies of attribute hashmap 2015-03-18 15:16:59 -04:00
codeanticode
c6834915ec attribute logic in InGeometry 2015-03-18 14:18:54 -04:00
Jakub Valtar
afb79fc769 Fixing winding: PShapeOpenGL is solid by default 2014-11-04 09:29:13 +01:00
codeanticode
6cc396152f testing some functions/methods in PShapeOpenGL in advance of upcoming
refactoring
2014-07-22 15:55:54 -04:00
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