Commit Graph

548 Commits

Author SHA1 Message Date
codeanticode
c8ef416ce7 Fixed copy of duplicated vertices 2012-05-01 15:30:12 +00:00
codeanticode
a6b001f94d Added vertex copy 2012-04-30 22:40:39 +00:00
codeanticode
35e35ce96e Index block algorithm 2012-04-30 21:42:26 +00:00
codeanticode
7098c2f826 Some reorganization in TessGeometry class 2012-04-30 14:07:41 +00:00
codeanticode
b4aa6a02d6 Some renaming in PShape3D for more clarity 2012-04-27 21:02:25 +00:00
codeanticode
960edf33f0 Added NearFar example 2012-04-26 16:52:05 +00:00
codeanticode
0b7acff798 removed cameraDepth, using default near and far values for ortho() 2012-04-26 15:49:44 +00:00
codeanticode
97754afccf corrected centering in ortho 2012-04-26 14:23:32 +00:00
codeanticode
0ae2664ef4 quads are build with uv coords 2012-04-25 21:54:15 +00:00
codeanticode
e563db5b09 Copying indices element by element since output is int and internal arrays are short 2012-04-25 20:24:52 +00:00
codeanticode
52b3221a5c use break in bezier, curve. restored previous tess query methods 2012-04-25 15:41:22 +00:00
codeanticode
e55e155dd5 Implemented all primitives in PShape3D 2012-04-25 01:06:59 +00:00
codeanticode
7d675ec48c Making sure that a PImage always has a non-null parent when adding a texture 2012-04-24 19:16:07 +00:00
codeanticode
0eba7c327e Updated opengl examples 2012-04-24 16:57:42 +00:00
codeanticode
ff2f74994e Removed finalize resource warning 2012-04-24 16:57:22 +00:00
codeanticode
89aa6ecc22 rotate() check for zero vectors, fixed naming error in PGL.Context class 2012-04-24 16:13:09 +00:00
codeanticode
164cfacc26 gl resource arrays also store context 2012-04-24 15:09:20 +00:00
codeanticode
6b7cb19d8d save/restore offscreen surfaces as well 2012-04-23 22:59:39 +00:00
codeanticode
f8922cf5d8 save/restore onscreen surface 2012-04-23 20:14:40 +00:00
codeanticode
9afac62a0b Fixes to the GL-resource handling mechanism. 2012-04-23 15:39:16 +00:00
codeanticode
78495202b1 curve and bezier vertex code moved to InGeometry 2012-04-23 01:19:47 +00:00
codeanticode
ce8cd2f652 More detailed error message when vertex index goes beyond 32767. 2012-04-21 21:48:29 +00:00
codeanticode
4c9bd15076 Corrected calculation of Blinn-Phong factor used in specular lights. 2012-04-21 21:33:33 +00:00
codeanticode
7083509f98 Updated TexturedSphere example to use a PShape object for the sphere 2012-04-21 17:28:24 +00:00
codeanticode
bf31211257 Calculation of transparency in lighting shaders is determined exclusively by diffuse component. 2012-04-21 17:22:36 +00:00
codeanticode
c27171555d Completed new sphere tessellation code 2012-04-21 16:01:16 +00:00
codeanticode
064b341b37 Triangle tessellation can use custom connectivity specification, used in sphere tessellation 2012-04-16 23:07:01 +00:00
codeanticode
98987aa6a2 Added wiggling example 2012-04-16 22:00:44 +00:00
codeanticode
43a6939fec Corrected index expansion 2012-04-16 21:36:54 +00:00
codeanticode
a341e4466f Getters/setters for individual vertices in PShape3D 2012-04-16 19:12:26 +00:00
codeanticode
dddc508ec7 Moving sphere generation into InGeometry 2012-04-13 20:47:24 +00:00
codeanticode
81ead7a627 Added mode to PShape, reworked tessellation, update in PShape3D, release of cache and tess objects when STATIC mode is used. 2012-04-13 18:57:27 +00:00
codeanticode
87bd18576d Moved javaToNativeARGB() to PGL, fixed color update in PShape3D. 2012-04-12 13:33:30 +00:00
codeanticode
b0cddd5afe Some optimizations into geometric transformations in PShape3D 2012-04-12 12:58:30 +00:00
codeanticode
5d29c7d6aa Using float constants in the shaders to avoid errors by the GLSL compiler on Mac. 2012-04-12 11:17:33 +00:00
codeanticode
e4dbc6fd9c Removed center() method, added getCenter(), updated examples 2012-04-11 22:27:21 +00:00
codeanticode
611ac827e6 Updated a couple of examples. 2012-04-11 22:08:30 +00:00
codeanticode
8f9baa43b7 Better handling of geometric transformations in PShape3D. 2012-04-11 21:27:37 +00:00
fjenett
81faf3baf9 keywords.txt java had space instead of tab as separator at 'color' type 2012-04-11 07:05:15 +00:00
codeanticode
22c71c712f Added normal inversion in lighting shaders. 2012-04-10 22:24:30 +00:00
codeanticode
a018d78c2f Fixed lighting issues, added Patch example. 2012-04-10 21:03:47 +00:00
codeanticode
3727ed2b52 Cleaning up PConstants 2012-04-09 22:23:18 +00:00
codeanticode
c5838c950f fill() also sets the ambient color (as the old P3D used to do) 2012-04-09 19:55:01 +00:00
benfry
c3b69b3294 wrapping up the synthesis moves 2012-04-08 18:10:01 +00:00
benfry
8b9f86265c moving synthesis by hand 2012-04-08 18:07:42 +00:00
benfry
c7b41d2887 something about example moving 2012-04-08 17:58:43 +00:00
benfry
6d224cfafe 2012-04-08 17:57:42 +00:00
benfry
7e0b6f179d and more example moving 2012-04-08 17:30:17 +00:00
benfry
342dd390b5 trickier synthesis moves 2012-04-08 17:28:29 +00:00
benfry
51ae03ee8e still more example moving 2012-04-08 17:21:19 +00:00