working on finishing up libs

This commit is contained in:
benfry
2004-09-26 23:09:31 +00:00
parent 4008c19cb0
commit 52714aa519
4 changed files with 33 additions and 28 deletions
+2 -2
View File
@@ -118,7 +118,7 @@ public class PImage implements PConstants, Cloneable {
* alpha is zero, it will be transparent.
*/
public PImage(int width, int height) {
setup(width, height, RGB);
init(width, height, RGB);
//this(new int[width * height], width, height, RGBA);
// toxi: is it maybe better to init the image with max alpha enabled?
//for(int i=0; i<pixels.length; i++) pixels[i]=0xffffffff;
@@ -143,7 +143,7 @@ public class PImage implements PConstants, Cloneable {
/**
* Function to be used by subclasses to setup their own bidness.
*/
public void setup(int width, int height, int format) { // ignore
public void init(int width, int height, int format) { // ignore
this.width = width;
this.height = height;
this.pixels = new int[width*height];
+6 -6
View File
@@ -204,6 +204,12 @@ X beginCamera() no longer sets an identity matrix
X make savePath() and createPath() accessible to the outside world
X useful for libraries saving files etc.
............................................................
0071 or later (but high priority)
_ before graphics engine change, attach jogl stuff?
_ massive graphics engine changes
_ explicitly state depth()/nodepth()
@@ -235,12 +241,6 @@ _ better lighting model to show darkness at various depths
_ maybe just ultra-high res bitmaps from gl
_ version of BApplet that replaces g. with ai. or pdf.
............................................................
0071 or later (but high priority)
_ figure out how to handle cached images, multiple images
_ MediaTracker blocking is prolly making jar download really slow
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1089914280;start=0