Commit Graph

850 Commits

Author SHA1 Message Date
codeanticode
0a1c1ff2c5 android sync 2012-08-31 20:21:19 +00:00
codeanticode
20410b4746 More code formatting 2012-08-31 16:18:25 +00:00
codeanticode
ed4926f8a9 added condition to skip bevel triangles in 3D 2012-08-31 14:41:55 +00:00
codeanticode
261018afcc Renamed stroke perspective hint 2012-08-31 13:35:36 +00:00
codeanticode
2acd81befe perspective correction can be disabled/enabled for points 2012-08-30 21:32:57 +00:00
codeanticode
c788566b60 Added source of mask shader 2012-08-30 20:33:57 +00:00
codeanticode
0641c2484d Implemented PGraphicsOpenGL.mask(PImage) using shader 2012-08-30 20:29:24 +00:00
codeanticode
96a326e795 fixes in color update in PShapeOpenGL 2012-08-30 16:42:57 +00:00
codeanticode
91a16e338c Renamed flat and full shaders to color and texlight 2012-08-30 00:10:11 +00:00
codeanticode
c3b98cb978 Simplified the shader API 2012-08-30 00:00:05 +00:00
codeanticode
6929bd4355 more code formatting in PGraphicsOpenGL 2012-08-29 19:48:24 +00:00
codeanticode
309efbadd2 Takes care of issue 1156 2012-08-23 20:45:48 +00:00
codeanticode
4d3879e6fe Made all utility functions in PGL protected, added drawTexture() to PGraphicsOpenGL 2012-08-21 19:48:15 +00:00
codeanticode
bd09d8f081 Constant number of loop iterations in light shaders, to make them compatible with older Adreno GPUs (fixes issue 1145). Also, more careful handling of vectors in shaders to avoid problems with powerVR GPUs. 2012-08-20 20:16:17 +00:00
codeanticode
d3e0785fc8 Removed extension check for shaders, VBOs and FBOs from PGraphicsOpenGL, moved to PGL in Java mode 2012-08-20 01:17:24 +00:00
codeanticode
9afd5c1364 renamed setGStreamerPath() back to setPath() and useOpenGL() to useGL() in video. 2012-08-16 20:25:17 +00:00
codeanticode
3f3e3bccc7 Unwrap GLExceptions to show only the causing exception 2012-08-16 20:19:31 +00:00
codeanticode
b00dedca58 added resetShader() w/out argument 2012-08-16 03:31:23 +00:00
codeanticode
661c80d16b removed old cruft 2012-08-15 04:33:20 +00:00
codeanticode
7e7f741976 added texture wrapping to the API 2012-08-14 21:17:27 +00:00
codeanticode
6f2c17b188 throws exceptions if required extensions are not available 2012-08-14 18:25:39 +00:00
codeanticode
dd8045298f PGL update in android 2012-08-14 17:39:33 +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
592b4a0653 small fix when setting sampling uniform 2012-08-08 23:23:53 +00:00
codeanticode
7cff2660c4 PShader.set(string, PImage) to bind textures to sampler uniforms 2012-08-08 21:53:42 +00:00
codeanticode
801a8f0579 recalculate mipmaps in Texture.setNative() 2012-08-08 18:10:43 +00:00
codeanticode
ac9cf6cf30 Added todo notes 2012-08-08 15:58:40 +00:00
codeanticode
fa1dcabf69 Fix issue 1166 2012-08-07 21:49:32 +00:00
benfry
dcda3e33d8 re-enable smooth() as the default for the default renderer (issue #1157) 2012-08-05 14:00:37 +00:00
benfry
a092674d19 whitespace issues 2012-08-01 10:52:50 +00:00
benfry
81630242da son of a ... Linux does not support java.awt.Desktop 2012-08-01 09:57:36 +00:00
benfry
02f0df5859 switch to java.awt.Desktop methods in platform, other post-applet updates 2012-08-01 09:35:50 +00:00
codeanticode
866aae5d8e slightly reworked the logic for screen FBO in android 2012-07-29 18:22:00 +00:00
benfry
3aaf19256d todo items, whitespace weirdness 2012-07-29 16:11:34 +00:00
benfry
ef165716b8 fix main() so that it handles args, also allows direct launch 2012-07-29 15:02:27 +00:00
codeanticode
3e4b2c0aae Removed PShader.FILTER constant, added loadShader(String) to PGraphics in Android 2012-07-29 00:10:26 +00:00
codeanticode
205b67a529 better condition to catch offscreen-within-offscreen drawing 2012-07-28 22:57:12 +00:00
codeanticode
e187335bdc force loadPixels() in PGraphicsOpenGL.initCache(), otherwise textures are not initialized properly in android 2012-07-28 22:10:42 +00:00
benfry
53dff0de63 several XML fixes 2012-07-28 19:30:43 +00:00
benfry
1a8d38267c fix up the selectXxxx functions (issue #173 and others) 2012-07-28 18:44:49 +00:00
codeanticode
ee5169d3dd Removed unused imports 2012-07-27 15:17:42 +00:00
codeanticode
a8a8b7188f index splitting algorithm w/out Set and ArrayList objects 2012-07-27 15:10:45 +00:00
codeanticode
c3b8401f5e some corrections to the index splitting algorithm 2012-07-27 04:32:54 +00:00
codeanticode
31a062041c Calling defaultSettings() after beginOnscreen/Offscreen draw 2012-07-26 19:23:59 +00:00
codeanticode
003ea07a51 id of bound texture is stored in client side (PGL) 2012-07-26 14:46:33 +00:00
codeanticode
61e13ecc07 binding/unbinding textures more carefully 2012-07-25 22:22:13 +00:00
codeanticode
87d07557dd Texture.bind()/unbind() call the gl functions irrespective of the value of the bound flag 2012-07-25 17:12:59 +00:00
codeanticode
7ffc0c29bf using correct scale factor in line shader depending on type of projection 2012-07-24 22:45:11 +00:00
codeanticode
70db6fc1d5 added setVertex(int, PVector) to PShape 2012-07-24 20:31:39 +00:00
codeanticode
c9c7dbc4db PApplet gets updated too 2012-07-24 20:22:04 +00:00