mirror of
https://github.com/processing/processing4.git
synced 2026-02-11 09:39:19 +01:00
548 lines
28 KiB
Plaintext
548 lines
28 KiB
Plaintext
0088 core
|
|
o move really general things out of PConstants (X, Y, Z..) ?
|
|
X add something to PApplet to have constants for the platform
|
|
o needed for error messages (don't talk about winvdig on mac)
|
|
X and also useful for programs
|
|
X bring screen space and font size settings back in to PGraphics
|
|
X causing too much trouble to be stuck down in PFont
|
|
X createFont crashes on verdana (win2k)
|
|
X http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1115258282;start=0
|
|
X made ceil(), floor(), and round() return ints instead of floats
|
|
X fix for PSound: Unsupported control type: Master Gain
|
|
X just shuts off the volume control
|
|
X http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1115467831;start=0
|
|
|
|
cleared out / completed in previous releases
|
|
X typed version of expand() and contract()
|
|
o fishwick bug with text() and shapes
|
|
o ellipses no longer completed when g.dimensions = 2 or 3,
|
|
o or not even drawn.. what a mess.
|
|
X go through and figure out what stuff to make public
|
|
o depth testing of lines vs text is problematic
|
|
o probably need to patch in an older version of the line code
|
|
o use depth()/noDepth() to handle depth test
|
|
X on exceptions, use die to just kill the applet
|
|
X make the file i/o stuff work more cleanly
|
|
X if people want to use their own file i/o they can do that too
|
|
o this could also be contributing to the hanging bug
|
|
X static applets need to be able to resize themselves on 'play'
|
|
X figure out what to do with static apps exported as application
|
|
X needs to just hang there
|
|
o scripts (w/ no graphics) will need to call exit() explicitly
|
|
o actually.. just override the default draw() to say exit()
|
|
X may need a fileOutput() and fileInput() function
|
|
X to take care of exception handling
|
|
o or maybe scripts are just handled with a different method? (yech)
|
|
o or maybe setup() can actually throw and Exception?
|
|
o but that's inserted by the parser, and hidden from the user?
|
|
o implement size(0, 0) -> just doesn't bother doing a frame.show();
|
|
o too abstract, just have draw() call exit by default
|
|
o so if nothing inside draw, just quits
|
|
o make properly exit after things are finished
|
|
o still some weirdness with thread flickering on the mac
|
|
o and frenetic display updates on the pc
|
|
|
|
|
|
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
////////////////////////////////////////////////////////////////////
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
GRAPHICS LIBRARY
|
|
|
|
A hybrid of OpenGL (3D Graphics) and some aspects of Postscript (Fill, Stroke)
|
|
The graphics library was formerly called Bagel.
|
|
|
|
|
|
CORE / PApplet
|
|
|
|
_ typed version of array functions:
|
|
_ append(), shorten(), splice, slice, subset, concat, reverse
|
|
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Suggestions;action=display;num=1114443601;start=0
|
|
_ 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
|
|
_ 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)
|
|
_ ComponentListener is probably what's needed for resize()
|
|
_ need to make sure that components can be resized properly via size()
|
|
_ or that it properly responds to a setBounds() call
|
|
_ 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
|
|
_ framerate(30) is still flickery and jumpy..
|
|
_ fix param() to use a sketch.properties file when run as an app
|
|
_ make this also be used in generating the html file
|
|
_ fix link() to handle relative URLs
|
|
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1081710684;start=0
|
|
_ put SecurityException things around file i/o for applets
|
|
_ rather than checking online(), since applets might be signed
|
|
_ saveFrame() at the end of a draw mode program is problematic
|
|
_ app might exit before the file has finished writing to disk
|
|
_ need to block other activity inside screenGrab until finished
|
|
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1081706752
|
|
_ problems with defining fill(255) vs fill(0xff808080)
|
|
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Syntax;action=display;num=1083650609;start=0
|
|
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Syntax;action=display;num=1082481891;start=2
|
|
_ too many push() will silently stop the applet inside a loop
|
|
_ test winding polygons in different directions
|
|
_ test lighting to see how it compares with gl
|
|
_ better lockout inside beginShape() to keep other things from happening
|
|
_ is quad strip broken or not behaving as expected?
|
|
_ may be correct, it worked for nik
|
|
_ inside draw() mode, delay() does nothing
|
|
_ delay might be a good way to signal drawing to the screen/updating
|
|
_ catch security exceptions around applet i/o calls
|
|
_ not just for saving files, but provide better error msgs when
|
|
_ attempting to download from another server
|
|
_ array utilities on Object[] are worthless.. fix it with reflection?
|
|
_ see if reflection will allow expand for all class types
|
|
_ ed's thread re: fullscreen strategies
|
|
_ could add a new BApplet that uses BufferStrategy?
|
|
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Programs;action=display;num=1081335361;start=15
|
|
_ don't cache stuff from loadStrings and others
|
|
_ mac java vm won't give up old version of file
|
|
_ or use setUseCaches(false)
|
|
_ 404 error because first searches applet directory on zipdecode
|
|
_ should image i/o and sound i/o be moved into PImage and PSound?
|
|
_ how to load external encoders/decoders
|
|
_ placement of 100x100 items is odd
|
|
_ happens with P3D and maybe also P2D?
|
|
_ scripting issues
|
|
_ how to make a long setup() sleep so that things don't lock way up
|
|
_ add exit() function to actually explicitly quit
|
|
_ scripts will just require that people include exit at the end
|
|
_ fileInput() and fileOutput() may not agree with draw()
|
|
_ not yet verified
|
|
_ can only be used inside of setup()?
|
|
_ cellular automata examples broken
|
|
|
|
|
|
CORE / PApplet - main()
|
|
|
|
_ currently some bugs in the main() because it's not sizing applets
|
|
_ if running in present mode it works ok
|
|
_ but that also needs its display set.. argh
|
|
_ make the 1.4 code in PApplet load via reflection
|
|
_ doesn't appear necessary with 1.3 applets
|
|
_ or is some of the stuff usable in 1.3 but not all?
|
|
_ ie. the device config classes exist but not the set full screen method
|
|
_ 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...
|
|
_ optimize textMode(MODEL) with textMode(SCREEN)
|
|
_ in PGraphics and PGraphics3, check to see if matrix is within epsilon
|
|
_ of one of the rotation matrices (many fewer steps)
|
|
_ if identity, or just translate, or a rotate, make OBJECT into SCREEN
|
|
_ optimize fonts by using native fonts in PGraphics2
|
|
_ especially textMode(SCREEN) which is disastrously slow
|
|
_ in java2d, can quickly blit the image itself
|
|
_ this way, can isolate it for gl too, which will use glBitmap
|
|
_ danger of this setup is that it may run much nicer for the author
|
|
_ 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
|
|
_ working with vector fonts?
|
|
_ need to be able to handle shapes within shapes (reverse winding)
|
|
_ ftgl: main code is in FTVectoriser
|
|
_ uses gluTessBeginContour and gluTessEndContour
|
|
_ and then does 5 step sizes for each curveto
|
|
|
|
|
|
CORE / PGraphics
|
|
|
|
_ createGraphics(200, 200) to create same as source
|
|
_ createGraphics(200, 200, P2D) to create 2D from 3D
|
|
_ also, drawing a PGraphics2 doesn't seem to work
|
|
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Syntax;action=display;num=1113919619;start=5
|
|
_ 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
|
|
_ y2 position of rectangles not same as y2 position of lines
|
|
_ happens when the rectangle is flipped on the x or y axis
|
|
_ probably a hack that draws the "last" point differently
|
|
_ vars like cameraX etc need to be in PGraphics
|
|
_ otherwise g.xxxx won't work
|
|
_ how far should this go? vertices etc?
|
|
_ 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
|
|
_ 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)
|
|
_ 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)
|
|
_ figure out a good model for adaptive sizing of circles
|
|
_ also goes for arcs, though will be weighted based on arc size
|
|
_ 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
|
|
_ lines
|
|
_ z value hack for lines is causing trouble for 2D
|
|
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1089737928;start=0
|
|
_ rewrite line and stroke code, it's a buggy mess
|
|
_ lines become 2 pixels thick after a 3D transform
|
|
_ better handling of single-pixel special case
|
|
_ flat_line_retribution is a hack, can go away
|
|
_ lines are conflicting with type in 2D
|
|
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1094174791;start=0
|
|
_ mgorbet stroke transparency problem
|
|
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1076383048;start=0
|
|
_ make sure line() commands don't try to have a fill
|
|
_ box is not opaque
|
|
_ problem is that lines are drawn second
|
|
_ one pixel lines have no z value.. argh
|
|
_ bug re: 3d depth sorting on lines
|
|
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1043894019;start=0
|
|
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1042004618
|
|
_ translate(58, 48, 0);
|
|
_ rotateY(0.5);
|
|
_ box(40);
|
|
_ line endcaps and line joins. strokeMode()
|
|
_ lower priority, but at least leave room
|
|
_ strokeWeight is still broken
|
|
_ setting stroke width on circle makes odd patterns
|
|
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1077013848;start=0
|
|
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1080347160
|
|
_ more weirdness with stroke on rect, prolly not alpha
|
|
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1085799526
|
|
_ rect is not getting it's stroke color set
|
|
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1073582391;start=0
|
|
_ weird problem with drawing/filling squares
|
|
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1077226984
|
|
_ alpha of zero still draws boogers on screen
|
|
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1073329613;start=0
|
|
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1080342288;start=0
|
|
_ break apart functions into local (placement) and override (blitting)
|
|
_ just have a "thin_flat_line" option in opengl code
|
|
|
|
_ color
|
|
_ rounding errors on color conversion
|
|
_ colorMode(RGB, 1.0); colorMode(255); println(red(color(0.5,1,1)));
|
|
_ will return 127, instead of 128.
|
|
|
|
_ curves
|
|
_ non-homogenous coloring for curve vertices
|
|
_ implement curveTangent
|
|
_ fix-up the curve_init() and the rest to use matrices
|
|
_ and not have ugly names (i.e. just g.curveDetail is good)
|
|
|
|
_ ellipse problems
|
|
_ weird ellipse bug with an alpha line in same image
|
|
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1083221401;start=0
|
|
_ scaled ellipse showing up as a hexagon
|
|
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1083674213
|
|
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Syntax;action=display;num=1084652597;start=0
|
|
_ problem with the fill
|
|
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1077834735
|
|
_ z values not set properly on ellipses?
|
|
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1068752615
|
|
_ ellipses are just plain ugly
|
|
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1073409011;start=0
|
|
_ toxi ellipses don't adapt properly with transformations
|
|
|
|
_ texture mapping
|
|
_ very odd, "doom era" stuff
|
|
_ would it be possible to have a 'slow but accurate' mode?
|
|
_ bad texture warping
|
|
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1115241346;start=0
|
|
|
|
|
|
_ clipping planes
|
|
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1058491568;start=0
|
|
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1052313604;start=0
|
|
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_Software;action=display;num=1095170607;start=0
|
|
_ things are flying into the camera and halting apps
|
|
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1042699742
|
|
_ NullPointerException apparently when things way offscreen
|
|
_ i.e. glyphrot with scale set to 4
|
|
_ or at least that things get ridiculously slow
|
|
_ clipping issues here.. but also something in scan converter
|
|
_ not clipping areas from offscreen
|
|
_ huge geometry slows things way down
|
|
|
|
_ points
|
|
_ point() being funneled through beginShape is terribly slow
|
|
_ go the other way 'round
|
|
|
|
|
|
CORE / PGraphics2
|
|
|
|
_ make get/getImpl for PGraphics/PGraphics2
|
|
_ make sure there's a loadPixels/updatePixels in PGraphics2
|
|
_ slow on java2d, fast on p3d
|
|
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1115276250;start=3
|
|
_ set(x, y, image)
|
|
_ x, y not setting with processing
|
|
_ don't let users on < 1.3 load JAVA2D
|
|
_ 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
|
|
|
|
_ polygons perpendicular to axis not drawing
|
|
_ is this a clipping error?
|
|
_ probably a triangulation error, because triangles work ok
|
|
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1114158993;start=0
|
|
_ 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
|
|
_ add option to sort triangles back to front so alpha works
|
|
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1076660476;start=0
|
|
|
|
|
|
CORE / PImage
|
|
|
|
_ bizarre image loading error with c_Rollover.zip
|
|
_ image loading bug is huge
|
|
_ figure out how to handle cached images, multiple images
|
|
_ MediaTracker blocking is prolly making jar download really slow
|
|
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1089914280;start=0
|
|
_ also threaded images
|
|
_ 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
|
|
_ also when drawing an image, sense whether drawn rotated
|
|
_ specifically, if drawn rotated 90 in either direction, or 180
|
|
_ if just rotate/translate, then can use SCREEN_SPACE for fonts
|
|
_ dynamically load code for png and others on loadImage/saveFrame?
|
|
_ updated png encoder
|
|
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Syntax;action=display;num=1083792994
|
|
_ more image file i/o.. more advanced in newer java
|
|
_ read uncompressed tiff, read uncompressed tga files.
|
|
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_Software;action=display;num=1081190619
|
|
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Tools;action=display;num=1066742994;start=15
|
|
_ loadImage() seems to be caching everything from the jar
|
|
_ make a note of how to disable this
|
|
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Programs;action=display;num=1078795681#8
|
|
_ get loadImage() to work properly with data folder
|
|
_ should probably use the code from loadStream
|
|
_ and the url stuff should be an alternate method altogether
|
|
_ alpha not set on saveFrame, so can't be used in photoshop as a layer
|
|
_ http://processing.org/discourse/yabb/YaBB.cgi?board=general;action=display;num=1078441623;start=0
|
|
_ expose function to write tiff header in PImage (advanced)
|
|
_ helps with writing enormous images
|
|
_ loadImage must be used inside or after setup
|
|
_ either document this and/or provide a better error message
|
|
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Programs;action=display;num=1060879468;start=0
|
|
_ more blend() modes (the five listed on the thread below?)
|
|
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_Software;action=display;num=1082056702
|
|
_ figure out what the modes should actually be:
|
|
_ photoshop: normal, dissolve; darken, multiply, color burn,
|
|
_ linear burn; lighten, screen, color dodge, linear
|
|
_ dodge; overlay, soft light, hard light, vivid light,
|
|
_ linear light, pin light, hard mix; difference,
|
|
_ exclusion; hue, saturation, color, luminosity
|
|
_ illustrator: normal; darken, multiply, color burn; lighten,
|
|
_ screen, color dodge; overlay, soft light, hard light;
|
|
_ difference, exclusion; hue, sat, color, luminosity
|
|
_ director: Copy, Transparent, Reverse, Ghost, Not copy,
|
|
_ Not transparent, Not reverse, Not ghost, Matte, Mask;
|
|
_ (below seems more useful:
|
|
_ Blend, Add pin, Add, Subtract pin, Background transparent,
|
|
_ Lightest, Subtract, Darkest, Lighten, Darken
|
|
_ flash:
|
|
_ DIFFERENCE: C = abs(A-B);
|
|
_ MULTIPLY: C = (A * B ) / 255
|
|
_ SCREEN: C= 255 - ( (255-A) * (255-B) / 255 )
|
|
_ OVERLAY: C = B < 128 ? (2*A*B/255) : 255-2*(255-A)*(255-B)/255
|
|
_ HARD_LIGHT: C = A < 128 ? (2*A*B/255) : 255-2*(255-A)*(255-B)/255
|
|
_ SOFT_LIGHT: C = B < 128 ? 2*((A>>1)+64)*B/255 : 255-(2*(255-((A>>1)+64))*(255-B)/255)
|
|
_ figure out why tiff images won't open with after effects
|
|
_ open with photoshop, resave, see which tags change
|
|
_ particularly of those that are included in the original image
|
|
_ perhaps something gets corrected?
|
|
|
|
|
|
CORE / PSound
|
|
|
|
_ 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.
|
|
_ make java 1.1 version of PSound work properly
|
|
_ merge PSound and PSound2 via reflection?
|
|
_ once debugged, merge these back together and use reflection
|
|
_ (unless it's a messy disaster)
|
|
_ Unsupported control type: Master Gain
|
|
_ what's actually causing this error?
|
|
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1115467831;start=0
|
|
|
|
|
|
CORE / Documentation
|
|
|
|
_ write documentation on general use of processing.core
|
|
_ along with how to download from sourceforge (anonpass is blank)
|
|
_ note that applet is itself a Component
|
|
|
|
|
|
CORE / Mac OS X
|
|
|
|
_ textMode(SCREEN) having issues on Mac OS X
|
|
_ seem to be problems with updatePixels() on the mac
|
|
_ appears to run asynchronously
|
|
_ 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
|
|
|
|
_ 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
|
|
_ gl points not working again
|
|
_ polygon z-order with alpha in opengl
|
|
_ at least add it to the faq, or this would be a test case w/ the sorting
|
|
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Programs;action=display;num=1115222332;start=0
|
|
_ invocationtargetexception in gl with aioobe:
|
|
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1115185737;start=0
|
|
_ set(x, y, image) y reversed in openGL
|
|
_ don't let users no java < 1.4 load OPENGL
|
|
_ noLoop() broken on opengl
|
|
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1115330568;start=0
|
|
_ fix non-bound textures from mangling everything else
|
|
_ fix enable/disable textures for some objects
|
|
_ fix endian ordering issues so that things work properly
|
|
_ figure out min/max texture sizes when binding to avoid problems
|
|
_ minimum texture size may be 64x64
|
|
_ might need to enforce it as a minimum
|
|
_ what should the update image function be called?
|
|
_ box and sphere are broken in gl
|
|
_ metaballs example dies when using box()
|
|
_ long string of exceptions, which are also missing their newlines
|
|
_ get loop, noLoop, redraw, and framerate all working in opengl
|
|
_ needs custom animator thread..
|
|
_ depth() shouldn't be needed for opengl unless actually 3D
|
|
_ right now the camera doesn't get set up unless you call depth()
|
|
_ resolve ARGB versus RGBA versus just A issues for fonts
|
|
_ make sure that current scenario works identically on mac
|
|
_ if so, just switch the image code to expect alpha in the high bits
|
|
_ fonts probably need to be RGBA, not ALPHA style images
|
|
_ there's nothing really ALPHA about them?
|
|
_ gl alpha on images when flipped around backwards
|
|
_ will sorting based on depth help this? also ask simon for ideas
|
|
_ 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
|
|
|
|
|
|
PGraphicsAI
|
|
|
|
_ illustrator export / rendering mode
|
|
_ also postscript or pdf export?
|
|
_ update illustrator code to use core api
|
|
_ even if not actually working properly.. just in naming of things
|
|
_ sorting of polygons/lines on simple painters algorithm
|
|
_ better lighting model to show darkness at various depths
|
|
_ maybe just ultra-high res bitmaps from gl
|
|
o version of BApplet that replaces g. with ai. or pdf.
|