Commit Graph

573 Commits

Author SHA1 Message Date
codeanticode
8143cf37e4 tessellator object is static 2012-05-04 21:04:28 +00:00
codeanticode
42ef5f5e06 minor edits 2012-05-03 23:18:32 +00:00
codeanticode
fc8245b062 some renames, properly offset vertex indices in getters of tess geometry 2012-05-03 21:35:55 +00:00
codeanticode
074be1a978 Enabling accurate 2D mode in P2D by default, fixed flush in endDraw() 2012-05-03 20:47:32 +00:00
codeanticode
85ab0b41cd Done with PShape vertex getters/setters 2012-05-03 20:32:45 +00:00
codeanticode
9e5034bc86 Almost done with color getters/setters 2012-05-03 16:50:00 +00:00
codeanticode
c9d96bea6e Adding missing setters/getters in PShape 2012-05-03 15:28:18 +00:00
codeanticode
01e6ef15e1 Refactoring tess map 2012-05-03 14:57:11 +00:00
codeanticode
0501674cd6 Added Planets example 2012-05-03 03:40:32 +00:00
codeanticode
2f3ac6780b Renamed in and tess objects in PShape3D 2012-05-03 03:21:35 +00:00
codeanticode
19563f8880 Fixed freeTessData() 2012-05-03 03:16:18 +00:00
codeanticode
be853161be update aggregation for line and point geometry 2012-05-03 03:03:30 +00:00
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