Commit Graph

636 Commits

Author SHA1 Message Date
codeanticode
f28d246362 Added missing offset in partitionRawIndices() 2012-07-05 20:04:38 +00:00
codeanticode
370fbd6637 Making sure that all shaders can access the projection, modelview and projmodelview matrices 2012-07-03 23:08:56 +00:00
codeanticode
d41fd94172 Shader loading doesn't recreate shader objects when context changes, that's taken care by the init() method in PShader 2012-07-03 18:26:59 +00:00
codeanticode
a671e5eb38 Restoring clip configuration when drawing starts/ends. 2012-06-29 18:52:42 +00:00
codeanticode
47b597889b AWT again... 2012-06-29 15:07:04 +00:00
codeanticode
65c8c60fe6 cleaning up PShader methods some more 2012-06-29 15:04:48 +00:00
codeanticode
b84e2cc3f0 testing NEWT 2012-06-29 13:25:19 +00:00
codeanticode
ba57434e3c simpler API for setting uniform values in PShader 2012-06-28 21:14:22 +00:00
codeanticode
fed3562cc7 added missing glUniformNi functions to PGL 2012-06-28 17:28:13 +00:00
codeanticode
9ccaa0d9f5 don't call releaseScreenFBO 2012-06-25 21:10:51 +00:00
codeanticode
c18cfb233b using screen FBO also when quality < 2 2012-06-25 20:25:40 +00:00
codeanticode
d048ff78d1 Renamed the smooth hack variables 2012-06-25 19:11:00 +00:00
codeanticode
d6984326d0 calling showDepthWarningXYZ in translate(tx, ty, tz) in PGraphics2D 2012-06-25 18:56:49 +00:00
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
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