diff --git a/bugs.txt b/bugs.txt deleted file mode 100644 index 3f39c0451..000000000 --- a/bugs.txt +++ /dev/null @@ -1,234 +0,0 @@ -............................................................... - -*** SMOOTHING STRANGE ON SOME EDGES - -.... - - -// here is the same issue, more concise. -// one quad is fine, the other has one jagged edge: - -size(200, 200); -noStroke(); - -fill(102); -// bottom line is not smooth -quad(0, 0, 100, -20, 120, 100, 0, 120); - -fill(0); -// quad draws fine -quad(105, 10, 120, 60, 120, 150, 80, 200); - - -............................................................... - -*** EDGES DON'T HIT ONE ANOTHER CORRECTLY - -.... - -// smoothing changes the way sphere is rendered: - -size(200, 200); -lights(); -noStroke(); -//noSmooth(); -translate(100, height/2, -50); -sphere(100); - -..... - -i'm not sure how to classify, but look at 'typography00'. i think is the -same issue as when drawing the cubes above. tangent polygons have -lines between them. - -.... - - -// edges in cube rendering have gap when smooth is on: - -void setup() -{ - size(200, 200); - lights(); - noStroke(); -} - -float angle; -void loop() -{ - angle+=0.01; - translate(100, 100, 0); - rotateX(HALF_PI/2); - rotateY(angle); - box(80); -} - - -.... - - -ellipses are no longer begin stroked: - -size(200, 200); -stroke(255); -fill(0); -ellipse(50, 50, 100, 100); -rect(60, 60, 80, 80); - - -.... - - -// smoothing around ellipse is inconsistent. -// in this example, a foreign circulating line is introduced - -void setup() -{ - size(200, 200); - background(102, 0, 0); -} - -float a; - -void loop() -{ - a += 0.01; - translate(100, 100); - rotate(a); - ellipse(-50, -50, 100, 200); - //ellipse(-50, -50, 100, 100); -} - - -/ / / / / / / / / / / / - - -also that pesky pmouseX, pmouseY seems to be behaving oddly again. -it's skipping beats. try this: - -void setup() { - size(200, 200); - noBackground(); - refresh(); -} - -void loop() { - stroke(255); - if(mousePressed && pmouseX != 0 && pmouseY != 0) { - line(mouseX, mouseY, pmouseX, pmouseY); - } -} - -// the kludge with pmouseX != 0 etc. has to do with their default to 0. -// would it be possible to automatically have P5 set the pmouseX and -// pmouseY to mouseX and mouseY on the first frame? -// comment that line out to see what i'm talking about - - -.................................................... - -Gizmo[][] life = new Gizmo[30][30]; - -void setup() -{ - size(300, 300); - background(255, 255, 255); - stroke(0, 0, 0); - - for (int a = 0; a < 30; a++) - for (int b = 0; b < 30; b++) - { - life[a][b] = new Gizmo(a, b); - life[a][b].init(); - } -} - -void loop() -{ - if (mouseX >= 0 && mouseX <= 300 && mouseY >= 0 && mouseY <= 300) - { - int ex = (mouseX - (mouseX % 10)) / 10; - int why = (mouseY - (mouseY % 10)) / 10; - } - else - { - ex = 0; - why = 0; - } - - if (life[ex][why].alive == false && mousePressed) - life[ex][why].make(); - else if (life[ex][why].alive == true && mousePressed) - life[ex][why].kill(); - - drawbg(); -} - -void drawbg() -{ - for (int why = 0; why < 30; why++) - for (int ex = 0; ex < 30; ex++) - { - if (life[ex][why].alive == true) - { - fill(150, 20, 20); - rect(ex * 10, why * 10, 10, 10); - } - else - { - fill(0, 0, 0); - rect(ex * 10, why * 10, 10, 10); - } -} - - - -class Gizmo -{ - int x; - int y; - boolean alive; - Point[] neighbours = new Point[8]; - - Gizmo (int ex, int why) - { - x = ex; - y = why; - } - - void init(); - { - for (int i = 0; i < 8; i++) - neighbours[i] = new Point(0,0); - } - - void make() - { - alive == true; - } - - void kill() - { - alive == false; - } -} - -class Point -{ - int x; - int y; - - Point (int ex, int why) - { - x = ex; - y = why; - } - - void set(int ex, int why) - { - x = ex; - y = why; - } -} - - diff --git a/done.txt b/done.txt index a036e0dd1..c22053d80 100644 --- a/done.txt +++ b/done.txt @@ -1,3 +1,43 @@ +moved to sourceforge by arielm + + +BAGEL / Bugs + + b _ bezier is broken for > 4 points + b _ http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1042201137 + + b _ image(img, x, y) in CENTER_DIAMETER is actually center radius + b _ should make sure that x, y just makes it proper size + + b _ simage() is screwy.. + b _ its invocation is broken (image_mode can't be two things at once) + b _ doesn't actually use image_mode for placement + b _ also doesn't support RGBA + + b _ smooth images drawing strangely (missing first line of pixels) + b _ also smoothed even if not distorted + b _ aliased and anti-aliased images don't line up + b _ text (text04) marching around strangely + b _ problems with u/v are likely to also be there for colors + b _ u/v should be affected by w for proper perspective + b _ nonsmooth frame around circle gets drawn 8x away + b _ http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1050451728 + b _ texture weirdness at 90 degree angles + b _ http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1050650262 + b _ sphere() and other polygons don't connect flush with one another + b _ could hack by making each slightly larger than necessary + + b _ repair lines (even if slow) + b _ single pixel lines have no alpha and no z + b _ fix all the random line types to support alpha + + b _ anti-aliasing. smooth(), noSmooth() + b _ need to verify that this works consistently throughout + + b _ alpha. fill(r, g, b, a), stroke(r, g, b, a), + b _ need to verify that this works consistently throughout + + 0055 X incorporated (but not yet tested) net code X how to include sign with nf() diff --git a/todo.txt b/todo.txt index 3d6863260..885b94890 100644 --- a/todo.txt +++ b/todo.txt @@ -3,7 +3,35 @@ X modify classpath to use 1.4 for compiling X modify make.sh to include JDK14 flag X video: get qtjava stuff working, modify make.sh to include paths X also run.sh, the classpath on Proce55ing.app +X ceil/floor weren't colored properly +X http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1054886439 +X String wasn't colored, so added parts of java.lang +X BFont was allocating too much memory for fonts (found by arielm) +X modified all scripts to unpack the new reference +X simage() has been enabled again +X https://sourceforge.net/tracker/index.php?func=detail&aid=750867&group_id=63445&atid=504000 +X image_mode has been ironed out +X https://sourceforge.net/tracker/index.php?func=detail&aid=750886&group_id=63445&atid=504000 +X reference not being unzipped +X fix scripts for dist / make +X http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1054222236 +X http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1054886548 +bf b _ try installing with rxtx package on another machine + +bf b _ if sketchbook.dir is set, makes new sketchbook folder +bf b _ reads sketchbook properly from other folder +bf b _ but creates a new folder for new sketches to go into + +bf b _ tweak video to get it working +bf b _ beginVideo(int, int, int) not found +bf b _ http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1054283460 + +bf b _ net not closing, dispose() not getting called +bf b _ make sure dispose() gets called? that way people can override? +bf b _ or add another function for people to override? +bf b _ netEvent doesn't seem to be working in server mode +bf b _ http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1055044714 bf b _ add keyCode to BApplet (quick addition) bf b _ http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_Software;action=post;num=1043834995;title=Post+reply;start= @@ -24,43 +52,6 @@ A hybrid of OpenGL (3D Graphics) and some aspects of Postscript (Fill, Stroke) The graphics library is called Bagel, which is an internal name. -BAGEL / Bugs - - b _ bezier is broken for > 4 points - b _ http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1042201137 - - b _ image(img, x, y) in CENTER_DIAMETER is actually center radius - b _ should make sure that x, y just makes it proper size - - b _ simage() is screwy.. - b _ its invocation is broken (image_mode can't be two things at once) - b _ doesn't actually use image_mode for placement - b _ also doesn't support RGBA - - b _ smooth images drawing strangely (missing first line of pixels) - b _ also smoothed even if not distorted - b _ aliased and anti-aliased images don't line up - b _ text (text04) marching around strangely - b _ problems with u/v are likely to also be there for colors - b _ u/v should be affected by w for proper perspective - b _ nonsmooth frame around circle gets drawn 8x away - b _ http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1050451728 - b _ texture weirdness at 90 degree angles - b _ http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1050650262 - b _ sphere() and other polygons don't connect flush with one another - b _ could hack by making each slightly larger than necessary - - b _ repair lines (even if slow) - b _ single pixel lines have no alpha and no z - b _ fix all the random line types to support alpha - - b _ anti-aliasing. smooth(), noSmooth() - b _ need to verify that this works consistently throughout - - b _ alpha. fill(r, g, b, a), stroke(r, g, b, a), - b _ need to verify that this works consistently throughout - - BAGEL / Graphics API Additions b _ hiding the cursor. noCursor(), cursor()