last bits for 52

This commit is contained in:
benfry
2003-03-05 22:09:35 +00:00
parent 20bae00a3a
commit 55075f73ab
3 changed files with 105 additions and 35 deletions
+3 -21
View File
@@ -1,6 +1,6 @@
PROCE55ING DEVELOPMENT ENVIRONMENT
RELEASE 0051 - 31 JANUARY 2003
RELEASE 0052 - 5 MARCH 2003
(c) 2001-03 Massachusetts Institute of Technology
and Interaction Design Institute Ivrea
@@ -128,25 +128,6 @@ out what's going on. useful things when reporting:
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
KNOWN BUGS
there are many more, which are in a cryptic 'todo.txt' list that we
keep, but some of the larger ones that we know about:
- random freezes under windows, after running a few time. every 20th
or every 100th time the app just freaks out. use ctrl-alt-del to
kill the java runtime and restart your app. this will slowly be
ironed out.
- some examples seem to be broken, this will be ironed out for 0050
- a couple tweaks with the syntax of 'color' statements are needed,
this is related to the above
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
GENERAL NOTES / COMMON ISSUES
- size() must use numbers, not variables. this is because of how
@@ -314,7 +295,8 @@ versions: this version has only been tested under Mac OS 9.2.2.
WINDOWS
win2k works well, reports point to xp working well also.
win2k and winxp are used as the primary development platforms, so the
release will likely work best on either platform.
win95/98/me seem to have some trouble, but we think it's just with
the .exe that we use, so that'll get fixed in the future. you can try
+90
View File
@@ -4,6 +4,96 @@ for older releases will be super crusty. caution: the beverage you're
about to enjoy is extremely hot.
ABOUT REV 0052 - 5 march 2003
[ feature additions ]
- alpha/transparency is partially working.. there are still problems
(see 'known bugs' section below) but it's in there.
- smooth() and noSmooth() are partially implemented. they've got
several bugs that we know about but might be fun to play with. we
know of most of the bugs so we hope to get to them soon.
- fill color can be set for images. IMPORTANT: to get just the image,
be sure to set the fill to white.
- images no longer cache by default IMPORTANT: if you *want* images to
cache, you should use loadImage("filename.jpg", false). the second
parameter is whether or not images should be 'forced' to load fresh.
- get the on-screen locations of an xyz point using:
float sx = screenX(x, y, z);
float sy = screenY(x, y, z);
float sz = screenZ(x, y, z);
- get the object-space coordinates (how the object is affected by
translate and rotate etc) using:
float ox = objectX(x, y, z);
float oy = objectY(x, y, z);
float oz = objectZ(x, y, z);
- constrain() is now part of the api
- format numbers with nf().. syntax: nf(int num, int digits)
to make '27' into '0027' -> String formatted = nf(27, 4);
- also for numbers with decimals.. nf(float num, int left, int right)
to make 27.3 into '027.3000' -> String formatted = nf(27.3, 3, 4);
or use zero if you don't care the number of digits:
i.e. make 27.3 into "27.3000" -> String fmt = nf(27.3, 0, 4);
- camera functions now work. the following is the code for the
perspective camera (sorry no more docs, you can check opengl
references for more info until we get caught up)
beginCamera();
cameraMode(CUSTOM);
perspective(fov, aspect, nearDist, farDist);
lookat(eyeX, eyeY, eyeDist, eyeX, eyeY, 0, 0, 1, 0);
endCamera();
there's also ortho(left, right, bottom, top, near, far) to give you
an orthographic projection.. frustum() is another useful function in
this class. these work like their opengl equivalents, but without
docs are for advanced users only.
- more matrix math.. applyMatrix() takes 16 floats which get
multiplied by the current transformation matrix. resetMatrix()
resets the transformation matrix to identity.
- switched to jre 1.4.1_02 from 1.4.1_01
[ bug fixes ]
- some programs that used 'color' didn't work, now they do.
- fixed other broken examples.
- missing images should no longer lock up the environment. on windows,
they used to throw an exception and lock everything up.
- color for 'use external editor' works with new scheme.
- numberFormat() had a bug where commas would show up. oops.
[ known bugs ]
- still can't figure out the 'caret disappearing' bug.
- alpha is a little weird (doesn't always work) on lines. it won't
work on single pixel lines unless smooth() is turned on.
- smooth() is still imperfect. you may find some jagged edges. text
marches in a funny way (i.e. typography04). shapes don't always
properly overlap.
- random freezes under windows, after running a few time. every 20th
or every 100th time the app just freaks out. use ctrl-alt-del to
kill the java runtime and restart your app. this will slowly be
ironed out.
ABOUT REV 0051 - 31 january 2003
enables key presses in the editor when 'alt' or 'option' is pressed.
+12 -14
View File
@@ -7,6 +7,10 @@ X projectSize() should work the same way
X screenX instead of projectX
X modelX or objectX could do the amit style thing
X creas says object
X better access to projX et al
X what's a better name? calcX? or write to an array?
X projectX, projectY, .. or projectedX ?
X also projectSize should just be project()
X smooth() and noSmooth()
X possible dist() and constrain() functions
X reas: I like people making these themselves and then later
@@ -22,10 +26,6 @@ X camera work
X beginCamera, endCamera -> does glMatrixMode style swapping
X cameraMode(CUSTOM, PERSPECTIVE, ISOMETRIC)
X lookAt->lookat, frustum, perspective should be public too
X better access to projX et al
X what's a better name? calcX? or write to an array?
X projectX, projectY, .. or projectedX ?
X also projectSize should just be project()
X splitints, et al.. have another version to specify what to use
X when the value gets a NumberFormatException.. ie.
X splitInts("blah blah blah", ' ', 0);
@@ -41,23 +41,21 @@ X images were broken with noSmooth
X color is ugly for 'use external editor' with new color scheme
X now uses color for current line
X re-enable SMOOTH_IMAGES
FIXED, BUT NEEDS POST TO BBOARD ON RELEASE
X 'color[] c' doesn't work, neither does 'color c[] = new color[10]'
_ http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1045052913
_ http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1045675678
X http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1045052913
X http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1045675678
X several examples broken (note from creas) in bugs.txt
_ http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1042222429
X http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1042222429
X drawing02, input09, input08, transform05, others?
X if image doesn't exist, spews null pointer exception and freaks
X locks up environment/machine, have to restart
_ http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1039409900
_ http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1045828000;start=0
X http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1039409900
X http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1045828000;start=0
X disable image cache (setUseCaches?)
_ http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Syntax;action=display;num=1043895082;start=0
X http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Syntax;action=display;num=1043895082;start=0
X add a note to revisions.txt that says "not for use as a reference"
_ http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1046191616;start=0
X http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1046191616;start=0
_ switched to jre 1.4.1_02
_ simage() is screwy..
_ its invocation is broken (image_mode can't be two things at once)