Commit Graph

96 Commits

Author SHA1 Message Date
codeanticode
10f418e610 implemented event handling with newt 2012-11-12 16:39:23 +00:00
codeanticode
8a38bc06b0 jogl update, attempt #2. using NEWT by default, stencil buffer disabled for the time being. 2012-11-11 19:36:15 +00:00
codeanticode
596e7d47d7 Backtracking jogl update, as it introduced several deadlocks 2012-11-01 16:53:01 +00:00
codeanticode
9be09c160c fixed initialization for NEWT 2012-11-01 00:41:09 +00:00
codeanticode
76a22470ec added swapColorBuffers() to FrameBuffer, some cleanup 2012-10-31 16:33:35 +00:00
codeanticode
d0e06a3a60 take into account non-multisampled FBO situation 2012-10-31 00:50:23 +00:00
codeanticode
ff76835044 properly get the texture from the screen FBO in JOGL, so that filter(PShader) works again 2012-10-30 20:15:17 +00:00
codeanticode
d624559bf4 fix issue 1306 2012-10-25 15:42:37 +00:00
codeanticode
27672298f7 actually, this is the change referred in last commit 2012-10-23 21:22:40 +00:00
codeanticode
11ed343570 properly updating draw and read framebuffers 2012-10-23 21:22:10 +00:00
codeanticode
3e4fbc4d4b Removed GL2 warning message, made smooth warning more clear 2012-10-23 19:37:15 +00:00
codeanticode
d10428def6 don't get fron texture name if FBOs are not being used 2012-10-20 20:52:48 +00:00
codeanticode
467c0ffe4b properly matching pushFramebuffer() call in beginPixelsOp with popFramebuffer in endPixelsOp 2012-10-20 18:51:50 +00:00
codeanticode
06a14107c5 using new FBO mechanism in JOGL, removed FBO hack for OSX 2012-10-20 18:01:01 +00:00
benfry
c0fe29ba95 remove warnings 2012-10-20 17:19:19 +00:00
codeanticode
83d8af5b43 JOGL update 2012-10-03 20:51:00 +00:00
codeanticode
bf062546da Better comments for the ortho() function 2012-09-13 18:49:08 +00:00
codeanticode
a109b1bc9b setUniformVector takes length of array as argument, so partially full arrays can be passed to shader w/out wasting empty elements 2012-09-12 20:15:59 +00:00
codeanticode
fcf474fc14 check for framebuffer multisample extension when creating screen FBO 2012-09-12 14:25:27 +00:00
codeanticode
ae12d2b32f typo in warning message 2012-09-10 20:30:08 +00:00
codeanticode
5dd6e714b2 removed GL check from setPrimary(), added to Android's PApplet 2012-09-10 20:19:49 +00:00
codeanticode
1c57d0829d more detailed GL version/extensions check 2012-09-10 20:07:32 +00:00
codeanticode
dd719ac0d4 check if main renderer is PGraphicsOpenGL when creating P2D/P3D PGraphics 2012-09-10 18:49:10 +00:00
codeanticode
502ef5efe0 Re-wrap throwable if is not a runtime excepton, otherwise just throw original object for clearer error messages 2012-09-10 18:36:31 +00:00
benfry
7cf6c3af17 remove incorrect cast 2012-09-10 16:45:02 +00:00
codeanticode
27673310cd properly handles obj files w/out materials, fixes issue 1081 2012-09-06 22:27:40 +00:00
codeanticode
e67f0d653d doesn't apply perspective correction when the projection matrix is orthographic, fixes issue 1207. 2012-09-05 22:41:26 +00:00
benfry
971ac33557 change errors constant 2012-09-04 01:17:53 +00:00
codeanticode
a69ba6b22d a couple of missing methods 2012-09-03 22:49:13 +00:00
codeanticode
c64a5958dd android sync 2012-09-03 22:42:56 +00:00
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