Commit Graph

266 Commits

Author SHA1 Message Date
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
codeanticode 402b737cef Added single transform matrix in replacement of the transformStack 2011-11-29 17:19:06 +00:00
codeanticode fa021657f9 Cleaning up modelview and projection matrix manipulations 2011-11-29 16:49:43 +00:00
codeanticode ce90a0a959 Implemented all flush modes 2011-11-29 00:36:42 +00:00
codeanticode 58a80d9e12 immediate mode fixes 2011-11-28 21:00:38 +00:00
codeanticode b8d49de883 Shader code moved to separate glsl files. 2011-11-28 17:23:56 +00:00
codeanticode 8f27c10677 Removing old cruft from PGraphicsOpenGL. 2011-11-28 17:01:34 +00:00
codeanticode 603d0e338c Fixed problems when accumulating geometry in immediate mode, renamed some variables in the tessellator. 2011-11-28 01:52:11 +00:00
codeanticode da0212a3e2 Forgot to copy the vertex buffers 2011-11-28 00:05:03 +00:00
codeanticode 6d629d4d79 fixed renderPoints 2011-11-27 22:58:03 +00:00
codeanticode dfaf5f67c4 renderPoints, renderLines 2011-11-27 07:19:59 +00:00
codeanticode 7e66b51d93 renderFill() method for immediate mode in 2011-11-26 23:26:22 +00:00
codeanticode 025006bec8 Enabling in/tess mechanism in PGraphicsOpenGL 2011-11-26 20:34:29 +00:00
codeanticode b9a5c0922c Using new antialiasing API, fixed a small index bug in tessellator 2011-11-26 19:54:06 +00:00
codeanticode ce6855d742 Setting anti-aliasing level with smooth() 2011-11-25 02:53:44 +00:00
codeanticode 4ab37d0b59 some tessellator fixes 2011-11-23 01:43:57 +00:00
codeanticode 764a913484 addShape, updateRoot 2011-11-22 16:08:07 +00:00
codeanticode 89852ea38a Rewriting PShape3D to use new PTessellator 2011-11-22 16:05:03 +00:00