mirror of
https://github.com/processing/processing4.git
synced 2026-02-12 10:00:42 +01:00
1017 lines
48 KiB
Plaintext
1017 lines
48 KiB
Plaintext
0125 core
|
|
X more blend() modes (the five listed on the thread below?)
|
|
X http://dev.processing.org/bugs/show_bug.cgi?id=132
|
|
X figure out what the modes should actually be:
|
|
X photoshop: normal, dissolve; darken, multiply, color burn,
|
|
X linear burn; lighten, screen, color dodge, linear
|
|
X dodge; overlay, soft light, hard light, vivid light,
|
|
X linear light, pin light, hard mix; difference,
|
|
X exclusion; hue, saturation, color, luminosity
|
|
X illustrator: normal; darken, multiply, color burn; lighten,
|
|
X screen, color dodge; overlay, soft light, hard light;
|
|
X difference, exclusion; hue, sat, color, luminosity
|
|
X director: Copy, Transparent, Reverse, Ghost, Not copy,
|
|
X Not transparent, Not reverse, Not ghost, Matte, Mask;
|
|
X (below seems more useful:
|
|
X Blend, Add pin, Add, Subtract pin, Background transparent,
|
|
X Lightest, Subtract, Darkest, Lighten, Darken
|
|
X flash:
|
|
X DIFFERENCE: C = abs(A-B);
|
|
X MULTIPLY: C = (A * B ) / 255
|
|
X SCREEN: C= 255 - ( (255-A) * (255-B) / 255 )
|
|
X OVERLAY: C = B < 128 ? (2*A*B/255) : 255-2*(255-A)*(255-B)/255
|
|
X HARD_LIGHT: C = A < 128 ? (2*A*B/255) : 255-2*(255-A)*(255-B)/255
|
|
X SOFT_LIGHT: C = B < 128 ? 2*((A>>1)+64)*B/255 : 255-(2*(255-((A>>1)+64))*(255-B)/255)
|
|
X jre 1.5.0_10 is still default at java.com.. blech
|
|
X http://dev.processing.org/bugs/show_bug.cgi?id=513
|
|
X constant CENTER_RADIUS will be changed to just RADIUS
|
|
X CENTER_RADIUS is being deprecated, not removed
|
|
_ remove CENTER_RADIUS from any p5 code (i.e. examples)
|
|
X split() inconsistency (emailed casey, will discuss later)
|
|
X make split(String, String) behave like String.split(String)
|
|
X and make current split(String) into splitTokens(String)
|
|
X that means split(String) no longer exists
|
|
o add splitTokens() documentation
|
|
o document new version of split() and regexp
|
|
o should we mention String.split?
|
|
X ironed out more of the preproc parseXxxx() functions
|
|
_ update the reference to cover these decisions
|
|
_ also add notes about parseInt/Float(blah, otherwise)
|
|
X deal with targa upside-down and non-rle encoding for tga images
|
|
X http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1171576234
|
|
X change println(array) to be useful
|
|
o document using join() for old method
|
|
X remove print(array) since it's silly?
|
|
X make sure it's not in the reference
|
|
[0] "potato"
|
|
[1] "tomato"
|
|
[2] "apple"
|
|
X fix filter(GRAY) on an ALPHA image to produce a good RGB image
|
|
|
|
0125p2
|
|
X updatePixels ref is wrong
|
|
X has x/y/w/h version
|
|
X the reference is also cut off
|
|
X make ENTER, TAB, etc all into char values (instead of int)
|
|
X some way to vertically center text
|
|
X either by setting its middle vertical point
|
|
X or by setting a top/bottom for the rectangle in which it should be placed
|
|
o maybe textAlign(CENTER | VERTICAL_CENTER);
|
|
X or TOP, MIDDLE, and BOTTOM
|
|
o textAlign(CENTER | TOP);
|
|
o could even have textAlign(CENTER) and textAlign(TOP) not replace each other
|
|
X or textAlign(LEFT, MIDDLE); -> this one seems best
|
|
X add reference for new param, and update keywords.txt
|
|
X given to andy
|
|
|
|
0125p3
|
|
X PImage.save() method is not working with get()
|
|
X http://dev.processing.org/bugs/show_bug.cgi?id=558
|
|
X NullPointerException in Create Font with "All Characters" enabled
|
|
X http://dev.processing.org/bugs/show_bug.cgi?id=564
|
|
X added min() and max() for float and int arrays
|
|
X need to update reference
|
|
X moved around min/max functions
|
|
X opengl image memory leaking
|
|
X when creating a new PImage on every frame, slurps a ton of memory
|
|
X workaround is to write the code properly, but suggests something bad
|
|
X http://dev.processing.org/bugs/show_bug.cgi?id=150
|
|
X opengl keeping memory around..
|
|
X could this be in vertices that have an image associated
|
|
X or the image buffer used for textures
|
|
X that never gets cleared fully?
|
|
X registerSize() was registering as pre() instead
|
|
X http://dev.processing.org/bugs/show_bug.cgi?id=582
|
|
X set() doesn't bounds check
|
|
X this shouldn't actually be the case
|
|
X http://dev.processing.org/bugs/show_bug.cgi?id=522
|
|
X get()/set() in PGraphicsJava2D don't bounds check
|
|
X was actually a dumb error in setDataElements()
|
|
X set modified to true on endDraw() so that image updates properly
|
|
X http://dev.processing.org/bugs/show_bug.cgi?id=526
|
|
X http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Syntax;action=display;num=1171574044
|
|
|
|
0125p4 (in progress)
|
|
X significant improvement to text and images in opengl
|
|
X now using mipmaps to interpolate large and small images
|
|
X fix bug with mipmapping on radeon 9700
|
|
X things not showing up in linux
|
|
X this may be fixed along with bug #341
|
|
X probably threading issue, 98 doesn't have any trouble
|
|
X signs point to Runner or PApplet changes between 98 and 99
|
|
X commenting out applet.setupFrameResizeListener()
|
|
X in line 307 from Runner.java solved the problem
|
|
X http://dev.processing.org/bugs/show_bug.cgi?id=282
|
|
X size of sketch different in setup() and draw() on linux
|
|
X make sure that the sketch isn't being sized based on bad insets
|
|
X problem with resizing the component when the frame wasn't resizable
|
|
X http://dev.processing.org/bugs/show_bug.cgi?id=341
|
|
_ unregisterXxxx() calls to remove methods from libs
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=312
|
|
X major rework of the open() command
|
|
X add gnome-open/kde-open for with PApplet.open()
|
|
X add open (-a?) on osx to the open() command
|
|
_ make changes in the javadoc and reference
|
|
|
|
|
|
_ offscreen buffers fail with texture mapping
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=594
|
|
|
|
_ having shut off the defaults reset, background not getting called for java2d
|
|
_ so this will make that other stuff regress again
|
|
_ background not being set properly
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=454
|
|
_ why aren't background() / defaults() being called for opengl?
|
|
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Contribution_3DOpenGL;action=display;num=1118784331
|
|
|
|
ewjordan stuff (changes checked in)
|
|
_ rect() changes size as it changes position
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=95
|
|
_ strange texture warping in P3D
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=103
|
|
_ lines skip on 200x200 surface because of fixed point rounding error
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=267
|
|
_ this may be same as 95
|
|
_ Polygons parallel to z-axis not always filling with nonzero x or y
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=547
|
|
|
|
_ PGraphics problem with fillColor
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=468
|
|
|
|
new bugs (organize later)
|
|
_ opengl crashes when depth sorting more than two textured shapes
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=560
|
|
_ replaceAll() not supported by 1.1
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=561
|
|
_ draw() called twice in vista with java 1.6
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=587
|
|
|
|
_ loadBytes() doesn't do auto gunzip? but loadStrings and createReader do?
|
|
_ this might be a good solution for dealing with the differences
|
|
_ with loadBytes(), they can use gzipInput (or loadBytesGZ?)
|
|
_ although what does openStream do? (doesn't do auto?)
|
|
|
|
_ an image marked RGB but with 0s for the alpha won't draw in JAVA2D
|
|
_ images with 0x00 in their high bits being drawn transparent
|
|
_ also if transparency set but RGB is setting, still honors transparency
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=351
|
|
_ tint() and noTint() switching problem in P2D
|
|
_ this should be a quick fix
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=222
|
|
_ related to the fill bugs: when fill is identical, no fill applied
|
|
_ actually tint() should take over for fill as per-vertex color
|
|
_ when textured images are being used
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=169
|
|
_ tint() should set texture color, fill() is ignored with textures
|
|
_ 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);
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=90
|
|
_ is fill() not coloring textures properly?
|
|
_ don't need to apply tint() to textures, supposed to use fill color
|
|
Hope this helps: If you haven't tracked it down yet... it's in PTriangle, when a flat-shaded textured triangle is drawn, then the rgb of the tint isn't used. So, for example, if the triangle renderer branches to drawsegment_texture32() the tint rgb won't be used, whereas if it branches to drawsegment_gouraud_texture32() then the tint rgb WILL be used. Alpha gets used from tint, because all alpha has to do is be != 255, but for rgb to get used they values have to differ among vertices (which won't happen via the image() routine for example). The quick fix might be to insert an additional test in setIntensities() to check if parent.tint is true, and if so then force gouraud shading, INTERPOLATE_RGB=true.
|
|
|
|
_ add gluegen-rt back to the applet export
|
|
_ http://download.java.net/media/jogl/builds/nightly/javadoc_public/com/sun/opengl/util/JOGLAppletLauncher.html
|
|
|
|
_ look into jogl anti-aliasing on osx
|
|
_ smoothMode(2) and smoothMode(4), right after size()?
|
|
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=OpenGL;action=display;num=1175552759
|
|
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=OpenGL;action=display;num=1164236069
|
|
|
|
_ re-disable P2D before distributing
|
|
|
|
_ ortho() behaving differently in P3D vs OPENGL
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=100
|
|
_ only happens on the first round
|
|
|
|
graphics stuff being sorted out by ewjordan
|
|
_ accuracy in P3D is very low
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=95
|
|
_ textured polys throwing a lot of exceptions (ouch)
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=546
|
|
_ polygons in z axis with nonzero x or y not filling properly
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=547
|
|
|
|
_ look into capabilities stuff from mike creighton
|
|
_ also sets the aa mode on the pc so it no longer needs control panel bunk
|
|
|
|
_ when using createFont("xxxx.ttf"), should use textMode(SHAPE)
|
|
_ because ttf files will not be installed on the system when opening pdf
|
|
|
|
_ copy() should automatically call updatePixels()
|
|
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Syntax;action=display;num=1173394373
|
|
|
|
_ rect() after strokeWeight(1) gives wrong coords
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=535
|
|
|
|
_ text(char c) with char 0 and undefined should print nothing
|
|
_ perhaps also DEL or other nonprintables?
|
|
_ book example 25-03
|
|
|
|
_ disable key repeat? http://www.cokeandcode.com/node/9
|
|
KeyEvent nextPress = (KeyEvent) Toolkit.getDefaultToolkit().
|
|
getSystemEventQueue().
|
|
peekEvent(KeyEvent.KEY_PRESSED);
|
|
if ((nextPress == null) ||
|
|
(nextPress.getWhen() != e.getWhen()) ||
|
|
(nextPress.getKeyCode() != e.getKeyCode())) {
|
|
keys[e.getKeyCode()] = false;
|
|
}
|
|
|
|
_ textAlign(CENTER) with P3D and OPENGL produces messy result
|
|
_ probably rounding error with the images
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=475
|
|
|
|
_ add to open() reference problems with mac
|
|
_ need to use the 'open' command on osx
|
|
_ or need to do this by hand
|
|
_ prolly better to do it by default, since on windows we use cmd?
|
|
_ check to see if the user has 'open' in there already
|
|
_ they can call Runtime.getRuntime().exec() if they want more control
|
|
|
|
should be fixed, but needs to be tested
|
|
_ saveFrame() produces a black background because bg not set correctly:
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=421
|
|
_ jogl issues with some cards on linux, might be fixed with newer jogl
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=367
|
|
_ 404 error because first searches applet directory in isometricblocks
|
|
_ "this file is named" errors don't like subdirectories
|
|
_ need to strip off past the file separator or something
|
|
_ figure out why 1024x768 image takes 3.5 seconds to load
|
|
_ would using a BufferedImage work better?
|
|
_ is the image actually a BufferedImage so PixelGrabber is a waste?
|
|
|
|
|
|
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
|
|
|
|
|
|
createGraphics() mess
|
|
_ background() problems with new renderers
|
|
_ P3D from createGraphics needs to be marked RGB not ARGB
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=530
|
|
_ when drawing into a JAVA2D surface, have to call loadPixels()
|
|
_ to draw it later with P3D (or OPENGL prolly)
|
|
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Syntax;action=display;num=1171574044
|
|
_ problems with depth buffer and createGraphics with P3D
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=482
|
|
_ ARGB problems with createGraphics
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=160
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=428
|
|
_ fill not working with P3D objects
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=527
|
|
|
|
X begin/endPixels.. change has been made
|
|
_ on PImage, sets a flag that marks it to be updated on next render
|
|
_ for PImage, begin after an end is ignored, no pixels are re-loaded
|
|
_ the "changed" bit gets turned off when the PImage is rendered
|
|
_ for subclasses of PGraphics, the reload bit needs to be set on endFrame
|
|
_ filter() checks to see if inside begin/endPixels, if so doesn't call
|
|
o if line() is called inside beginpixels, call updatepixels?
|
|
_ when NPE on line with pixels[], suggest user includes beginPixels
|
|
_ need to test/straighten out load/update pixels
|
|
_ loadPixels() and updatePixels() only need to be used when
|
|
_ touching pixels[]. All other functions including get(), set(),
|
|
_ filter(), etc shouldn't need them.
|
|
_ fjen says blend() doens't work in JAVA2D
|
|
_ the functions are fairly well separated now in PMethods
|
|
_ just go through all the stuff to make sure it's setting properly
|
|
_ 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)
|
|
|
|
|
|
gledgeflag [1.0]
|
|
_ when turning smoothing on, internal lines of shapes are visible
|
|
_ need to turn off smoothing for the interior of shapes
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=200
|
|
_ 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
|
|
|
|
|
|
threading [1.0]
|
|
_ major threading overhaul before 1.0 (compendium)
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=511
|
|
_ applet sizing issues with external vm
|
|
_ could this possibly be related to the linux bug?
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=430
|
|
_ 100x100 issues are exhibited on bh140c PCs, test and fix!
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=197
|
|
_ alloc() stuff not fixed because of thread halting
|
|
_ problem where alloc happens inside setup(), so, uh..
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=369
|
|
_ should instead create new buffer, and swap it in next time through
|
|
_ fix the internal file chooser so that people don't need to make their own
|
|
_ threading is a problem with inputFile() and inputFolder()
|
|
_ dynamically load swingworker?
|
|
_ sonia (and anything awt) is locking up on load in rev 91
|
|
_ prolly something w/ the threading issues
|
|
_ paint is synchronized in 0091
|
|
_ however this is a necessity, otherwise nasty flickering ensues
|
|
_ and using a "glock" object seems to completely deadlock
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=46
|
|
_ claim that things are much slower in 107 vs 92
|
|
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Suggestions;action=display;num=1141763531
|
|
_ need to move off anim off the main event thread
|
|
_ move away from using method like display
|
|
_ too much object creation in java2d
|
|
_ causes inconsistency/hiccups as the gc runs?
|
|
_ fix the flicker in java2d mode
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=122
|
|
_ framerate(30) is still flickery and jumpy..
|
|
_ 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
|
|
_ framerate that's reported is out of joint with actual
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=512
|
|
_ accuracy of frame timer is incorrect
|
|
_ seems to be aliasing effect of low resolution on millis()
|
|
_ so rates coming out double or half of their actual
|
|
_ probably need to integrate over a rolling array of 10 frames or so
|
|
_ frameRate() speeds up temporarily if CPU load drops dramatically
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=297
|
|
_ perhaps add a hint(DISABLE_FRAMERATE_DAMPER)
|
|
|
|
point()
|
|
_ gl points not working again
|
|
_ need to implement point() as actual gl points
|
|
_ this means adding points to the pipeline
|
|
_ point() doesn't work with some graphics card setups
|
|
_ particularly with opengl and java2d
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=121
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=269
|
|
_ point() issues
|
|
_ point() being funneled through beginShape is terribly slow
|
|
_ go the other way 'round
|
|
_ sometimes 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
|
|
|
|
|
|
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
|
|
|
|
|
|
_ loadBytes() and saveStream() functions badly need optimization!
|
|
_ don't bother using a buffering stream, just handle internally. gah!
|
|
_ make version of loadBytes that checks length of the stream first
|
|
_ this might not be worth it
|
|
_ the number of cases where this works is small (half of url streams)
|
|
_ and who knows if the value returned will be correct
|
|
_ (i.e. will it be the uncompressed or compressed size of the data?)
|
|
|
|
_ modelX/Y/Z still having trouble
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=486
|
|
|
|
_ Use getContextClassLoader() instead of Class.forName()
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=514
|
|
|
|
_ hint(DISABLE_DEPTH_TEST) not behaving consistently
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=483
|
|
|
|
_ Stroking a rect() leaves off the upper right pixel
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=501
|
|
|
|
_ make sure the docs include "beginShape() cannot be nested"
|
|
_ also add error messages to the renderers
|
|
_ also note that ellipse() et al use beginShape()
|
|
_ and that java2d should complain if people try it
|
|
|
|
_ 1.5.0_07 and 1.4.2_12 contain the -XX:+HeapDumpOnOutOfMemoryError switch
|
|
_ invaluable for tracking down memory leaks
|
|
|
|
_ an offscreen JAVA2D graphics needs loadPixels() before being drawn
|
|
_ i.e. offscreen JAVA2D, then image() with OPENGL renderer as main
|
|
_ needs to be marked as its cache needs an update, but not its pixels
|
|
|
|
_ calling graphics.smooth(), graphics.colorMode() outside begin/endDraw
|
|
_ this causes everything to be reset once the draw occurs
|
|
_ kinda seems problematic and prone to errors?
|
|
|
|
_ gradients
|
|
_ use gradients in a class for the svg lib for now
|
|
_ don't add api to main p5 stuff (though maybe setPaint/noPaint api?)
|
|
_ gradient-painted lines and fills
|
|
_ java2d will do both line and fill, illusfarter only does fills
|
|
_ gradients not supported in java2d
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=371
|
|
|
|
|
|
add to reference
|
|
_ also parseInt and parseFloat, how they can return another number or NaN
|
|
_ should the default be NaN or 0?
|
|
_ background() with an image ignores the tint.. it's basically like set()
|
|
_ get/set are faster way draw screen space images, but no tint, no translations
|
|
|
|
_ what's up with stop() vs exit()?
|
|
_ need to get this straightened for p5 (i.e. bc has this problem)
|
|
_ make sure the main() doesn't exit until the applet has finished
|
|
_ i.e. problem with main calling itself multiple times in Alpheus
|
|
_ if exit() (or stop) is called, then System.exit() gets called,
|
|
_ even though the main() wants to keep going
|
|
|
|
_ cameraXYZ doesn't seem to actually be used for anything
|
|
_ since camera functions don't even look at it or set it
|
|
|
|
_ AIOOBE on PLine 757.. halts renderer
|
|
|
|
_ add notes about fixing serial on the mac to the faq (and link to bug)
|
|
|
|
_ beginFrame()/beginDraw() and defaults()
|
|
_ when should these be called, when not?
|
|
_ seems as though the begin/end should happen inside beginRaw/Record
|
|
_ defaults() gets called by the size() command in PApplet
|
|
|
|
_ endRaw() is a problem with hint(ENABLE_DEPTH_SORT)
|
|
_ because the triangles won't be rendered by the time endRaw() is called
|
|
_ force depth sorted triangles to flush
|
|
_ fix erik's problems with export (also in bugs db)
|
|
_ check into ricard's problems with beginRecord()
|
|
_ should beginRecord inherit settings from its parent renderer?
|
|
_ textFont() is null on beginRecord
|
|
_ same would be the case for strokeWeight, background, etc.
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=346
|
|
|
|
_ image memory use.. how to handle lots of images
|
|
_ need to figure out exactly how they should/can unload
|
|
|
|
_ add better error messages for all built-in renderers
|
|
_ i.e. "import library -> pdf" when pdf is missing
|
|
|
|
_ need to merge sorting/drawing of lines and triangles
|
|
_ lines will occlude tris and vice versa
|
|
_ will need to split each based on the other
|
|
_ sort issues will affect both
|
|
|
|
_ when closing a sketch via the close box, make sure stop() getting called
|
|
|
|
_ when an exception comes through during cameraEvent, not printed
|
|
_ need to show an actual stack trace (InvocationTargetEx)
|
|
_ because otherwise it's impossible to debug this stuff
|
|
|
|
_ registerSize() in arcball is causing trouble
|
|
_ some sort of infinite loop issue
|
|
|
|
_ updatePixels() is slow to create a BufferedImage
|
|
_ therefore the incomplete rendering
|
|
_ could this be an issue fixed by a MediaTracker?
|
|
|
|
_ on osx, System.err isn't writing in things like createGraphics()
|
|
_ but doing a printStackTrace(System.out) works
|
|
_ something weird happening with one of the streams shutting down?
|
|
|
|
|
|
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
|
|
|
|
|
|
reasons to drop 1.1 support (and support 1.3+)
|
|
_ remove reflection from createFont() constructor/methods in PFont
|
|
_ this would make PFont much smaller
|
|
_ array functions could be done through Arrays.xxx class
|
|
_ although some of these may be built in
|
|
_ sorting could be done through built-in sort() class
|
|
_ split() function could echo the built in split/regexp setup
|
|
_ and add features for regexp
|
|
_ could introduce use of Timer class in examples
|
|
_ also use SwingWorker to launch things on other threads
|
|
_ weirdness of two modes of handling font metrics
|
|
_ textFontNativeMetrics gives deprecation error
|
|
_ getFontList stuff in PFont causes problems
|
|
|
|
|
|
_ ArrayIndexOutOfBoundsException in PLine
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=246
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=462
|
|
|
|
_ dataFolder() might be flawed b/c it's referring to contents of jar file
|
|
_ for input, better to use openStream
|
|
_ clear up the documentation on this
|
|
|
|
_ add texture support to recordShapesRaw (this might be pretty obscure...)
|
|
|
|
_ STROKE_WEIGHT field in PGraphics3 is a disaster, because it's an int
|
|
_ use the SW from vertex instead.. why set stroke in triangle vars at all?
|
|
_ currently truncating to an int inside add_line_no_clip
|
|
_ need to clean all this crap up
|
|
|
|
_ stop() not getting called
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=183
|
|
_ major problem for libraries
|
|
_ and start() is supposedly called by the applet viewer
|
|
_ http://java.sun.com/j2se/1.4.2/docs/api/java/applet/Applet.html#start()
|
|
_ need to track this stuff down a bit
|
|
|
|
_ clipboard implementation as example or as part of api
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=167
|
|
|
|
_ some optimizations from zach
|
|
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=os_core_pde;action=display;num=1121670787
|
|
|
|
_ bspline or nurbs before 1.0?
|
|
_ probably later, want to do the 3D/arch stuff correctly
|
|
|
|
|
|
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
|
|
|
|
|
|
_ PApplet.main(new String[] { "classname" }) won't pass in args.. grr
|
|
_ PApplet.main(append(new String[] { "classname }, args));
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
////////////////////////////////////////////////////////////////////
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
GRAPHICS LIBRARY
|
|
|
|
A hybrid of OpenGL (3D Graphics) and some aspects of Postscript (Fill, Stroke)
|
|
The graphics library was formerly called Bagel.
|
|
|
|
|
|
CORE / PApplet
|
|
|
|
_ detect when using full screen
|
|
_ and if so, remove decoration and don't bother with bg present frame
|
|
_ frame.setUndecorated(true);
|
|
_ frame.setLocation(0,0);
|
|
_ size(screen.width,screen,height);
|
|
_ would be cool if could sort w/o the sort class..
|
|
_ meaning use reflection to sort objects, just by implementing a few methods
|
|
_ would be much simpler and less confusing than new Sort() etc
|
|
_ or would it be ridiculously slow?
|
|
_ 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)
|
|
_ size() inside draw is missing a new call to cameraMode, etc
|
|
_ 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
|
|
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Syntax;action=display;num=1082481891
|
|
_ test winding polygons in different directions
|
|
_ test lighting to see how it compares with gl
|
|
_ 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
|
|
_ 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
|
|
_ placement of 100x100 items is odd
|
|
_ happens with P3D and maybe also P2D?
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=128
|
|
_ fileInput() and fileOutput() may not agree with draw()
|
|
_ not yet verified
|
|
_ can only be used inside of setup()?
|
|
_ cellular automata examples broken
|
|
_ size() has memory limitations (pitaru)
|
|
_ catch OutOfMemoryError inside size() and let the user know
|
|
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1038847001
|
|
_ files not in the data folder (works in env, not in sketch)
|
|
|
|
|
|
CORE / PApplet - main()
|
|
|
|
_ refactor PApplet.main() and Runner.startInternal() to remove duplication
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=245
|
|
_ 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?
|
|
_ has this fixed itself, or is it an issue with launching externally?
|
|
_ 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
|
|
_ this probably works but just needs to be tested
|
|
_ 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
|
|
_ 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
|
|
_ this means changing the frame creation code inside Runner
|
|
_ check current present code with multiple monitors
|
|
_ hitting cmd-q when an applet is running quits p5 (on macosx)
|
|
_ but cmd-q when running externally is ok because it just quits
|
|
_ is there a way to catch cmd-q when running a sketch?
|
|
_ so that it could avoid quitting if the sketch hasn't been stopped
|
|
_ or if the sketch window is foremost
|
|
_ maybe a hack where a new menubar is added?
|
|
|
|
|
|
CORE / PFont and text()
|
|
|
|
_ P3D smooshes the top row of pixels when drawing text (or images)
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=466
|
|
_ some fonts broken in java 1.5 on osx have changed again
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=407
|
|
_ filed as bug #4769141 with apple
|
|
_ http://bugreport.apple.com/
|
|
_ appears that asking for the postscript name no longer works
|
|
o fix "create font" and associated font stuff to straighten it out
|
|
X was grabbing the wrong native font with ico sketch
|
|
X seems that the psname is no longer a good way to grab the font? related?
|
|
_ available font issues
|
|
_ is getFontList returning a different set of fonts from device2d?
|
|
_ try it out on java 1.3 versus 1.4
|
|
_ getAllFonts() not quite working for many fonts
|
|
_ i.e. Orator Std on windows.. macosx seems to be ok
|
|
_ is getFamilyNames() any different/better?
|
|
_ when did this break? 1.4.1? 1.4.x vs 1.3?
|
|
_ may be that cff fonts won't work?
|
|
_ or is it only those with ps names?
|
|
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1117445969
|
|
_ leading looks too big, at least in PGraphics2 with news gothic
|
|
_ though it may be the converted version of the .ttf?
|
|
_ font encoding issues
|
|
_ java seems to force straight windows encoding.. (problem for pi fonts)
|
|
_ opentype/cff fonts don't work with live loading from the app
|
|
_ many (all?) opentype fonts won't show up or aren't supported
|
|
_ this may be only cff fonts that have trouble
|
|
_ when encoding is not the standard encoding, problematic
|
|
_ so sonata otf and sonata don't seem to have any chars at all
|
|
_ text() with a z coordinate is now using translate, very slow
|
|
X 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
|
|
_ 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
|
|
|
|
_ cairo tesselation used:
|
|
_ John Hobby, Practical Segment Intersection with Finite Precision Output.
|
|
_ Computational Geometry Theory and Application, 13(4), 1999.
|
|
_ http://citeseer.ist.psu.edu/hobby93practical.html
|
|
_ possible leads re: rendering stuff
|
|
_ http://people.csail.mit.edu/bmcutler/
|
|
_ http://people.csail.mit.edu/fredo/
|
|
_ finish implementation so 1.1 support can return
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=125
|
|
_ alter bezier and curve matrices to use PMatrix
|
|
_ float array stuff is redundant with code that's in PMatrix
|
|
_ and PMatrix has to be included even w/o P3D so...
|
|
_ 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
|
|
_ beginShape()
|
|
_ better lockout inside beginShape() to keep other things from happening
|
|
_ 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
|
|
_ 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
|
|
_ 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
|
|
|
|
|
|
CORE / PGraphicsJava2D
|
|
|
|
_ 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?
|
|
_ 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://dev.processing.org/bugs/show_bug.cgi?id=104
|
|
|
|
|
|
CORE / PGraphics3D
|
|
|
|
_ images are losing pixels at the edges
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=102
|
|
_ P3D not doing bilinear interpolation in text and images
|
|
_ because smooth() has to be set (and smooth throws an error in P3D)
|
|
_ how should this be handled? a hint? allowing smooth()?
|
|
_ probably just allow smooth() but don't smooth anything
|
|
_ ortho() is doing things strangely
|
|
_ seems to be mapping to 0, 0 - width/2, height/2
|
|
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1115919744;start=0
|
|
_ odd error with some pixels from images not drawing properly
|
|
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1115681453
|
|
_ simon reports borders on P3D and OPENGL if background() not called
|
|
_ clipping not yet completely implemented
|
|
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1114184516
|
|
_ PPolygon no longer in use and PLine is a mess
|
|
_ make a version of PGraphics3 that uses it for more accurate rendering?
|
|
_ texture mapping
|
|
_ very odd, "doom era" stuff
|
|
_ would it be possible to have a 'slow but accurate' mode?
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=103
|
|
|
|
|
|
CORE / PImage
|
|
|
|
_ image outofmemoryerror for casey's students
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=355
|
|
_ this may be related to a ton of other memory bugs
|
|
_ for a PGraphics2D, should its image cache object be the memoryimagesource?
|
|
_ is the texture[] array in PGraphics3D causing the problems with memory?
|
|
_ actually it's a PGraphicsGL problem..
|
|
_ maybe the image binding not getting unbound?
|
|
_ loading lots of images is a problem, describe how to unload
|
|
_ is it possible? necessary to call delay(5) or something?
|
|
_ 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
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=356
|
|
_ 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
|
|
_ should image i/o be moved into PImage?
|
|
_ still needs applet object, so it's not like this is very useful
|
|
_ external PImage methods could take stream, i suppose..
|
|
_ figure out why tiff images won't open with after effects
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=153
|
|
_ open with photoshop, resave, see which tags change
|
|
_ specifically, which tags that were in the original image file
|
|
_ perhaps something gets corrected?
|
|
_ loadImage() using spaces in the name
|
|
_ if loadImage() with spaces when online(), throw an error
|
|
_ get tiff exporter for p5 to support argb and gray
|
|
_ would also need to modify the tiff loading code,
|
|
_ because the header would be different
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=343
|
|
|
|
enhancements
|
|
_ add ability to control jpeg compression level with save() and saveFrame()
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=342
|
|
_ 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
|
|
|
|
CORE / Mac OS X
|
|
|
|
_ first line of applets is missing on java 1.4+ on the mac
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=283
|
|
_ change how java version is determined on mac
|
|
_ http://developer.apple.com/technotes/tn2002/tn2110.html
|
|
_ (this tn provides no guidance for macos8/9.. gah)
|
|
_ 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
|
|
_ 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
|
|
|
|
|
|
CORE / General
|
|
|
|
_ remove some of the bloat, how can we make things more compact?
|
|
_ i.e. if not using 3D, can leave out PGraphics3, PTriangle, PLine
|
|
_ PPolygon isn't currently used for anything, should remove it
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=127
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
////////////////////////////////////////////////////////////////////
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
PGraphicsOpenGL
|
|
|
|
_ pixel operations are broken in opengl
|
|
_ get(), set(), copy(), blend(), loadPixels, updatePixels()
|
|
_ set(x, y, image) y reversed in openGL
|
|
_ background(image) also broken
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=91
|
|
_ also textMode(SCREEN)
|
|
_ in opengl mode, use its tesselator
|
|
_ because the vertex calls can just come right back to regular vertex calls
|
|
_ this way we can also implement breakShape() for opengl
|
|
_ with opengl optimizations via call lists..
|
|
_ watch out to make sure raw recording still works
|
|
_ (optimizations will have to be disabled to some extent)
|
|
_ look into using glu quadrics to handle shape geometries quickly
|
|
_ optimizations to opengl
|
|
_ disabling error reporting (what's taking it so long?)
|
|
_ maybe use a hint() to enable it? or a getError() function?
|
|
_ make cached display list of filled/non-filled ellipse.. rect.. etc
|
|
_ these don't work when the vertex colors change, but..
|
|
_ or maybe should be using vertex arrays?
|
|
_ maybe break out a separate timage object in textures?
|
|
_ needs tindex and tbuffer, both gl specific
|
|
_ and for tpixels and twidth/theight, could use another PImage
|
|
_ under assumption that most will just need an extra image object
|
|
_ this could also be used by people eventually to control tex themselves
|
|
_ or maybe call the object "texture"?
|
|
_ in opengl lib, need beginTexture(PImage) and endTexture()
|
|
_ this will be helpful to have access to the raw texture data
|
|
_ that way it can be re-bound by itself, and ppl can write directly to it
|
|
_ textMode(SCREEN) is broken for opengl
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=426
|
|
_ textSpace(SCREEN) for opengl and java2d
|
|
_ don't use loadPixels for either
|
|
_ use font code to set the cached color of the font, then call set()
|
|
_ although set() with alpha is a little different..
|
|
_ resizing opengl applet likely to cause big trouble
|
|
_ componentlistener should prolly only do size() command outside of draw
|
|
_ make the opengl textmode shape stuff get better and use PShape
|
|
_ make textMode(SHAPE) faster in opengl
|
|
_ cache for tyhpe should be per-renderer
|
|
_ because opengl needs vectors, but also the image cache for textures
|
|
_ polygon z-order depth sorting with alpha in opengl
|
|
_ complete the implementation of hint() with proper implementation
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=176
|
|
_ opengl needs to shut itself down properly when closing applet
|
|
_ otherwise can crash the whole browser
|
|
_ get rid of some of the sillier IntBuffer stuff where it's not needed
|
|
_ use the version of the prototypes that use an offset into the array
|
|
_ need to test performance either way
|
|
_ make a note about the anti-aliasing types in the faq
|
|
_ polygon vs line etc.. may want to enable lines but disable polys
|
|
_ invocationtargetexception in gl with aioobe:
|
|
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1115185737
|
|
_ 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)
|
|
_ don't let users with java < 1.4 load OPENGL
|
|
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Contribution_3DOpenGL;action=display;num=1114368123;start=3
|
|
_ strokeWeight() doesn't work in opengl or p3d
|
|
_ how to handle gluTessVertex calls
|
|
_ need to re-map through the regular "vertex" command,
|
|
_ but that makes things messy because the glu calls make calls to vertex()
|
|
_ and i don't want an additional "pathVertex()" function
|
|
|
|
|
|
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
|
|
|
|
|
|
PGraphicsPDF
|
|
|
|
_ pdf export ignoring transparency on linux
|
|
_ check to see if this is the case on other linux machines
|
|
_ seems to be working fine on windows
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=345
|
|
|
|
|
|
PShape
|
|
_ for subclasses, make it easy to grab the structure of vertices
|
|
_ actually, just use PShape internally and this will be easier
|
|
_ for PShape, need to be able to set the origin (flash people)
|
|
|
|
|
|
LATER
|
|
|
|
_ add a timer("functionname", 45) method
|
|
_ this can be used to schedule something to happen at a specific time
|
|
_ or import the swing timer (for actionPerformed)
|
|
X look into javascript timers to see how they work
|
|
_ also add interval("functionname", 40)
|
|
_ and thread("functionname");
|
|
_ introduce calc()
|
|
_ cmyk version of tiff encoder code?
|
|
_ because 'color' isn't a real data type
|
|
_ color(0, 0, 0, 0) produces black
|
|
_ because color(0, 0, 0, 0) creates an int that is simply '0'
|
|
_ although fill(0, 0, 0, 0) does the right thing
|
|
_ also, rgb255 not getting set
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=382
|
|
_ should fill(c) instead be fillColor(c)?
|
|
_ should color(123, 4, 99) instead be createColor()?
|
|
_ gray that's greater than the colorMode() can produce strange colors
|
|
_ http://dev.processing.org/bugs/show_bug.cgi?id=432
|
|
_ add stroke() to type
|
|
_ more for doing outlines-only and that sort of business
|