Commit Graph

854 Commits

Author SHA1 Message Date
codeanticode 4c23a2576f blit multiFBO into colorFBO in bindPrimaryColorFBO(), can use smooth hack in any version of OSX, as it also solves screen flickering when calling glReadPixels 2012-06-25 18:55:29 +00:00
codeanticode 016047d337 disable depth test in PGL.drawTexture method 2012-06-25 15:55:53 +00:00
codeanticode 9ad3fdd351 added check for continuous use of smooth/noSmooth 2012-06-25 14:02:10 +00:00
codeanticode 583a40bfba some cleanup of color conversion methods in PGL 2012-06-23 19:57:00 +00:00
codeanticode 8d3c01495a resize pixels in setSize() if they are being used 2012-06-22 18:30:39 +00:00
codeanticode c9980a27c2 try-catch block for glBlendEquation handles any exception 2012-06-22 16:30:54 +00:00
codeanticode 4571c14256 added flush to beginPGL() 2012-06-22 15:16:54 +00:00
codeanticode 7e39482aff handle frame resize when using the Lion hack for antialiasing 2012-06-21 22:30:40 +00:00
codeanticode ef2181839d Removed references to P3D in warning, error messages 2012-06-21 20:52:09 +00:00
codeanticode 1710965a7c adjusted size initialization in font textures 2012-06-21 20:37:05 +00:00
codeanticode 56b4b47236 clear buffers in screen FBO, some minor tweaks 2012-06-21 20:15:17 +00:00
codeanticode bdacb6cfae framebuffer stack made into an array as well 2012-06-21 19:30:20 +00:00
codeanticode cddc162e3c switching back to float arrays to store the matrix stacks 2012-06-21 19:18:21 +00:00
codeanticode 9ca0a4aa08 re-enabling clearing of alpha channel for offscreen surfaces 2012-06-21 18:13:19 +00:00
codeanticode 548e795cdf some minor fixes in the handling of FBOs 2012-06-21 16:51:32 +00:00
codeanticode 80ac5f856c Recalculate projmodelview matrix at the end of flush. 2012-06-21 14:17:36 +00:00
codeanticode baecfffc7e moving alpha-clear up 2012-06-21 13:58:59 +00:00
codeanticode 8502b34b5c release screen FBO first 2012-06-21 13:49:58 +00:00
codeanticode 453316cd58 making offscreen surfaces opaque 2012-06-21 04:20:53 +00:00
codeanticode d1fceedd9d now grouping glClear calls 2012-06-20 20:47:27 +00:00
codeanticode 95a09b83a8 added camera stack, set camera to identity in resetMatrix 2012-06-20 19:56:10 +00:00
codeanticode 3b122b9f67 splitting the glClear() calls for each buffer (color, stencil, depth) 2012-06-20 18:29:05 +00:00
codeanticode afdf18389c fixed bug in tessellation of stroked arcs 2012-06-19 21:36:28 +00:00
codeanticode 02093a8aa0 z-displacement in line shader disabled in accurate 2d mode 2012-06-19 17:28:41 +00:00
codeanticode e41c8f93cd Some reorganization in the shader classes 2012-06-19 02:57:29 +00:00
codeanticode 7b19571fb6 added note in the Toroid example 2012-06-18 20:01:27 +00:00
codeanticode 7e30cc6e4c sync with android 2012-06-18 19:52:47 +00:00
codeanticode 563553a154 grabbing default quality setting from parent PApplet 2012-06-18 19:25:33 +00:00
codeanticode a593a85c19 Fixed the bug in frustum() that resulted in texture blurriness. 2012-06-18 16:19:22 +00:00
shiffman 21196d8fd5 A new set of PVector examples 2012-06-15 19:31:32 +00:00
codeanticode ff0ae29cb6 Making PShapeOpenGL to work with the PApplet recorder 2012-06-15 19:26:46 +00:00
codeanticode aa94623ac2 removed quality constants from Texture 2012-06-14 18:29:53 +00:00
codeanticode 39bd4a3c8b removed som test code 2012-06-14 15:32:56 +00:00
codeanticode 53652f2718 Disabling perspective and camera methods in PGraphics2D, using orthographic projection as default 2012-06-14 15:28:52 +00:00
codeanticode 130e8c6d55 added drawing of rectangular textures 2012-06-14 12:39:38 +00:00
codeanticode b2515427b4 video library updates 2012-06-13 19:40:49 +00:00
codeanticode f5c1b659a5 Some work to have loadPixels working in GL, but commented out for now. 2012-06-13 19:37:46 +00:00
codeanticode 43d97141ee looping over the glyphTexinfos array using correct limit 2012-06-13 16:10:00 +00:00
codeanticode aec914d973 update capture example 2012-06-04 18:26:15 +00:00
codeanticode c6e051a818 Prints available resolutions in error message... 2012-06-04 18:26:00 +00:00
codeanticode 2a2759ccbe Unsupported capture resolution also results in an exception. 2012-06-04 18:00:45 +00:00
codeanticode 5658c48eec Capture throws runtime error when no camera is available, fix in checkResolutions() method to correctly use fps 2012-06-04 17:49:22 +00:00
codeanticode 9da96940a1 fixed typo 2012-06-04 14:35:00 +00:00
codeanticode 30626be5eb renamed shader constants, again 2012-06-04 14:21:00 +00:00
codeanticode c7305b0af7 put supported network protocols in static array 2012-06-04 02:15:06 +00:00
codeanticode 38e86225dc cleanup shader constants, update examples 2012-06-04 02:03:36 +00:00
codeanticode 4ee85f0e45 add check to avoid setting the framerate again when the new fps is same as the old 2012-06-04 01:02:01 +00:00
codeanticode 40716932a7 fixed caps initialization in NEWT path 2012-06-03 23:20:55 +00:00
codeanticode 65aa249ad6 update tex cache when tessellating lines, points 2012-06-03 22:31:45 +00:00
benfry 2c3b444839 cleaning up name space from GL mess 2012-05-31 14:13:56 +00:00