codeanticode
fcff028cf3
check if attribute is active
2015-03-31 15:39:46 -04:00
codeanticode
8ac36534d6
fixed index argument
2015-03-31 15:19:47 -04:00
codeanticode
c226badf22
added bind and unbind to VertexAttribute class
2015-03-31 15:09:22 -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
c95f64df26
init attrib arrays
2015-03-30 22:27:00 -04:00
codeanticode
fd00bfdc73
added geometric transformations
2015-03-30 22:12:57 -04:00
codeanticode
efdbc0ae52
some attrib tweaks
2015-03-30 21:56:28 -04:00
codeanticode
c3b0b69eda
attrib functionality (theoretically) done
2015-03-30 21:27:06 -04:00
codeanticode
f35bb56851
expand vertex array in tessellator
2015-03-23 18:22:32 -04:00
codeanticode
0ae7be5f6f
handling attributes in tessellator
2015-03-18 16:05:58 -04:00
codeanticode
42f018e02a
use local copies of attribute hashmap
2015-03-18 15:16:59 -04:00
codeanticode
f46b123ee2
added COLOR attribute
2015-03-18 14:35:37 -04:00
codeanticode
c6834915ec
attribute logic in InGeometry
2015-03-18 14:18:54 -04:00
codeanticode
c8034a37d8
implemented VertexAttribute class
2015-03-17 15:39:20 -04:00
codeanticode
d1056eaa32
started with attribs
2015-03-16 16:52:23 -04:00
codeanticode
12b6626747
put LWJGL in the core
2015-02-20 16:21:15 -05:00
codeanticode
d22eee76fd
draw label texture
2015-01-29 00:49:06 -05:00
Jakub Valtar
d0d88066ef
Change comment
2015-01-28 17:24:56 +01:00
Jakub Valtar
5999bfc14c
Save now creates opaque images from primary surface
...
Fixes #3031
2015-01-28 17:14:13 +01:00
codeanticode
4922e90dd0
trying to get smooth change to work
2015-01-23 17:08:00 -05:00
codeanticode
02330f0196
division by zero check
2015-01-19 17:15:54 -05:00
codeanticode
d26c3f8a03
handle smooth changes in surface
2014-12-16 18:51:43 -05:00
codeanticode
9781a18938
disable SAVE_SURFACE_TO_PIXELS_HACK, and a few other init tweaks
2014-12-15 15:04:45 -05:00
codeanticode
8ac36d5cef
removed allocate
2014-11-16 17:52:13 -07:00
codeanticode
e85237a626
cleaning up PGL
2014-11-15 23:04:32 -07:00
codeanticode
2d5a298288
getting opengl to work with the new renderer architecture
2014-11-15 13:14:26 -07:00
Ben Fry
682c686391
holy smokes what a mess
2014-11-14 16:48:07 -07:00
Ben Fry
69b9e26005
Friday morning in Denver, making more of a mess
2014-11-14 13:18:15 -07:00
Jakub Valtar
6e2c7f8e80
Fixing winding: polygons are now solid
2014-11-04 02:45:51 +01:00
Ben Fry
86fd2655f1
Merge pull request #2921 from JakubValtar/bugfix-blendmodes
...
Multiple blending fixes & improvements
2014-11-03 15:12:40 -05:00
Jakub Valtar
e85f406f0f
OpenGL blending - alpha is added in all modes
...
OA = SA + DA for all modes
now matches Java2D
2014-11-01 18:20:56 +01:00
Jakub Valtar
2de4067933
OpenGL blending - removed unused functions
2014-11-01 18:08:03 +01:00
Jakub Valtar
d8ba582882
OpenGL blending - fixed MULTIPLY
...
O = D * S
now matches Java2D
2014-11-01 18:07:25 +01:00
Jakub Valtar
7c9484c11f
OpenGL blending - fixed SUBTRACT
...
O = D - (S * SA)
now matches Java2D
2014-11-01 18:05:41 +01:00
Jakub Valtar
261e60b5df
Fixed drawing 2D points to PShape ( #2912 )
2014-10-29 13:38:16 +01:00
Federico Bond
e2bf6636ff
Fix check in loadShader()
2014-09-14 21:27:25 -03:00
codeanticode
b3a2a032a8
fix edge condition in stroke edge for arcs ( #2854 )
2014-09-11 11:10:21 -04:00
Federico Bond
7c4544a8ef
Add static modifier to inner classes that don't access parent
2014-08-31 12:51:46 -03:00
codeanticode
efc1fb9592
skip smooth setting if the platform doesn't have at least a MAX_SAMPLES
...
constant
2014-08-06 15:46:48 -04:00
codeanticode
1f7c59d26c
Merge pull request #2649 from JakubValtar/shape-fix
...
Corrected a typo in Tessellator#addQuadraticVertex()
2014-08-04 15:45:14 -04:00
codeanticode
2acea6287c
set alpha channel to opaque after blitting the multisampled FBO, which
...
fixes #2679
2014-07-31 10:46:57 -04:00
Jakub Valtar
406d38d51e
Fixed error reporting for bez/quad/curve vertices
...
When user calls bezierVertex()/quadraticVertex()/curveVertex() and does
not call beginShape()/beginShape(POLYGON) before or forgets to specify
first vertex(), proper error message is shown.
2014-07-26 02:00:26 +02:00
Jakub Valtar
9402ef4a0b
Corrected a typo in Tessellator#addQuadraticVertex()
...
Fixes #2648 - corrected a typo in a5cbb0e2
2014-07-26 00:48:18 +02:00
codeanticode
79b287fdb0
Merge pull request #2638 from JakubValtar/filter-fix
...
fixes #2619 - filter() not applying to images produced by saveframe() consistently
2014-07-22 17:04:08 -04:00
Jakub Valtar
e93ffbbfb3
corrected expected front face orientation CCW -> CW
2014-07-22 18:31:57 +02:00
Jakub Valtar
8853ef40a9
Changed setgetPixels to arePixelsUpToDate
...
Changed the name to better reflect the purpose of the variable.
2014-07-22 16:46:03 +02:00
Jakub Valtar
b2899c63ce
Moved pixels invalidation to endShape
...
Moved to account for a possibility that user uses get(), set() or
loadPixels() inside of beginShape()/endShape() block.
2014-07-22 16:40:09 +02:00
Jakub Valtar
72b95f6711
fixes #2619
...
After a call to get()/set(), pixels array has been treated as up-to-date
even though user has been drawing. Because of this, loadPixels() was not
updating pixels array with changes.
2014-07-15 00:38:54 +02:00
Jakub Valtar
6df349b68e
new Arc implementation for OpenGL renderers
2014-07-13 22:33:37 +02:00