mirror of
https://github.com/processing/processing4.git
synced 2026-02-13 18:35:37 +01:00
filtering implemented, textXxxx fixes, color swapping, constants renaming
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user