Commit Graph

1133 Commits

Author SHA1 Message Date
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
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
benfry
7874c54f5d settings/indent tweak 2012-03-22 02:50:48 +00:00
benfry
5ae3563010 settings/indent tweak 2012-03-22 02:50:38 +00:00
codeanticode
4e428ecc61 Improved shader error log 2012-03-21 16:26:48 +00:00
codeanticode
eea9814d03 Some cleanup 2012-03-20 21:15:20 +00:00
codeanticode
9e71ae0f05 Sync P3D on Android 2012-03-20 14:35:03 +00:00
codeanticode
2cd80747d9 Added offscreen test 2012-03-19 19:53:21 +00:00
codeanticode
d044f04d63 Recreate framebuffer objects when opengl context changes 2012-03-19 19:52:47 +00:00
codeanticode
49eeb26cc6 Added check for maximum samples when calling smooth() 2012-03-19 19:28:59 +00:00
codeanticode
ceaa2f10e4 Debugged offscreen rendering 2012-03-19 18:10:52 +00:00
codeanticode
1e80d898a6 Added restart test 2012-03-19 14:26:14 +00:00
codeanticode
cd996f5fcf Removed lwjgl renderer from trunk 2012-03-19 14:07:54 +00:00
codeanticode
ccb0cbe615 Update to latest JOGL 2012-03-19 13:52:09 +00:00
codeanticode
355a49d9d1 correct size value for line/point indices 2012-03-15 02:17:15 +00:00
codeanticode
6ba65dc2e3 Using buffers instead of arrays in P3D library as well 2012-03-14 20:24:03 +00:00
codeanticode
1119292e42 Buffer handling in PShape3D, a few more fixes 2012-03-14 15:50:33 +00:00
codeanticode
108d2a2180 Another fix in tessellator 2012-03-13 22:19:01 +00:00
codeanticode
5a33ba37c4 Some more buffer fixes 2012-03-13 21:51:31 +00:00
codeanticode
272b9c489a another typo in classpath 2012-03-13 21:07:52 +00:00
codeanticode
54941f7f18 Fixed glsl copy in ant build file, removed ref to source files in classpath 2012-03-13 20:55:23 +00:00
codeanticode
83c5146040 Fixed canvas placement 2012-03-13 18:46:22 +00:00