Commit Graph

1417 Commits

Author SHA1 Message Date
codeanticode
81ead7a627 Added mode to PShape, reworked tessellation, update in PShape3D, release of cache and tess objects when STATIC mode is used. 2012-04-13 18:57:27 +00:00
codeanticode
87bd18576d Moved javaToNativeARGB() to PGL, fixed color update in PShape3D. 2012-04-12 13:33:30 +00:00
codeanticode
b0cddd5afe Some optimizations into geometric transformations in PShape3D 2012-04-12 12:58:30 +00:00
codeanticode
5d29c7d6aa Using float constants in the shaders to avoid errors by the GLSL compiler on Mac. 2012-04-12 11:17:33 +00:00
codeanticode
e4dbc6fd9c Removed center() method, added getCenter(), updated examples 2012-04-11 22:27:21 +00:00
codeanticode
611ac827e6 Updated a couple of examples. 2012-04-11 22:08:30 +00:00
codeanticode
8f9baa43b7 Better handling of geometric transformations in PShape3D. 2012-04-11 21:27:37 +00:00
fjenett
81faf3baf9 keywords.txt java had space instead of tab as separator at 'color' type 2012-04-11 07:05:15 +00:00
codeanticode
22c71c712f Added normal inversion in lighting shaders. 2012-04-10 22:24:30 +00:00
codeanticode
a018d78c2f Fixed lighting issues, added Patch example. 2012-04-10 21:03:47 +00:00
codeanticode
3727ed2b52 Cleaning up PConstants 2012-04-09 22:23:18 +00:00
codeanticode
c5838c950f fill() also sets the ambient color (as the old P3D used to do) 2012-04-09 19:55:01 +00:00
benfry
c3b69b3294 wrapping up the synthesis moves 2012-04-08 18:10:01 +00:00
benfry
8b9f86265c moving synthesis by hand 2012-04-08 18:07:42 +00:00
benfry
c7b41d2887 something about example moving 2012-04-08 17:58:43 +00:00
benfry
6d224cfafe 2012-04-08 17:57:42 +00:00
benfry
7e0b6f179d and more example moving 2012-04-08 17:30:17 +00:00
benfry
342dd390b5 trickier synthesis moves 2012-04-08 17:28:29 +00:00
benfry
51ae03ee8e still more example moving 2012-04-08 17:21:19 +00:00
benfry
a5c0b84673 more example moving 2012-04-08 17:01:38 +00:00
benfry
3b9ebc19f2 more example moving 2012-04-08 15:59:40 +00:00
benfry
1b81affbf0 fix example naming for appendices 2012-04-08 15:47:25 +00:00
benfry
ce09fda5ea test for example moving 2012-04-08 15:45:29 +00:00
benfry
e849ab8ee5 tweaks for listeners 2012-04-05 04:19:20 +00:00
benfry
68e5c87617 more normalizing parameters, remove textX/Y/Z, remove text(x, y, w, h) with z-coordinate 2012-04-03 22:43:19 +00:00
benfry
f0c2ef79b6 new size() parsing, change how P2D/P3D are handled, onward... 2012-04-03 14:57:13 +00:00
benfry
4b3d7d14d6 formatting updates and todo notes 2012-04-02 21:03:08 +00:00
codeanticode
22cd976a12 Correct width/height calculation in updateTexture() 2012-04-02 13:18:54 +00:00
codeanticode
ce64c2e5ff Fixed context and edge init in PShape3D 2012-03-31 19:42:16 +00:00
codeanticode
d49a72aba7 All ceometry transformations applied to PShape3D object that the shape is ended, and update tessellation if needed. 2012-03-31 19:01:22 +00:00
codeanticode
5e76cb4b01 Fixed popMatrix condition in PShape3D.draw() 2012-03-31 18:48:11 +00:00
codeanticode
b3e1894109 Can use TRIANGLE and QUAD in createShape(type) 2012-03-31 18:41:32 +00:00
codeanticode
ba51f5715b Added new OpenGL examples for desktop 2012-03-31 18:28:33 +00:00
codeanticode
67c0d5e9e4 Using short indices on android and desktop 2012-03-31 15:16:27 +00:00
codeanticode
f90faeb184 Using protected versions of invTranslate, invRotate and invScale. 2012-03-30 21:21:19 +00:00
codeanticode
2d778a9bbb Fixed issue 1041, renamed screenOp to pixelsOp. 2012-03-30 14:27:02 +00:00
codeanticode
82478d06cb Cleaned up pixel set/get logic 2012-03-29 21:14:39 +00:00
codeanticode
1df01edee5 Pixel get/set working for offscreen PGraphics objects as well. 2012-03-29 17:49:02 +00:00
codeanticode
c47839ca35 Overriding shape() methods in PGraphicsOpenGL 2012-03-29 05:30:56 +00:00
codeanticode
7fac90bf9b Added precision preprocessor ifdefs to the source code of the fragment shaders 2012-03-29 05:12:56 +00:00
codeanticode
bdfcd8e16e Faster pixel get/set in P3D 2012-03-29 05:05:07 +00:00
codeanticode
edf64a99fb Added drawRectangle() to PGL, reimplemented set(x, y, color) method. 2012-03-27 20:52:13 +00:00
codeanticode
f7b301ace9 Better capabilities setting, using GL2ES2 interface, removed stencil bits hack 2012-03-27 15:04:06 +00:00
benfry
07a446f0f5 remove warning 2012-03-26 01:47:03 +00:00
codeanticode
656a82dc98 Temporary hack for stencil bits query 2012-03-23 21:51:46 +00:00
codeanticode
7f0a8dd3be Sync P3D changes 2012-03-23 21:22:13 +00:00
codeanticode
1d0eb978e8 Added setRenderer() method to inner shader classes, flushMode is not static anymore 2012-03-23 14:20:58 +00:00
codeanticode
9ca741bedd Fixed calculation of texture matrix, some tweaks in beginDraw() 2012-03-22 20:48:40 +00:00
codeanticode
e0c085413d Revised clear-buffer logic 2012-03-22 17:56:22 +00:00
codeanticode
f1338a4472 FBO-based onscreen rendering for incremental drawing on Android is working again, added some more PGL utilities. 2012-03-22 17:30:36 +00:00