filtering implemented, textXxxx fixes, color swapping, constants renaming

This commit is contained in:
benfry
2005-04-02 00:47:42 +00:00
parent 46c709f755
commit f7b6fda3d9
4 changed files with 77 additions and 20 deletions

View File

@@ -7,7 +7,7 @@ and since only a handful of things change between releases
..................................................................
PROCESSING WON'T START! NOTHING HAPPENS WHEN I HIT "RUN"!
PROCESSING WON'T START! NOTHING HAPPENS WHEN I CLICK "RUN"!
- on windows, processing probably won't work if you install it inside
a folder with non-ascii characters in its name. for instance, if the
@@ -55,6 +55,11 @@ PROCESSING WON'T START! NOTHING HAPPENS WHEN I HIT "RUN"!
only happen with applets that have a "coffee cup" icon in the
window (that's how you know it's running externally).
- on macosx, something like the following error might occur:
dyld: /Applications/processing-0079/jikes version mismatch for library: /sw/lib/libiconv.2.dylib (compatibility version of user: 5.0.0 greater than library's version: 3.0.0)
it seems that this happens when an older version of fink is
installed. in this case, you should either disable fink or update to
the latest version. (thanks to ryan govostes for tracking this down)
..................................................................
@@ -169,6 +174,11 @@ QUICKTIME FOR JAVA / VIDEO PROBLEMS
OPENGL PROBLEMS
- we don't recommend running other opengl programs while running processing
in opengl mode. gl tends takes charge of things so results will be
unexpected (windows from the other app showing through to the processing
window, etc.)
- if you're getting this error:
"net.java.games.jogl.GLException: Unable to enumerate pixel formats
of window using wglGetPixelFormatAttribivARB: 0"

View File

@@ -1319,7 +1319,7 @@ public class PApplet extends Applet
* Same as above but with an exception. Also needs work.
*/
public void die(String what, Exception e) {
e.printStackTrace();
if (e != null) e.printStackTrace();
die(what);
}
@@ -1352,10 +1352,12 @@ public class PApplet extends Applet
/**
* grab an image of what's currently in the drawing area.
* best used just before endFrame() at the end of your loop().
* only creates .tif or .tga images, so if extension isn't specified
* it defaults to writing a tiff.
* Grab an image of what's currently in the drawing area and save it
* as a .tif or .tga file.
* <P>
* Best used just before endFrame() at the end of your loop().
* This can only create .tif or .tga images, so if neither extension
* is specified it defaults to writing a tiff and adds a .tif suffix.
*/
public void saveFrame() {
if (online) {
@@ -1371,13 +1373,13 @@ public class PApplet extends Applet
/**
* Save the current frame as a .tif or .tga image.
*
* <P>
* The String passed in can contain a series of # signs
* that will be replaced with the screengrab number.
*
* <PRE>
* i.e. saveFrame("blah-####.tif");
* // saves a numbered tiff image, replacing the
* // # signs with zeros and the frame number
* // # signs with zeros and the frame number </PRE>
*/
public void saveFrame(String what) {
if (online) {

View File

@@ -14,7 +14,7 @@ X no, in keeping with getting shit done
X BLUR - write simple blur
X how does photoshop handle this?
X BLUR - add gaussian blur
_ email re: credit/attribution and descrepancy between algos
X email re: credit/attribution and descrepancy between algos
X forgot to mention the line hack to get points working in 78
X implemented PGraphicsGL.set(x, y, argb)
X implement PGraphicsGL.set(x, y, PImage)
@@ -32,22 +32,25 @@ X clean up the javadoc so no more errors
X change mbox to PFont.size?
o make width() return values based on natural size?
X not a great idea.. plus java2d uses 1 pixel font for things
X email simon re: lighting api
X things are actually more on track than expected
X camera is swapping colors in gl (on mac?)
X in fact, all textures on mac were swapping colors
_ test this on windows to see if fixed
implemented in 79
X make sure arc goes in the right direction that we want it to
X (make sure that PGraphics3 goes the same direction)
_ email simon re: lighting api
_ things are actually more on track than expected
_ allow save(), saveFrame() et al to properly pass in absolute paths
_ (so that it doesn't always save to the applet folder)
_ could require that save() takes an absolute path?
BETA
_ printarr() of null array crashes without an error
_ actually, errors from many crashes not coming through on the mac?
PGraphics
createGraphics and placement issues
_ remove PMethods as actual class...
size(200, 200, P3D) - createGraphics and placement issues
_ make pappletgl work back inside papplet
_ and then size(300, 300, DEPTH) etc
_ get rid of opengl renderer menu
@@ -76,6 +79,18 @@ _ or with a Window object
_ fix the flicker in java2d mode
X is it because the lock was taken off (g) in PApplet?
_ add something to PApplet to have constants for the platform
_ needed for error messages (winvdig?) and other misc
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
_ allow save(), saveFrame() et al to properly pass in absolute paths
_ (so that it doesn't always save to the applet folder)
_ could require that save() takes an absolute path?
_ printarr() of null array crashes without an error
_ actually, errors from many crashes not coming through on the mac?
PApplet
_ check for what else inside PApplet should be static
_ maybe catch RuntimeExceptions in the called sub-functions
@@ -131,6 +146,7 @@ add simon's new 3d code as soon as he has gl working
api questions
_ should available() be waiting() or something like that instead?
_ sphere x,y,z,r or box w,h,d.. need to make them consistent

View File

@@ -10,6 +10,30 @@ o this would need to track whether coming just from an ext runtime
o make "get quicktime libs" function
o can java get the root directory for system/win32 etc?
BETA
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
_ .psk file support for bundling sketches
_ add something to PApplet to have constants for the platform
_ move everything to packages, and start auto-javadoc
_ also move the lib folders to a new location
camera
_ list() should return full list with all sub-components
_ find the example code from the board
_ add prompt() method to Camera ("" means default, null is prompt)
_ couldn't get req'd component also happens when the camera isn't ready
_ may also mean that no camera is plugged in
_ also, don't mention winvdig on the mac
_ if user cancels prompt, throws a '-128,userCanceledErr'
_ in which case, need to return null (or ""?) for the prompt
_ which will also just give you the last camera
_ should it be new Camera(PROMPT);
_ error messages from quicktime not coming through very well
_ setting the camera should be an index from list()
_ put processing.exe into cvs so that make et al aren't required
_ add 'make' to list of things that should be installed
@@ -34,6 +58,10 @@ _ some type of sketch archive format for posting examples
_ would be nice to open a sketch directly from a zip file
Minor issue, but caused me a couple seconds of confusion. If you rename your sketch then try to close the application without saving first, it asks you if you want to save but mentions the pre-rename name. But I hit yes, quit, came back in, and all seemed right in the world.
Is it possible that saving with the 'save' button doesn't pay attention to where you point at the project folder from prefs? Jeez, i phrased that horribly. I opened preferences for Processing and made the default sketchbook location processing-0079/projects. I then put all my older projects in that project folder. When i opened up an old file and made changes, i then hit 'save' and quit. I relaunched v79 and opened the aforementioned file, and none of the changes were there. but they were in v77 project folder.
create a new sketch
create a new tab named "a"
create a new tab named "a_2"
@@ -73,10 +101,11 @@ libraries
_ libraries need to remove the PLibrary interface
_ particles lib requires depth() (but shouldn't)
_ fix for 78 since not sure when simon's new version is happening
_ should we queue lib events until the end of loop?
X should we queue lib events until the end of loop?
_ nope, libraries can handle that themselves,
_ and queue events by registering for draw or whatever they'd like
_ lib could call queueEvent with the args
_ then call them inside post()
_ add prompt() method to Camera ("" means default, null is prompt)
_ add prompt() method to Serial (simple dialog box that pops up)
_ get an xml library in there
_ nanoxml problems with manifest