Commit Graph

66 Commits

Author SHA1 Message Date
codeanticode
ebf861adef OBJ-loading code moved into PShapeOBJ, removed PShape2D and PShap3D 2012-09-03 22:21:49 +00:00
codeanticode
ab81544c99 leaving backbuffer improvements for later 2012-09-03 19:34:06 +00:00
codeanticode
aa90bbc42e Using white as the default ambient material property 2012-09-03 16:35:53 +00:00
codeanticode
4bf7bc727b validate framebuffer only at init in android, new offscreen implementation that properly solves the fickering problem (commented out for now to finish later), some todo notes 2012-09-03 13:48:34 +00:00
codeanticode
d09d1d461f some FBO changes, to be continued later 2012-09-03 01:29:38 +00:00
codeanticode
874bb174ed removed parameter cache, some tweaks to the Texture class 2012-09-02 21:51:02 +00:00
codeanticode
ff85026bd9 property sets cache objects in loadTextureImpl(), testing double buffered primary FBO 2012-09-02 20:49:35 +00:00
benfry
de1715cc31 more tweaks 2012-09-02 20:37:37 +00:00
benfry
662fec53e6 moving font cache inside PGraphicsOpenGL 2012-09-02 20:07:26 +00:00
codeanticode
720d1ef25c hintEnabled is a utility protected method in PGraphicsOpenGL 2012-09-02 15:59:25 +00:00
benfry
dc2bb9b0b8 hide unapproved, other cleanups 2012-09-02 01:16:16 +00:00
benfry
8ae1831c33 swap how image cache is handled, and use weak reference 2012-09-01 23:54:32 +00:00
codeanticode
a0bdd0d44b corrected warning message for stroke perspective in 2D 2012-09-01 22:04:59 +00:00
codeanticode
754eb380db Added static context variable to PGL, in order to detect surface restarts. Fixed issue 1146 2012-09-01 21:34:21 +00:00
benfry
232390c02c move PConstants around a bit, add annotations for overrides, cleaning up unapproved PShape additions 2012-09-01 18:05:24 +00:00
benfry
b61f3c26b6 add annotations for overrides... starting cleanup of shape 2012-09-01 09:26:38 +00:00
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
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
codeanticode
866aae5d8e slightly reworked the logic for screen FBO in android 2012-07-29 18:22:00 +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
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