mirror of
https://github.com/processing/processing4.git
synced 2026-02-14 02:45:36 +01:00
update check only once daily, fixes that were causing things to lock up
on window move
This commit is contained in:
@@ -1,10 +1,24 @@
|
||||
0087 core
|
||||
|
||||
fixed in previous releases
|
||||
X The PushPop example in Transformations is not working
|
||||
X with lights() callled
|
||||
X The transparency of the Rotate3D example in Translformations
|
||||
X is not as expected
|
||||
X lighting totally sucks (both PGraphics3 and PGraphicsGL)
|
||||
X bring in materials for opengl as well?
|
||||
X don't include a class, just make it similar to the light functions
|
||||
X sphere() and box() should set normals and take textures
|
||||
X background color seems to be wrong?
|
||||
X check this once lighting actually works
|
||||
X printarr() of null array crashes without an error
|
||||
X actually, errors from many crashes not coming through on the mac?
|
||||
|
||||
|
||||
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
|
||||
|
||||
|
||||
high priority
|
||||
HIGH PRIORITY
|
||||
|
||||
_ polygons perpendicular to axis not drawing
|
||||
_ is this a clipping error?
|
||||
@@ -18,122 +32,37 @@ _ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Syntax;action=displ
|
||||
_ new PGraphics2 objects are set as RGB, but on loadPixels/updatePixels
|
||||
_ they're drawn as transparent and don't have their high bits set
|
||||
http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Syntax;action=display;num=1113933055;start=0
|
||||
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1115087536;start=0
|
||||
|
||||
_ vars like cameraX etc need to be in PGraphics
|
||||
_ otherwise g.xxxx won't work
|
||||
|
||||
_ is mousePressed broken because of event queue?
|
||||
_ or at least w/ framerate? or redraw and noLoop?
|
||||
_ how far should this go? vertices etc?
|
||||
|
||||
X typed version of expand() and contract()
|
||||
_ need to complete for the others:
|
||||
_ append(), shorten(), splice, slice, subset, concat, reverse
|
||||
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Suggestions;action=display;num=1114443601;start=0
|
||||
|
||||
_ simon reports borders on P3D and OPENGL if background() not called
|
||||
|
||||
present mode fixes
|
||||
_ for present mode, need to set a default display
|
||||
_ currently crashes if only --present is specified w/o --display
|
||||
_ present mode is flakey.. applet doesn't always come up
|
||||
_ seems like hitting stop helps shut it down?
|
||||
_ is full screen window not being taken down properly?
|
||||
_ esc should kill fullscreen mode
|
||||
_ can a key handler be added to the window?
|
||||
_ how can this be shut off for presentations?
|
||||
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1114027594;start=0
|
||||
_ implement full screen mode.. this takes over the screen as best it can
|
||||
_ size(screen.width, screen.height, OPENGL);
|
||||
_ if size is screen.width and screen.height, does its best
|
||||
_ needs to get the size of the main screen
|
||||
_ ability to select monitor via preferences panel
|
||||
_ this applies to any applet that's run externally currently (verify)
|
||||
_ make it also work with anything that's run inside of p5 itself
|
||||
_ check current present code with multiple monitors
|
||||
_ first pass on full screen
|
||||
_ exceptions in full screen mode will quit the app completely
|
||||
_ (can't keep window open because things are hosed)
|
||||
_ default is that full screen app doesn't cover multiple displays
|
||||
_ this is fine since opengl can't usually go across both
|
||||
_ but include an example for how to use full in gl
|
||||
_ (use toolkit.getscreensize)
|
||||
|
||||
_ seem to be problems with updatePixels() on the mac
|
||||
_ appears to run asynchronously
|
||||
|
||||
_ don't do a loadPixels unless an updatePixels has completed
|
||||
_ tho this won't affect anything, since either it's an image buffer
|
||||
_ or it's the PGraphics object, which does an updatePixels() immediately
|
||||
|
||||
_ the draw() method must exist, otherwise the sketch won't run
|
||||
|
||||
_ web colors with alpha: 0xffcc0080 or unhex("ffcc0080")
|
||||
|
||||
_ point appears to be broken
|
||||
_ could be a problem with java 1.5? (was using win2k)
|
||||
noStroke();
|
||||
colorMode(RGB, 100);
|
||||
for(int i=0; i<100; i++) {
|
||||
for(int j=0; j<100; j++) {
|
||||
stroke(i, j, 0);
|
||||
point(i, j);
|
||||
}
|
||||
}
|
||||
As an aside, set() is at least 10x faster, and
|
||||
perhaps should be used in these examples anyway.
|
||||
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1114204116;start=0
|
||||
|
||||
_ is it the run() exception handler that's leaving off the CRLFs?
|
||||
|
||||
_ would be cool if could sort w/o the sort class..
|
||||
_ meaning use reflection to sort objects, just by implementing a few methods
|
||||
|
||||
_ make a PException that extends RuntimeException but packages an ex?
|
||||
_ http://java.sun.com/docs/books/tutorial/essential/exceptions/runtime.html
|
||||
|
||||
_ catch sun.dc.pr.PRException?
|
||||
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1113990788;start=0
|
||||
|
||||
_ bizarre image loading error with c_Rollover.zip
|
||||
|
||||
_ text() with a z coordinate is now using translate, very slow
|
||||
_ also puts up a weird error message about translate() in 2D mode
|
||||
|
||||
_ set upper bound on framerate so as not to completely hose things?
|
||||
_ fix the flicker in java2d mode
|
||||
_ not clear what's happening here
|
||||
_ appears to be much worse (unfinished drawing) on macosx
|
||||
_ try turning off hw accel on the mac to see if that's the problem
|
||||
|
||||
_ post() method to send a bunch of crap to a web url?
|
||||
_ or an example that does this?
|
||||
|
||||
_ bit shifting in opengl, get down to 2 ops by using other image modes
|
||||
_ i.e. ABGR_EXT might allow for just two shifts instead of 4
|
||||
_ allow access to native pixel buffer in opengl and power of 2
|
||||
_ so that no need to copy/update everything
|
||||
_ need to write an error if people try to use opengl with 1.3 (i.e. on export)
|
||||
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Contribution_3DOpenGL;action=display;num=1114368123;start=3
|
||||
_ grabbing sun.cpu.endian throws a security exception with gl applets
|
||||
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Contribution_3DOpenGL;action=display;num=1114368123;start=3
|
||||
|
||||
_ make the 1.4 code in PApplet load via reflection
|
||||
_ doesn't appear necessary with 1.3 applets
|
||||
_ don't do a loadPixels unless an updatePixels has completed
|
||||
_ tho this won't affect anything, since either it's an image buffer
|
||||
_ or it's the PGraphics object, which does an updatePixels() immediately
|
||||
_ don't grab pixels of java2d images unless asked
|
||||
_ this is the difference between a lot of loadPixels() and not
|
||||
_ so important to have it in before beta if that's the change
|
||||
_ if (modified) don't loadPixels again, just ignore it
|
||||
_ make a note that updatePixels() only sets a flag in PImage
|
||||
_ (but not PGraphics, which does it immediately)
|
||||
|
||||
_ make get/getImpl for PGraphics/PGraphics2
|
||||
_ make sure there's a loadPixels/updatePixels in PGraphics2
|
||||
_ rewrite getImpl/setImpl inside opengl
|
||||
_ make screen space fonts use get/set as well?
|
||||
_ too much to debug on their own
|
||||
_ unfortunately tint not set with setImpl, but...
|
||||
|
||||
_ get/set doesn't use tint at all
|
||||
_ (meaning that it's not so good for fonts)
|
||||
|
||||
_ apply tint() to textures as well
|
||||
_ otherwise no good way to color textures
|
||||
|
||||
_ textMode(SCREEN) having issues
|
||||
|
||||
_ set(x, y, image)
|
||||
_ x, y not setting with processing
|
||||
@@ -144,6 +73,8 @@ _ will sorting based on depth help this? also ask simon for ideas
|
||||
|
||||
_ cellular automata examples broken
|
||||
|
||||
_ ComponentListener is probably what's needed for resize() to work
|
||||
|
||||
_ gl smoothing.. how to disable polygon but keep line enabled
|
||||
_ or at least make a note of this?
|
||||
_ leave smooth off, get the gl object, then enable line smooth
|
||||
@@ -154,99 +85,21 @@ _ make illustrator lib
|
||||
|
||||
_ move really general things out of PConstants (X, Y, Z..)
|
||||
|
||||
sound
|
||||
_ duration as an internal param, not a function
|
||||
_ When a sound is finished playing, it should return to 0 so it can play again
|
||||
_ Putting sound.loop() in draw() seemed to spawn multiple sounds threads?
|
||||
_ After a sound is paused, it will only play from where it was paused
|
||||
_ to its end and will not loop again
|
||||
_ The ref in PSound2 says volume accepts vals from 0...1
|
||||
_ but values larger than one increase the volume.
|
||||
_ SoundEvent // is sound finished?? Can't access now.
|
||||
|
||||
_ don't grab pixels of java2d images unless asked
|
||||
_ this is the difference between a lot of loadPixels() and not
|
||||
_ so important to have it in before beta if that's the change
|
||||
|
||||
_ if (modified) don't loadPixels again, just ignore it
|
||||
_ make a note that updatePixels() only sets a flag in PImage
|
||||
_ (but not PGraphics, which does it immediately)
|
||||
|
||||
_ make vertexCount etc properly accessible in PGraphics3
|
||||
_ so that people can do things like the dxf renderer
|
||||
|
||||
_ add something to PApplet to have constants for the platform
|
||||
_ needed for error messages (don't talk about winvdig on mac)
|
||||
_ and also useful for programs
|
||||
|
||||
PApplet
|
||||
_ is mousePressed broken with noLoop() or redraw()?
|
||||
_ check for what else inside PApplet should be static
|
||||
_ maybe catch RuntimeExceptions in the called sub-functions
|
||||
_ that way more stuff can be static w/o losing useful error handling
|
||||
_ (emitting errors when closest to source.. i.e. w/ the filename)
|
||||
|
||||
PGraphics3
|
||||
_ error message saying that strokeCap and strokeJoin don't work
|
||||
_ PPolygon no longer in use and PLine is a mess
|
||||
_ also have a simple way to hook in triangle leeches to PGraphics3
|
||||
_ this exists, but needs to be documented, or have accessors
|
||||
|
||||
|
||||
to be fixed with new lighting
|
||||
_ The PushPop example in Transformations is not working
|
||||
_ with lights() callled
|
||||
_ The transparency of the Rotate3D example in Translformations
|
||||
_ is not as expected
|
||||
_ lighting totally sucks (both PGraphics3 and PGraphicsGL)
|
||||
_ bring in materials for opengl as well?
|
||||
_ don't include a class, just make it similar to the light functions
|
||||
_ sphere() and box() should set normals and take textures
|
||||
_ background color seems to be wrong?
|
||||
_ check this once lighting actually works
|
||||
|
||||
_ don't let users on < 1.3 load JAVA2D, or < 1.4 load OPENGL
|
||||
|
||||
PApplet
|
||||
_ printarr() of null array crashes without an error
|
||||
_ actually, errors from many crashes not coming through on the mac?
|
||||
_ 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?
|
||||
_ size() inside draw is missing a new call to cameraMode, etc
|
||||
|
||||
PGraphics
|
||||
_ new PGraphics(PImage)
|
||||
|
||||
PGraphics2
|
||||
_ textSpace(SCREEN_SPACE) needs to be faster
|
||||
_ need flat image implementation that takes no transforms
|
||||
_ along with 90, 180 and 270 versions of it as well
|
||||
_ tie to glDrawPixels.. how to clear matrix properly for that?
|
||||
_ gradient-painted lines
|
||||
Color c = new Color(0x00FFFF00, true);
|
||||
GradientPaint gradient =
|
||||
new GradientPaint(0,0,Color.red,100,100,c);
|
||||
GeneralPath gp = new GeneralPath();
|
||||
gp.moveTo(10, 10);
|
||||
gp.lineTo(100, 90);
|
||||
gp.lineTo(20, 50);
|
||||
gp.closePath();
|
||||
Graphics2D g2 = ((PGraphics2)g).g2;
|
||||
g2.setPaint(gradient);
|
||||
g2.draw(gp);
|
||||
|
||||
PGraphics3
|
||||
_ fix tint() for PGraphics3 (what could be wrong?)
|
||||
_ tint() honoring alpha but not colored tint
|
||||
_ maybe not setting fill color when drawing textures
|
||||
_ guessing it's an implementation issue in sami's renderer
|
||||
_ check with the a_Displaying example and tint(255, 0, 0, 100);
|
||||
_ Stroking a rect() leaves the upper right pixel off.
|
||||
|
||||
_ beginShape()
|
||||
_ don't allow you to draw stroked items unless stroke() is called
|
||||
_ don't allow beginShape() if shape is already set
|
||||
_ (otherwise will cause some very strange errors)
|
||||
|
||||
_ image loading bug is huge
|
||||
_ figure out how to handle cached images, multiple images
|
||||
@@ -367,56 +220,120 @@ The graphics library was formerly called Bagel.
|
||||
|
||||
CORE / PApplet
|
||||
|
||||
1 _ allow save(), saveFrame() et al to properly pass in absolute paths
|
||||
1 _ (so that it doesn't always save to the applet folder)
|
||||
1 _ could require that save() takes an absolute path?
|
||||
1 _ size() inside draw is missing a new call to cameraMode, etc
|
||||
1 _ framerate(30) is still flickery and jumpy..
|
||||
1 _ fix param() to use a sketch.properties file when run as an app
|
||||
1 _ make this also be used in generating the html file
|
||||
1 _ fix link() to handle relative URLs
|
||||
1 _ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1081710684;start=0
|
||||
1 _ put SecurityException things around file i/o for applets
|
||||
1 _ rather than checking online(), since applets might be signed
|
||||
1 _ saveFrame() at the end of a draw mode program is problematic
|
||||
1 _ app might exit before the file has finished writing to disk
|
||||
1 _ need to block other activity inside screenGrab until finished
|
||||
1 _ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1081706752
|
||||
1 _ problems with defining fill(255) vs fill(0xff808080)
|
||||
1 _ http://processing.org/discourse/yabb/YaBB.cgi?board=Syntax;action=display;num=1083650609;start=0
|
||||
1 _ http://processing.org/discourse/yabb/YaBB.cgi?board=Syntax;action=display;num=1082481891;start=2
|
||||
1 _ too many push() will silently stop the applet inside a loop
|
||||
1 _ test winding polygons in different directions
|
||||
1 _ test lighting to see how it compares with gl
|
||||
1 _ better lockout inside beginShape() to keep other things from happening
|
||||
1 _ is quad strip broken or not behaving as expected?
|
||||
1 _ may be correct, it worked for nik
|
||||
1 _ inside draw() mode, delay() does nothing
|
||||
1 _ delay might be a good way to signal drawing to the screen/updating
|
||||
1 _ catch security exceptions around applet i/o calls
|
||||
1 _ not just for saving files, but provide better error msgs when
|
||||
1 _ attempting to download from another server
|
||||
1 _ array utilities on Object[] are worthless.. fix it with reflection?
|
||||
1 _ see if reflection will allow expand for all class types
|
||||
1 _ ed's thread re: fullscreen strategies
|
||||
1 _ could add a new BApplet that uses BufferStrategy?
|
||||
1 _ http://processing.org/discourse/yabb/YaBB.cgi?board=Programs;action=display;num=1081335361;start=15
|
||||
1 _ don't cache stuff from loadStrings and others
|
||||
1 _ mac java vm won't give up old version of file
|
||||
1 _ or use setUseCaches(false)
|
||||
|
||||
CORE / PImage
|
||||
|
||||
b _ dynamically load code for png and others on loadImage/saveFrame?
|
||||
b _ updated png encoder
|
||||
b _ http://processing.org/discourse/yabb/YaBB.cgi?board=Syntax;action=display;num=1083792994
|
||||
b _ more image file i/o.. more advanced in newer java
|
||||
b _ read uncompressed tiff, read uncompressed tga files.
|
||||
b _ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_Software;action=display;num=1081190619
|
||||
b _ http://processing.org/discourse/yabb/YaBB.cgi?board=Tools;action=display;num=1066742994;start=15
|
||||
b _ loadImage() seems to be caching everything from the jar
|
||||
b _ make a note of how to disable this
|
||||
b _ http://processing.org/discourse/yabb/YaBB.cgi?board=Programs;action=display;num=1078795681#8
|
||||
b _ get loadImage() to work properly with data folder
|
||||
b _ should probably use the code from loadStream
|
||||
b _ and the url stuff should be an alternate method altogether
|
||||
b _ alpha not set on saveFrame, so can't be used in photoshop as a layer
|
||||
b _ http://processing.org/discourse/yabb/YaBB.cgi?board=general;action=display;num=1078441623;start=0
|
||||
b _ expose function to write tiff header in PImage (advanced)
|
||||
b _ helps with writing enormous images
|
||||
1 _ loadImage must be used inside or after setup
|
||||
1 _ either document this and/or provide a better error message
|
||||
1 _ http://processing.org/discourse/yabb/YaBB.cgi?board=Programs;action=display;num=1060879468;start=0
|
||||
b _ more blend() modes (the five listed on the thread below?)
|
||||
b _ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_Software;action=display;num=1082056702
|
||||
b _ figure out what the modes should actually be:
|
||||
b _ photoshop: normal, dissolve; darken, multiply, color burn,
|
||||
b _ linear burn; lighten, screen, color dodge, linear
|
||||
b _ dodge; overlay, soft light, hard light, vivid light,
|
||||
b _ linear light, pin light, hard mix; difference,
|
||||
b _ exclusion; hue, saturation, color, luminosity
|
||||
b _ illustrator: normal; darken, multiply, color burn; lighten,
|
||||
b _ screen, color dodge; overlay, soft light, hard light;
|
||||
b _ difference, exclusion; hue, sat, color, luminosity
|
||||
b _ director: Copy, Transparent, Reverse, Ghost, Not copy,
|
||||
b _ Not transparent, Not reverse, Not ghost, Matte, Mask;
|
||||
b _ (below seems more useful:
|
||||
b _ Blend, Add pin, Add, Subtract pin, Background transparent,
|
||||
b _ Lightest, Subtract, Darkest, Lighten, Darken
|
||||
b _ flash:
|
||||
b _ DIFFERENCE: C = abs(A-B);
|
||||
b _ MULTIPLY: C = (A * B ) / 255
|
||||
b _ SCREEN: C= 255 - ( (255-A) * (255-B) / 255 )
|
||||
b _ OVERLAY: C = B < 128 ? (2*A*B/255) : 255-2*(255-A)*(255-B)/255
|
||||
b _ HARD_LIGHT: C = A < 128 ? (2*A*B/255) : 255-2*(255-A)*(255-B)/255
|
||||
b _ SOFT_LIGHT: C = B < 128 ? 2*((A>>1)+64)*B/255 : 255-(2*(255-((A>>1)+64))*(255-B)/255)
|
||||
CORE / PApplet - main()
|
||||
|
||||
_ make the 1.4 code in PApplet load via reflection
|
||||
_ doesn't appear necessary with 1.3 applets
|
||||
_ for present mode, need to set a default display
|
||||
_ currently crashes if only --present is specified w/o --display
|
||||
_ present mode is flakey.. applet doesn't always come up
|
||||
_ seems like hitting stop helps shut it down?
|
||||
_ is full screen window not being taken down properly?
|
||||
_ esc should kill fullscreen mode
|
||||
_ can a key handler be added to the window?
|
||||
_ how can this be shut off for presentations?
|
||||
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1114027594;start=0
|
||||
_ implement full screen mode.. this takes over the screen as best it can
|
||||
_ size(screen.width, screen.height, OPENGL);
|
||||
_ if size is screen.width and screen.height, does its best
|
||||
_ needs to get the size of the main screen
|
||||
_ ability to select monitor via preferences panel
|
||||
_ this applies to any applet that's run externally currently (verify)
|
||||
_ make it also work with anything that's run inside of p5 itself
|
||||
_ check current present code with multiple monitors
|
||||
_ first pass on full screen
|
||||
_ exceptions in full screen mode will quit the app completely
|
||||
_ (can't keep window open because things are hosed)
|
||||
_ default is that full screen app doesn't cover multiple displays
|
||||
_ this is fine since opengl can't usually go across both
|
||||
_ but include an example for how to use full in gl
|
||||
_ (use toolkit.getscreensize)
|
||||
|
||||
|
||||
CORE / PFont and text()
|
||||
|
||||
_ text() with a z coordinate is now using translate, very slow
|
||||
_ also puts up a weird error message about translate() in 2D mode
|
||||
_ make screen space fonts use get/set as well?
|
||||
_ too much to debug on their own
|
||||
_ unfortunately tint not set with setImpl, but...
|
||||
1 _ optimize textMode(MODEL) with textMode(SCREEN)
|
||||
1 _ in PGraphics and PGraphics3, check to see if matrix is within epsilon
|
||||
1 _ of one of the rotation matrices (many fewer steps)
|
||||
1 _ if identity, or just translate, or a rotate, make OBJECT into SCREEN
|
||||
1 _ optimize fonts by using native fonts in PGraphics2
|
||||
1 _ especially textMode(SCREEN) which is disastrously slow
|
||||
1 _ in java2d, can quickly blit the image itself
|
||||
1 _ this way, can isolate it for gl too, which will use glBitmap
|
||||
1 _ danger of this setup is that it may run much nicer for the author
|
||||
1 _ i.e. with the font installed, and then super slow for their users
|
||||
_ not having kerning really blows
|
||||
_ could this be pulled from the OpenType font stuff?
|
||||
_ it could be placed at the end of the file
|
||||
_ not having fractional widths on small fonts really blows
|
||||
_ screen space text looks crappy
|
||||
|
||||
|
||||
CORE / PGraphics
|
||||
|
||||
_ beginShape()
|
||||
_ don't allow you to draw stroked items unless stroke() is called
|
||||
_ don't allow beginShape() if shape is already set
|
||||
_ (otherwise will cause some very strange errors)
|
||||
|
||||
_ point appears to be broken
|
||||
_ could be a problem with java 1.5? (was using win2k)
|
||||
noStroke();
|
||||
colorMode(RGB, 100);
|
||||
for(int i=0; i<100; i++) {
|
||||
for(int j=0; j<100; j++) {
|
||||
stroke(i, j, 0);
|
||||
point(i, j);
|
||||
}
|
||||
}
|
||||
As an aside, set() is at least 10x faster, and
|
||||
perhaps should be used in these examples anyway.
|
||||
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1114204116;start=0
|
||||
|
||||
b _ lines
|
||||
b _ z value hack for lines is causing trouble for 2D
|
||||
b _ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1089737928;start=0
|
||||
@@ -504,67 +421,116 @@ CORE / PGraphics
|
||||
1 _ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1076660476;start=0
|
||||
|
||||
|
||||
CORE / PFont
|
||||
CORE / PGraphics2
|
||||
|
||||
1 _ optimize textMode(MODEL) with textMode(SCREEN)
|
||||
1 _ in PGraphics and PGraphics3, check to see if matrix is within epsilon
|
||||
1 _ of one of the rotation matrices (many fewer steps)
|
||||
1 _ if identity, or just translate, or a rotate, make OBJECT into SCREEN
|
||||
1 _ optimize fonts by using native fonts in PGraphics2
|
||||
1 _ especially textMode(SCREEN) which is disastrously slow
|
||||
1 _ in java2d, can quickly blit the image itself
|
||||
1 _ this way, can isolate it for gl too, which will use glBitmap
|
||||
1 _ danger of this setup is that it may run much nicer for the author
|
||||
1 _ i.e. with the font installed, and then super slow for their users
|
||||
_ not having kerning really blows
|
||||
_ could this be pulled from the OpenType font stuff?
|
||||
_ it could be placed at the end of the file
|
||||
_ not having fractional widths on small fonts really blows
|
||||
_ screen space text looks crappy
|
||||
_ set upper bound on framerate so as not to completely hose things?
|
||||
_ fix the flicker in java2d mode
|
||||
_ not clear what's happening here
|
||||
_ appears to be much worse (unfinished drawing) on macosx
|
||||
_ try turning off hw accel on the mac to see if that's the problem
|
||||
_ textSpace(SCREEN_SPACE) needs to be faster
|
||||
_ need flat image implementation that takes no transforms
|
||||
_ along with 90, 180 and 270 versions of it as well
|
||||
_ tie to glDrawPixels.. how to clear matrix properly for that?
|
||||
_ catch sun.dc.pr.PRException?
|
||||
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1113990788;start=0
|
||||
_ gradient-painted lines
|
||||
Color c = new Color(0x00FFFF00, true);
|
||||
GradientPaint gradient =
|
||||
new GradientPaint(0,0,Color.red,100,100,c);
|
||||
GeneralPath gp = new GeneralPath();
|
||||
gp.moveTo(10, 10);
|
||||
gp.lineTo(100, 90);
|
||||
gp.lineTo(20, 50);
|
||||
gp.closePath();
|
||||
Graphics2D g2 = ((PGraphics2)g).g2;
|
||||
g2.setPaint(gradient);
|
||||
g2.draw(gp);
|
||||
|
||||
|
||||
CORE / PGraphics3
|
||||
|
||||
_ simon reports borders on P3D and OPENGL if background() not called
|
||||
_ fix tint() for PGraphics3 (what could be wrong?)
|
||||
_ tint() honoring alpha but not colored tint
|
||||
_ maybe not setting fill color when drawing textures
|
||||
_ guessing it's an implementation issue in sami's renderer
|
||||
_ check with the a_Displaying example and tint(255, 0, 0, 100);
|
||||
_ apply tint() to textures as well
|
||||
_ otherwise no good way to color textures
|
||||
_ Stroking a rect() leaves off the upper right pixel
|
||||
_ make vertexCount etc properly accessible in PGraphics3
|
||||
_ so that people can do things like the dxf renderer
|
||||
_ error message saying that strokeCap and strokeJoin don't work
|
||||
_ PPolygon no longer in use and PLine is a mess
|
||||
_ also have a simple way to hook in triangle leeches to PGraphics3
|
||||
_ this exists, but needs to be documented, or have accessors
|
||||
|
||||
|
||||
CORE / PImage
|
||||
|
||||
b _ dynamically load code for png and others on loadImage/saveFrame?
|
||||
b _ updated png encoder
|
||||
b _ http://processing.org/discourse/yabb/YaBB.cgi?board=Syntax;action=display;num=1083792994
|
||||
b _ more image file i/o.. more advanced in newer java
|
||||
b _ read uncompressed tiff, read uncompressed tga files.
|
||||
b _ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_Software;action=display;num=1081190619
|
||||
b _ http://processing.org/discourse/yabb/YaBB.cgi?board=Tools;action=display;num=1066742994;start=15
|
||||
b _ loadImage() seems to be caching everything from the jar
|
||||
b _ make a note of how to disable this
|
||||
b _ http://processing.org/discourse/yabb/YaBB.cgi?board=Programs;action=display;num=1078795681#8
|
||||
b _ get loadImage() to work properly with data folder
|
||||
b _ should probably use the code from loadStream
|
||||
b _ and the url stuff should be an alternate method altogether
|
||||
b _ alpha not set on saveFrame, so can't be used in photoshop as a layer
|
||||
b _ http://processing.org/discourse/yabb/YaBB.cgi?board=general;action=display;num=1078441623;start=0
|
||||
b _ expose function to write tiff header in PImage (advanced)
|
||||
b _ helps with writing enormous images
|
||||
1 _ loadImage must be used inside or after setup
|
||||
1 _ either document this and/or provide a better error message
|
||||
1 _ http://processing.org/discourse/yabb/YaBB.cgi?board=Programs;action=display;num=1060879468;start=0
|
||||
b _ more blend() modes (the five listed on the thread below?)
|
||||
b _ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_Software;action=display;num=1082056702
|
||||
b _ figure out what the modes should actually be:
|
||||
b _ photoshop: normal, dissolve; darken, multiply, color burn,
|
||||
b _ linear burn; lighten, screen, color dodge, linear
|
||||
b _ dodge; overlay, soft light, hard light, vivid light,
|
||||
b _ linear light, pin light, hard mix; difference,
|
||||
b _ exclusion; hue, saturation, color, luminosity
|
||||
b _ illustrator: normal; darken, multiply, color burn; lighten,
|
||||
b _ screen, color dodge; overlay, soft light, hard light;
|
||||
b _ difference, exclusion; hue, sat, color, luminosity
|
||||
b _ director: Copy, Transparent, Reverse, Ghost, Not copy,
|
||||
b _ Not transparent, Not reverse, Not ghost, Matte, Mask;
|
||||
b _ (below seems more useful:
|
||||
b _ Blend, Add pin, Add, Subtract pin, Background transparent,
|
||||
b _ Lightest, Subtract, Darkest, Lighten, Darken
|
||||
b _ flash:
|
||||
b _ DIFFERENCE: C = abs(A-B);
|
||||
b _ MULTIPLY: C = (A * B ) / 255
|
||||
b _ SCREEN: C= 255 - ( (255-A) * (255-B) / 255 )
|
||||
b _ OVERLAY: C = B < 128 ? (2*A*B/255) : 255-2*(255-A)*(255-B)/255
|
||||
b _ HARD_LIGHT: C = A < 128 ? (2*A*B/255) : 255-2*(255-A)*(255-B)/255
|
||||
b _ SOFT_LIGHT: C = B < 128 ? 2*((A>>1)+64)*B/255 : 255-(2*(255-((A>>1)+64))*(255-B)/255)
|
||||
|
||||
|
||||
CORE / PSound
|
||||
|
||||
1 _ duration as an internal param, not a function
|
||||
1 _ When a sound is finished playing,
|
||||
1 _ it should return to 0 so it can play again
|
||||
1 _ Putting sound.loop() in draw() seemed to spawn multiple sounds threads?
|
||||
1 _ After a sound is paused, it will only play from where it was paused
|
||||
1 _ to its end and will not loop again
|
||||
1 _ The ref in PSound2 says volume accepts vals from 0...1
|
||||
1 _ but values larger than one increase the volume.
|
||||
1 _ SoundEvent // is sound finished?? Can't access now.
|
||||
1 _ make java 1.1 version of PSound work properly
|
||||
1 _ merge PSound and PSound2 via reflection?
|
||||
1 _ once debugged, merge these back together and use reflection
|
||||
1 _ (unless it's a messy disaster)
|
||||
|
||||
|
||||
CORE / PApplet
|
||||
|
||||
1 _ framerate(30) is still flickery and jumpy..
|
||||
1 _ fix param() to use a sketch.properties file when run as an app
|
||||
1 _ make this also be used in generating the html file
|
||||
1 _ fix link() to handle relative URLs
|
||||
1 _ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1081710684;start=0
|
||||
1 _ put SecurityException things around file i/o for applets
|
||||
1 _ rather than checking online(), since applets might be signed
|
||||
1 _ saveFrame() at the end of a draw mode program is problematic
|
||||
1 _ app might exit before the file has finished writing to disk
|
||||
1 _ need to block other activity inside screenGrab until finished
|
||||
1 _ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1081706752
|
||||
1 _ problems with defining fill(255) vs fill(0xff808080)
|
||||
1 _ http://processing.org/discourse/yabb/YaBB.cgi?board=Syntax;action=display;num=1083650609;start=0
|
||||
1 _ http://processing.org/discourse/yabb/YaBB.cgi?board=Syntax;action=display;num=1082481891;start=2
|
||||
1 _ too many push() will silently stop the applet inside a loop
|
||||
1 _ test winding polygons in different directions
|
||||
1 _ test lighting to see how it compares with gl
|
||||
1 _ better lockout inside beginShape() to keep other things from happening
|
||||
1 _ is quad strip broken or not behaving as expected?
|
||||
1 _ may be correct, it worked for nik
|
||||
1 _ inside draw() mode, delay() does nothing
|
||||
1 _ delay might be a good way to signal drawing to the screen/updating
|
||||
1 _ catch security exceptions around applet i/o calls
|
||||
1 _ not just for saving files, but provide better error msgs when
|
||||
1 _ attempting to download from another server
|
||||
1 _ array utilities on Object[] are worthless.. fix it with reflection?
|
||||
1 _ see if reflection will allow expand for all class types
|
||||
1 _ ed's thread re: fullscreen strategies
|
||||
1 _ could add a new BApplet that uses BufferStrategy?
|
||||
1 _ http://processing.org/discourse/yabb/YaBB.cgi?board=Programs;action=display;num=1081335361;start=15
|
||||
|
||||
|
||||
CORE / Documentation
|
||||
|
||||
1 _ write documentation on general use of processing.core
|
||||
@@ -574,12 +540,33 @@ CORE / Documentation
|
||||
|
||||
CORE / Mac OS X
|
||||
|
||||
b _ still some weirdness with thread flickering on the mac
|
||||
b _ and frenetic display updates on the pc
|
||||
b _ little window showing up on macosx when running
|
||||
b _ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1081284410
|
||||
b _ flicker happening on osx java 1.4, but not 1.3:
|
||||
b _ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1083184297;start=0
|
||||
b _ cursor() broken in applets on macosx?
|
||||
b _ or is it a java 1.4 versus java 1.3 problem?
|
||||
b _ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1081645955
|
||||
_ textMode(SCREEN) having issues
|
||||
_ seem to be problems with updatePixels() on the mac
|
||||
_ appears to run asynchronously
|
||||
_ still some weirdness with thread flickering on the mac
|
||||
_ and frenetic display updates on the pc
|
||||
_ little window showing up on macosx when running
|
||||
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1081284410
|
||||
_ flicker happening on osx java 1.4, but not 1.3:
|
||||
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1083184297;start=0
|
||||
_ cursor() broken in applets on macosx?
|
||||
_ or is it a java 1.4 versus java 1.3 problem?
|
||||
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1081645955
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
////////////////////////////////////////////////////////////////////
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
PGraphicsGL
|
||||
|
||||
_ rewrite getImpl/setImpl inside opengl
|
||||
_ bit shifting in opengl, get down to 2 ops by using other image modes
|
||||
_ i.e. ABGR_EXT might allow for just two shifts instead of 4
|
||||
_ allow access to native pixel buffer in opengl and power of 2
|
||||
_ so that no need to copy/update everything
|
||||
_ need to write an error if people try to use opengl with 1.3 (i.e. on export)
|
||||
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Contribution_3DOpenGL;action=display;num=1114368123;start=3
|
||||
_ grabbing sun.cpu.endian throws a security exception with gl applets
|
||||
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Contribution_3DOpenGL;action=display;num=1114368123;start=3
|
||||
|
||||
Reference in New Issue
Block a user