Commit Graph

297 Commits

Author SHA1 Message Date
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
codeanticode 534edda53a Fixed bug in the resize method of vertex buffers in A3D 2010-11-28 13:06:43 +00:00
codeanticode 0519f85069 Multitexture works in shape recording mode. Issue 344 closed. 2010-11-27 14:02:13 +00:00
codeanticode 0f3b58dd74 vertex() method when called with a single set of uv coords, apply these coordinates to all texture units if multitexturing is enabled 2010-11-27 10:59:28 +00:00
codeanticode 49ac887ca5 Implemented replace, blend, multiply, add and subtract modes for multitexture blending 2010-11-27 10:10:10 +00:00
codeanticode 81ece7e4f1 New OpenGL resource creation/deletion method in A3D. Takes care of issue 456 2010-11-27 04:17:53 +00:00
codeanticode d07eb4e954 Several changes and fixes in A3D for multitexturing 2010-11-26 13:58:35 +00:00
benfry 0f15b0baae todo items and subsetting stuff into android as well 2010-11-24 15:58:22 +00:00
codeanticode fb1f0f1219 Auto normal selection method 2010-11-24 09:18:49 +00:00
codeanticode 760e1578b9 Small fix in shape recording with multitexturing, texture coordinate array is resized as needed, some TODO notes. 2010-11-24 00:19:07 +00:00
codeanticode 2c646d3b0b Some code for the multitexture combiners functionality (GLES 1.1 fixed pipeline) 2010-11-23 16:47:48 +00:00
codeanticode 128bc69b45 A few more texture setting methods added to PShape3D 2010-11-23 16:08:53 +00:00
codeanticode ff18518542 Implemented PGraphicsAndroid3D.addTextureBuffers(). 2010-11-23 15:25:52 +00:00
codeanticode a469f254be Multitexturing API reworked a bit. 2010-11-23 15:04:33 +00:00
codeanticode b21cd7fd10 Finished multitexturing API 2010-11-21 03:52:04 +00:00
codeanticode 0a6013cc3b Multitexturing implemented in PShape3D 2010-11-19 12:19:30 +00:00
codeanticode 7ed95e009e Some preliminary changes to implement multitexturing in PShape3D 2010-11-18 13:29:11 +00:00
codeanticode ad276c22aa Added maxTextureUnits static variable to PGraphicsAndroid3D 2010-11-18 02:50:06 +00:00
codeanticode 8ed10cedb6 Improved color conversion in PTexture, added YUV420 mode (android specific), finished implementation of blending modes (closes issue 290) 2010-11-18 01:56:53 +00:00
benfry aa0407e6e4 minor edits 2010-11-16 18:51:05 +00:00
codeanticode bb3cfdf78a Normal modes are AUTO/MANUAL now 2010-11-16 14:48:20 +00:00
codeanticode e66a1fbc19 Added PShape3d.centerAt() method. Automatically called after loading an OBJ file 2010-11-16 12:43:18 +00:00
codeanticode 41f5c96c37 Implemented automatic normal calculation in A3D (this closes issue 345) 2010-11-16 11:48:31 +00:00
codeanticode 6c9b1f4fbc Fixed issue 428 2010-11-16 07:45:11 +00:00
codeanticode d4285319d0 Re-enabled manual mipmap generation code to use when generate_mipmap extension is missing. Closed issue 395 2010-11-13 16:36:58 +00:00
codeanticode 404cde67fe Method PTexture.set() now accepts pixel subregions 2010-11-13 16:02:11 +00:00
codeanticode 977363ee57 Improved texture handling in text rendering (closes issue 394). Methods sketchTransparentSurface and sketchColorDepth were renamed to sketchTransparency and sketchColordepth 2010-11-13 12:58:41 +00:00
codeanticode 5783c34cd7 Added wrapping modes to PTexture, PFont now uses PTexture objects to encapsulate the glyph textures 2010-11-12 13:54:20 +00:00
lonnen 513dae11de sketch pausing 2010-11-08 17:23:31 +00:00
benfry a7e75e9ce3 fix for angleBetween issue (issue #435), plus todo items 2010-11-07 22:14:43 +00:00
benfry 05ab6b6630 add another saveStream() method 2010-11-07 22:12:17 +00:00
codeanticode c030371702 Removed face culling from blend functions 2010-10-16 03:07:40 +00:00
codeanticode 474f3c5cac Fixed some inconsistencies in the handling of color and lights in A3D 2010-10-16 01:44:29 +00:00
codeanticode f62d8faf97 offscreenDepthBits and offscreenStencilBits are public 2010-10-11 10:11:23 +00:00
codeanticode 3fc2791b1b Renamed some constants for color modes 2010-10-11 09:43:12 +00:00
codeanticode b945761669 Reworked configuration selection method for A3D 2010-10-11 09:21:11 +00:00
codeanticode 3fa88799f3 Fixed some errors in the logic of loadPixels/loadTexture 2010-10-10 22:58:29 +00:00