Commit Graph

333 Commits

Author SHA1 Message Date
codeanticode 37bc0631ce Fixed showMissingWarning() messages in A3D core 2011-03-08 01:15:42 +00:00
benfry 785b6cd639 deal with clone() memory leak in get() (issue #42) 2011-03-07 22:09:15 +00:00
benfry 972cd8b609 that should be destroy not stop 2011-03-07 00:03:58 +00:00
benfry e17bc46865 fix NPE problem since registered methods not properly added back 2011-03-06 04:45:33 +00:00
codeanticode 6ca31438b7 Fixed argument order in A3D version of ortho() 2011-02-28 05:11:02 +00:00
codeanticode dbe5c2a549 buffer counter is always initialized to zero in a3d 2011-02-27 03:41:56 +00:00
codeanticode b938f8c152 same for a3d 2011-02-23 10:42:18 +00:00
codeanticode bde792f5b8 updated multitexture API in a3d 2011-02-22 14:34:02 +00:00
codeanticode e044c83f85 Using fixed instead of float 2011-02-22 00:29:57 +00:00
codeanticode cfb7566f71 synch with opengl2 2011-02-21 12:24:29 +00:00
codeanticode 346c54251d ported latest changes from opengl2 2011-02-21 10:55:06 +00:00
codeanticode 6cc6be396a Done with OPENGL2->A3D update 2011-02-12 18:38:56 +00:00
codeanticode c6821fdb98 Fonts working again in A3D 2011-02-12 17:31:12 +00:00
codeanticode 71257e8a5c Added PFontTexture class 2011-02-12 16:05:19 +00:00
codeanticode b78cf2eb5f Fixed offscreen mode 2011-02-12 15:57:05 +00:00
codeanticode ab047523a3 Some fixes 2011-02-12 12:48:21 +00:00
codeanticode 24c5a5f4db Backporting more changes (PImage, PTexture, PShape3D) 2011-02-12 11:47:33 +00:00
codeanticode 443c3f9037 Backporting changes from OPENGL2 to A3D 2011-02-12 08:22:38 +00:00
codeanticode 5cc25deeaa Cleaning up variables in A3D 2011-02-10 07:14:37 +00:00
lonnen 1ab917229b millisOffset changed in android to keep it consistent with the core 2011-02-02 00:25:59 +00:00
codeanticode b26f75d270 Merged-in latest changes in A3D 2011-02-01 06:31:30 +00:00
benfry 5f8e2d94cb not in use anymore 2011-01-27 00:00:21 +00:00
benfry a21beebce7 minor tweak 2011-01-26 15:37:48 +00:00
benfry f78996d5eb undo changes re: registered methods that were causing NPE on exit 2010-12-18 19:42:38 +00:00
codeanticode b495296781 translate, scale and rotate methods in PShape3D renamed to translateVertices, scaleVertices and rotateVertices. Added root field to PShape 2010-12-17 08:10:20 +00:00
codeanticode 0c12a699b7 PShape3D.init() adds default child shape when there is none 2010-12-16 12:20:21 +00:00
codeanticode 986628321e Added projection mode in A3D 2010-12-15 02:34:26 +00:00
codeanticode 7ddb6545e3 Clearing resource sets in deleteAllGLResources() method 2010-12-13 09:41:55 +00:00
codeanticode f52fed20b3 Simpler access to offscreen textures in A3D, minor PShape3D fixes 2010-12-12 14:14:10 +00:00
codeanticode ca72959074 Added normals rotation to PShape3D.rotate() 2010-12-11 07:21:42 +00:00
codeanticode 7ea9982090 Closed issue 471 and added methods to control the sprite size in PShape3D 2010-12-10 12:13:26 +00:00
codeanticode 1ff02634f9 Some fixes and optimizations in PShape3D 2010-12-10 08:31:36 +00:00
codeanticode 33c0897d3f Scale, translate, rotate, and other methods in PShape3D can be safely called when the model is still being loaded from an OBJ file 2010-12-09 03:24:36 +00:00
codeanticode f2a47fc5c4 Minor reworking of the texture binding/unbinding mechanism 2010-12-08 07:23:49 +00:00
codeanticode bed5a3214c Manual mipmap generation now works. Simplified naming of texture filtering (sampling) constants: POINT, BILINEAR, TRILINEAR 2010-12-07 11:46:28 +00:00
codeanticode 298af137ad Fixed some texture binding issues 2010-12-07 03:16:37 +00:00
codeanticode a56e9b25de Restriction of uv values between 0 and 1 was removed to allow for REPEAT texturing mode. 2010-12-06 09:47:14 +00:00
codeanticode 1ee85b993b OBJ recording in PShape3D is done in the drawGroup() method, so now asynchronous and threaded OBJ load is supported. 2010-12-06 01:22:21 +00:00
codeanticode 7db97c742c Added textureBlend() to the PApplet API 2010-12-05 14:36:06 +00:00
codeanticode 9ebbd9e3ba OpenGL textures in PImage objects are created only when drawing the images (renderTriangles, drawGeometry, etc). This should take care of issue 465 2010-12-05 13:33:40 +00:00
codeanticode 3e713faf77 Fixed some issues when using point sprites in PShape3D, also added automatic child creation when needed. Implemented all remining multitexture blending modes with light and tint modulation 2010-12-04 11:42:17 +00:00
codeanticode a82eee35e3 PImage methods like loadTexture() don't creat the texture object unless the width and height of the image is larger than zero. This partially solves the asynchronous load problem pointed out in issue 465 2010-12-04 02:31:05 +00:00
codeanticode 08ca757d1f Using texture environment crossbar functionality to properly tint and light interpolated mulitextures (fixes issue 468) 2010-12-04 01:57:01 +00:00
codeanticode 1ba6a039d9 Removed debug printlns 2010-12-03 07:07:18 +00:00
codeanticode 80f8ab20bc Some fixes and enhancements in the multitexturing logic 2010-12-03 07:04:57 +00:00
codeanticode 9fbdbc7d97 Just two minor fixes in PShape3D after some debugging 2010-12-02 15:03:30 +00:00
codeanticode 710484eb69 Better integration of PShape3D with parent PShape 2010-12-02 13:37:08 +00:00
codeanticode 010fca89d9 PTexture.copyObject() deletes opengl resources of original texture 2010-11-29 07:15:34 +00:00
codeanticode 99a9b9ab2b Very minor memory handling tweaks 2010-11-29 07:06:37 +00:00
codeanticode ac4ff6f392 Some tweaks in the OpenGL resource release 2010-11-29 00:46:21 +00:00