Commit Graph

1133 Commits

Author SHA1 Message Date
codeanticode
033eb45e14 Fixed drawTexture() method so it properly restores blend mode. 2011-12-13 20:47:08 +00:00
codeanticode
365ff45f62 Removed y inversion from screenXYZ methods. 2011-12-13 18:27:01 +00:00
codeanticode
1ee3dab312 Putting drawing methods from PShape3D in PShape, updated examples 2011-12-12 05:44:39 +00:00
codeanticode
e051c1325c Added two more examples: SmoothChange and Primitive 2011-12-12 05:03:51 +00:00
codeanticode
b3e899524b Updated poly examples to use beginContour/endContour, fixed stroke weight calculation in 2D 2011-12-12 04:44:27 +00:00
codeanticode
ffbf9af5ed Added new P3D examples 2011-12-12 04:20:41 +00:00
codeanticode
63e688f79a Removed old opengl examples 2011-12-12 04:18:28 +00:00
codeanticode
05bc179a61 Improved context recreation mechanism 2011-12-12 03:55:17 +00:00
codeanticode
c1762fbaee Fixed blend setting 2011-12-12 01:50:02 +00:00
codeanticode
5604993ba4 Same for stroke color, notes 2011-12-11 15:21:32 +00:00
codeanticode
f3ff5eaa38 Implemented fill color update after shape creation 2011-12-11 15:01:07 +00:00
codeanticode
3135fd9220 Added logic to check whether the shape has ended 2011-12-11 14:32:18 +00:00
codeanticode
b57bbdb476 breakShape() replaced by beginContour()/endCountour() 2011-12-11 14:16:20 +00:00
codeanticode
4a546bbb9a VBOs in 2D rendering of stroked geometry, some fixes 2011-12-11 03:46:40 +00:00
codeanticode
668c80d533 VBOs for points in immediate mode 2011-12-10 23:49:06 +00:00
codeanticode
962718d901 fill and line rendering in immediate mode using VBOs 2011-12-10 19:18:07 +00:00
codeanticode
6ebbe294b0 Replacing vertex arrays by VBOs in immediate mode. 2011-12-10 16:54:59 +00:00
codeanticode
7c8af8210c primitive generation, implemented for ellipses 2011-12-09 20:24:18 +00:00
codeanticode
3931198234 Using edge tessellator in all geometry types 2011-12-09 05:16:17 +00:00
codeanticode
fb08ae0503 Adding edges to InGeometry, and simplifying stroke tessellation. 2011-12-09 04:14:47 +00:00
codeanticode
9781dbefb2 Added getCurrentTexture() to PFontTexture 2011-12-09 00:40:18 +00:00
codeanticode
9387c262e1 createShape() for primitive types 2011-12-09 00:24:29 +00:00
codeanticode
1d93179064 Added clip/noClip to P3D, replaced System.err.println() by showWarning where appropriate. 2011-12-08 20:45:14 +00:00
benfry
25fefaa696 only report multisample level if there is a difference between actual and requested 2011-12-08 16:17:01 +00:00
benfry
08881569aa change textMode() warnings and messages 2011-12-08 16:07:22 +00:00
codeanticode
aa947859b2 Temporarily removing specular light component from line and point shaders. 2011-12-07 15:55:12 +00:00
codeanticode
1201e9072c Added diffuse, ambient and specular lighting to line and point shaders. 2011-12-07 01:07:43 +00:00
codeanticode
baa3ab9111 Flushing tessellated geometry when light state changes 2011-12-06 22:10:03 +00:00
codeanticode
7cc20cb699 Added normals to SpaceJunk example 2011-12-06 21:22:28 +00:00
codeanticode
65bccc278d Per-vertex stroke color 2011-12-06 21:22:10 +00:00
codeanticode
864e2c2149 Flushing immediate mode geometry when blend mode changes. shape() calls also flushes any remaining geometry. 2011-12-06 20:45:04 +00:00
benfry
edb28d8f19 fix build script to include shaders for OpenGL 2011-12-06 10:28:48 +00:00
codeanticode
b0bcc9970a solved some quirks in 2d path generation 2011-12-06 03:56:10 +00:00
codeanticode
341c74a9d6 fill and stroke methods in PShape3D 2011-12-06 02:03:03 +00:00
codeanticode
afebba3bef Reworked texture binding in PFontTexture 2011-12-05 23:18:16 +00:00
codeanticode
65ff3136c2 Finishing new text rendering code, removing old 2011-12-05 16:07:43 +00:00
codeanticode
f78e17413b Integrating text rendering with the new immediate mode 2011-12-05 05:33:40 +00:00
codeanticode
60377b0c13 Simplified shape creation API 2011-12-04 01:40:20 +00:00
codeanticode
d70a5b1a98 Added 2d stroke tessellation to all shape modes 2011-12-04 01:19:19 +00:00
codeanticode
3545a5b16c Fixed fill, line and point arrays expansion 2011-12-03 20:38:35 +00:00
codeanticode
8a60a7abca properly handling texturing in 2D tessellation/rendering 2011-12-03 19:50:53 +00:00
codeanticode
efcbcc63a1 Adding 2D tessellation 2011-12-03 04:28:32 +00:00
codeanticode
2b428014ef Temporary solution for the depth sorting issues in 2D 2011-12-02 00:26:54 +00:00
codeanticode
6523b2c8d1 Implemented texture update and flush. 2011-12-01 20:08:06 +00:00
codeanticode
79dcdbe975 putting bezier and catmull-rom curves back in 2011-12-01 16:08:47 +00:00
codeanticode
5dd9ce289f Fixed tess data allocation, added library API to get tess data in PShape3D 2011-11-30 23:41:35 +00:00
codeanticode
10420b2ef8 More improvements in the copy of tess vertices 2011-11-30 21:17:58 +00:00
codeanticode
2c36889fbc Fixed calculation of line width 2011-11-29 20:21:53 +00:00
codeanticode
b14fce1343 Added flush() calls, improved memory allocation for tess data 2011-11-29 19:55:11 +00:00
codeanticode
c8fcbc5d72 Added renderMode to TessGeometry 2011-11-29 17:54:34 +00:00