Commit Graph

485 Commits

Author SHA1 Message Date
codeanticode
77af634033 Cleaned-up the code for fill geometry 2012-05-03 02:51:04 +00:00
codeanticode
92e94f969d Getting the new index caches to work in retained mode 2012-05-03 01:55:49 +00:00
codeanticode
46ffc962e8 and for points 2012-05-02 21:07:52 +00:00
codeanticode
b447b5fdd1 same for lines 2012-05-02 20:55:12 +00:00
codeanticode
8ca0d97ca6 Using arrays instead of ArrayList for fill index cache 2012-05-02 20:35:33 +00:00
codeanticode
bb3f2b5c01 Corrected stroke weight 2012-05-02 19:32:55 +00:00
codeanticode
34d9e2eda3 More debugging, fixed count update in polygon tessellator 2012-05-02 16:22:16 +00:00
codeanticode
688703d601 debug primitive tessellation 2012-05-02 03:48:42 +00:00
codeanticode
30faa0bbb1 updated primitive tessellation to use raw indices 2012-05-02 00:22:28 +00:00
codeanticode
9a3443e0d8 And for points 2012-05-02 00:09:46 +00:00
codeanticode
a062b83666 Removed isStroked flag 2012-05-01 23:38:21 +00:00
codeanticode
87610c302e Added partition of line indices 2012-05-01 23:34:10 +00:00
codeanticode
88695203b8 More work and testing on the index block algorithm 2012-05-01 19:53:51 +00:00
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