mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
todo items, whitespace weirdness
This commit is contained in:
@@ -13986,7 +13986,7 @@ public class PApplet extends Applet
|
||||
* PGraphicsJava2D, or resized image data and OpenGL texture indices for
|
||||
* PGraphicsOpenGL.
|
||||
* @param renderer The PGraphics renderer associated to the image
|
||||
* @param storage The metadata required by the renderer
|
||||
* @param storage The metadata required by the renderer
|
||||
*/
|
||||
public void setCache(PGraphics renderer, Object storage) {
|
||||
if (recorder != null) recorder.setCache(renderer, storage);
|
||||
@@ -14021,7 +14021,7 @@ public class PApplet extends Applet
|
||||
* Store parameters for a renderer that requires extra metadata of
|
||||
* some kind.
|
||||
* @param renderer The PGraphics renderer associated to the image
|
||||
* @param storage The parameters required by the renderer
|
||||
* @param storage The parameters required by the renderer
|
||||
*/
|
||||
public void setParams(PGraphics renderer, Object params) {
|
||||
if (recorder != null) recorder.setParams(renderer, params);
|
||||
@@ -14051,26 +14051,26 @@ public class PApplet extends Applet
|
||||
|
||||
/**
|
||||
* ( begin auto-generated from PImage_get.xml )
|
||||
*
|
||||
* Reads the color of any pixel or grabs a section of an image. If no
|
||||
* parameters are specified, the entire image is returned. Use the <b>x</b>
|
||||
* and <b>y</b> parameters to get the value of one pixel. Get a section of
|
||||
* the display window by specifying an additional <b>width</b> and
|
||||
* <b>height</b> parameter. When getting an image, the <b>x</b> and
|
||||
* <b>y</b> parameters define the coordinates for the upper-left corner of
|
||||
*
|
||||
* Reads the color of any pixel or grabs a section of an image. If no
|
||||
* parameters are specified, the entire image is returned. Use the <b>x</b>
|
||||
* and <b>y</b> parameters to get the value of one pixel. Get a section of
|
||||
* the display window by specifying an additional <b>width</b> and
|
||||
* <b>height</b> parameter. When getting an image, the <b>x</b> and
|
||||
* <b>y</b> parameters define the coordinates for the upper-left corner of
|
||||
* the image, regardless of the current <b>imageMode()</b>.<br />
|
||||
* <br />
|
||||
* If the pixel requested is outside of the image window, black is
|
||||
* returned. The numbers returned are scaled according to the current color
|
||||
* ranges, but only RGB values are returned by this function. For example,
|
||||
* even though you may have drawn a shape with <b>colorMode(HSB)</b>, the
|
||||
* If the pixel requested is outside of the image window, black is
|
||||
* returned. The numbers returned are scaled according to the current color
|
||||
* ranges, but only RGB values are returned by this function. For example,
|
||||
* even though you may have drawn a shape with <b>colorMode(HSB)</b>, the
|
||||
* numbers returned will be in RGB format.<br />
|
||||
* <br />
|
||||
* Getting the color of a single pixel with <b>get(x, y)</b> is easy, but
|
||||
* not as fast as grabbing the data directly from <b>pixels[]</b>. The
|
||||
* equivalent statement to <b>get(x, y)</b> using <b>pixels[]</b> is
|
||||
* Getting the color of a single pixel with <b>get(x, y)</b> is easy, but
|
||||
* not as fast as grabbing the data directly from <b>pixels[]</b>. The
|
||||
* equivalent statement to <b>get(x, y)</b> using <b>pixels[]</b> is
|
||||
* <b>pixels[y*width+x]</b>. See the reference for <b>pixels[]</b> for more information.
|
||||
*
|
||||
*
|
||||
* ( end auto-generated )
|
||||
*
|
||||
* <h3>Advanced</h3>
|
||||
@@ -14090,7 +14090,7 @@ public class PApplet extends Applet
|
||||
* is inside the bounds, and then has to check to see what image
|
||||
* type it is. If you want things to be more efficient, access the
|
||||
* pixels[] array directly.
|
||||
*
|
||||
*
|
||||
* @webref image:pixels
|
||||
* @brief Reads the color of any pixel or grabs a rectangle of pixels
|
||||
* @usage web_application
|
||||
@@ -14124,25 +14124,25 @@ public class PApplet extends Applet
|
||||
|
||||
/**
|
||||
* ( begin auto-generated from PImage_set.xml )
|
||||
*
|
||||
* Changes the color of any pixel or writes an image directly into the
|
||||
*
|
||||
* Changes the color of any pixel or writes an image directly into the
|
||||
* display window.<br />
|
||||
* <br />
|
||||
* The <b>x</b> and <b>y</b> parameters specify the pixel to change and the
|
||||
* <b>color</b> parameter specifies the color value. The color parameter is
|
||||
* affected by the current color mode (the default is RGB values from 0 to
|
||||
* 255). When setting an image, the <b>x</b> and <b>y</b> parameters define
|
||||
* the coordinates for the upper-left corner of the image, regardless of
|
||||
* The <b>x</b> and <b>y</b> parameters specify the pixel to change and the
|
||||
* <b>color</b> parameter specifies the color value. The color parameter is
|
||||
* affected by the current color mode (the default is RGB values from 0 to
|
||||
* 255). When setting an image, the <b>x</b> and <b>y</b> parameters define
|
||||
* the coordinates for the upper-left corner of the image, regardless of
|
||||
* the current <b>imageMode()</b>.
|
||||
* <br /><br />
|
||||
* Setting the color of a single pixel with <b>set(x, y)</b> is easy, but
|
||||
* not as fast as putting the data directly into <b>pixels[]</b>. The
|
||||
* equivalent statement to <b>set(x, y, #000000)</b> using <b>pixels[]</b>
|
||||
* is <b>pixels[y*width+x] = #000000</b>. See the reference for
|
||||
* Setting the color of a single pixel with <b>set(x, y)</b> is easy, but
|
||||
* not as fast as putting the data directly into <b>pixels[]</b>. The
|
||||
* equivalent statement to <b>set(x, y, #000000)</b> using <b>pixels[]</b>
|
||||
* is <b>pixels[y*width+x] = #000000</b>. See the reference for
|
||||
* <b>pixels[]</b> for more information.
|
||||
*
|
||||
*
|
||||
* ( end auto-generated )
|
||||
*
|
||||
*
|
||||
* @webref image:pixels
|
||||
* @brief writes a color to any pixel or writes an image into another
|
||||
* @usage web_application
|
||||
@@ -14175,18 +14175,18 @@ public class PApplet extends Applet
|
||||
|
||||
/**
|
||||
* ( begin auto-generated from PImage_mask.xml )
|
||||
*
|
||||
* Masks part of an image from displaying by loading another image and
|
||||
* using it as an alpha channel. This mask image should only contain
|
||||
* grayscale data, but only the blue color channel is used. The mask image
|
||||
*
|
||||
* Masks part of an image from displaying by loading another image and
|
||||
* using it as an alpha channel. This mask image should only contain
|
||||
* grayscale data, but only the blue color channel is used. The mask image
|
||||
* needs to be the same size as the image to which it is applied.<br />
|
||||
* <br />
|
||||
* In addition to using a mask image, an integer array containing the alpha
|
||||
* channel data can be specified directly. This method is useful for
|
||||
* creating dynamically generated alpha masks. This array must be of the
|
||||
* same length as the target image's pixels array and should contain only
|
||||
* In addition to using a mask image, an integer array containing the alpha
|
||||
* channel data can be specified directly. This method is useful for
|
||||
* creating dynamically generated alpha masks. This array must be of the
|
||||
* same length as the target image's pixels array and should contain only
|
||||
* grayscale data of values between 0-255.
|
||||
*
|
||||
*
|
||||
* ( end auto-generated )
|
||||
*
|
||||
* <h3>Advanced</h3>
|
||||
@@ -14231,31 +14231,31 @@ public class PApplet extends Applet
|
||||
|
||||
/**
|
||||
* ( begin auto-generated from PImage_filter.xml )
|
||||
*
|
||||
* Filters an image as defined by one of the following modes:<br /><br
|
||||
* />THRESHOLD - converts the image to black and white pixels depending if
|
||||
* they are above or below the threshold defined by the level parameter.
|
||||
* The level must be between 0.0 (black) and 1.0(white). If no level is
|
||||
*
|
||||
* Filters an image as defined by one of the following modes:<br /><br
|
||||
* />THRESHOLD - converts the image to black and white pixels depending if
|
||||
* they are above or below the threshold defined by the level parameter.
|
||||
* The level must be between 0.0 (black) and 1.0(white). If no level is
|
||||
* specified, 0.5 is used.<br />
|
||||
* <br />
|
||||
* GRAY - converts any colors in the image to grayscale equivalents<br />
|
||||
* <br />
|
||||
* INVERT - sets each pixel to its inverse value<br />
|
||||
* <br />
|
||||
* POSTERIZE - limits each channel of the image to the number of colors
|
||||
* POSTERIZE - limits each channel of the image to the number of colors
|
||||
* specified as the level parameter<br />
|
||||
* <br />
|
||||
* BLUR - executes a Guassian blur with the level parameter specifying the
|
||||
* extent of the blurring. If no level parameter is used, the blur is
|
||||
* BLUR - executes a Guassian blur with the level parameter specifying the
|
||||
* extent of the blurring. If no level parameter is used, the blur is
|
||||
* equivalent to Guassian blur of radius 1<br />
|
||||
* <br />
|
||||
* OPAQUE - sets the alpha channel to entirely opaque<br />
|
||||
* <br />
|
||||
* ERODE - reduces the light areas with the amount defined by the level
|
||||
* ERODE - reduces the light areas with the amount defined by the level
|
||||
* parameter<br />
|
||||
* <br />
|
||||
* DILATE - increases the light areas with the amount defined by the level parameter
|
||||
*
|
||||
*
|
||||
* ( end auto-generated )
|
||||
*
|
||||
* <h3>Advanced</h3>
|
||||
@@ -14290,17 +14290,17 @@ public class PApplet extends Applet
|
||||
|
||||
/**
|
||||
* ( begin auto-generated from PImage_copy.xml )
|
||||
*
|
||||
* Copies a region of pixels from one image into another. If the source and
|
||||
* destination regions aren't the same size, it will automatically resize
|
||||
* source pixels to fit the specified target region. No alpha information
|
||||
* is used in the process, however if the source image has an alpha channel
|
||||
*
|
||||
* Copies a region of pixels from one image into another. If the source and
|
||||
* destination regions aren't the same size, it will automatically resize
|
||||
* source pixels to fit the specified target region. No alpha information
|
||||
* is used in the process, however if the source image has an alpha channel
|
||||
* set, it will be copied as well.
|
||||
* <br /><br />
|
||||
* As of release 0149, this function ignores <b>imageMode()</b>.
|
||||
*
|
||||
*
|
||||
* ( end auto-generated )
|
||||
*
|
||||
*
|
||||
* @webref image:pixels
|
||||
* @brief Copies the entire image
|
||||
* @usage web_application
|
||||
@@ -14335,11 +14335,11 @@ public class PApplet extends Applet
|
||||
|
||||
/**
|
||||
* ( begin auto-generated from blendColor.xml )
|
||||
*
|
||||
* Blends two color values together based on the blending mode given as the
|
||||
* <b>MODE</b> parameter. The possible modes are described in the reference
|
||||
*
|
||||
* Blends two color values together based on the blending mode given as the
|
||||
* <b>MODE</b> parameter. The possible modes are described in the reference
|
||||
* for the <b>blend()</b> function.
|
||||
*
|
||||
*
|
||||
* ( end auto-generated )
|
||||
* <h3>Advanced</h3>
|
||||
* <UL>
|
||||
@@ -14426,17 +14426,17 @@ public class PApplet extends Applet
|
||||
|
||||
/**
|
||||
* ( begin auto-generated from PImage_blend.xml )
|
||||
*
|
||||
* Blends a region of pixels into the image specified by the <b>img</b>
|
||||
* parameter. These copies utilize full alpha channel support and a choice
|
||||
* of the following modes to blend the colors of source pixels (A) with the
|
||||
*
|
||||
* Blends a region of pixels into the image specified by the <b>img</b>
|
||||
* parameter. These copies utilize full alpha channel support and a choice
|
||||
* of the following modes to blend the colors of source pixels (A) with the
|
||||
* ones of pixels in the destination image (B):<br />
|
||||
* <br />
|
||||
* BLEND - linear interpolation of colours: C = A*factor + B<br />
|
||||
* <br />
|
||||
* ADD - additive blending with white clip: C = min(A*factor + B, 255)<br />
|
||||
* <br />
|
||||
* SUBTRACT - subtractive blending with black clip: C = max(B - A*factor,
|
||||
* SUBTRACT - subtractive blending with black clip: C = max(B - A*factor,
|
||||
* 0)<br />
|
||||
* <br />
|
||||
* DARKEST - only the darkest colour succeeds: C = min(A*factor, B)<br />
|
||||
@@ -14456,7 +14456,7 @@ public class PApplet extends Applet
|
||||
* <br />
|
||||
* HARD_LIGHT - SCREEN when greater than 50% gray, MULTIPLY when lower.<br />
|
||||
* <br />
|
||||
* SOFT_LIGHT - Mix of DARKEST and LIGHTEST.
|
||||
* SOFT_LIGHT - Mix of DARKEST and LIGHTEST.
|
||||
* Works like OVERLAY, but not as harsh.<br />
|
||||
* <br />
|
||||
* DODGE - Lightens light tones and increases contrast, ignores darks.
|
||||
@@ -14465,14 +14465,14 @@ public class PApplet extends Applet
|
||||
* BURN - Darker areas are applied, increasing contrast, ignores lights.
|
||||
* Called "Color Burn" in Illustrator and Photoshop.<br />
|
||||
* <br />
|
||||
* All modes use the alpha information (highest byte) of source image
|
||||
* pixels as the blending factor. If the source and destination regions are
|
||||
* different sizes, the image will be automatically resized to match the
|
||||
* destination size. If the <b>srcImg</b> parameter is not used, the
|
||||
* All modes use the alpha information (highest byte) of source image
|
||||
* pixels as the blending factor. If the source and destination regions are
|
||||
* different sizes, the image will be automatically resized to match the
|
||||
* destination size. If the <b>srcImg</b> parameter is not used, the
|
||||
* display window is used as the source image.<br />
|
||||
* <br />
|
||||
* As of release 0149, this function ignores <b>imageMode()</b>.
|
||||
*
|
||||
*
|
||||
* ( end auto-generated )
|
||||
*
|
||||
* @webref image:pixels
|
||||
|
||||
+124
-139
@@ -40,6 +40,30 @@ X the fix would be to use the following as the call to main()
|
||||
X PApplet.main(append(new String[] { "classname }, args));
|
||||
X added PApplet.main(String name, String[] args)
|
||||
|
||||
cleaning/nixed
|
||||
o opengl needs to shut itself down properly when closing applet
|
||||
o otherwise can crash the whole browser
|
||||
o z value hack for lines is causing trouble for 2D
|
||||
o http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1089737928;start=0
|
||||
o rewrite line and stroke code, it's a buggy mess
|
||||
o lines become 2 pixels thick after a 3D transform
|
||||
o better handling of single-pixel special case
|
||||
o flat_line_retribution is a hack, can go away
|
||||
o some optimizations from zach
|
||||
o http://processing.org/discourse/yabb_beta/YaBB.cgi?board=os_core_pde;action=display;num=1121670787
|
||||
o box is not opaque
|
||||
o problem is that lines are drawn second
|
||||
o one pixel lines have no z value.. argh
|
||||
o bug re: 3d depth sorting on lines
|
||||
o http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1043894019;start=0
|
||||
o http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1042004618
|
||||
o translate(58, 48, 0);
|
||||
o rotateY(0.5);
|
||||
o box(40);
|
||||
o cursor() broken in applets on macosx?
|
||||
o or is it a java 1.4 versus java 1.3 problem?
|
||||
o http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1081645955
|
||||
|
||||
before beta
|
||||
_ loadShape() mess
|
||||
_ get things out of PGraphics
|
||||
@@ -113,6 +137,9 @@ _ provide a way to clear the PGraphics with plain alpha
|
||||
|
||||
_ sort out edge + 1 issue on stroke/fill for rectangles
|
||||
_ http://code.google.com/p/processing/issues/detail?id=509
|
||||
_ 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
|
||||
|
||||
_ add() to add things to lists, sum() for the math (sum is used less after all)
|
||||
|
||||
@@ -134,83 +161,6 @@ _ also need to copy this over to android
|
||||
|
||||
_ disable smoothing on noSmooth(), use hint to do 2x vs 4x smoothing
|
||||
|
||||
andres
|
||||
_ simple NPE in OpenGL causes really large, not useful, stack trace
|
||||
_ why is initPrimarySurface() public?
|
||||
_ why is setFramerate() public? (also should be setFrameRate or just frameRate)
|
||||
_ where did hintEnabled() come from?
|
||||
_ remove 'params' from createImage (is it on loadImage too?)
|
||||
_ OpenGL noSmooth() problems
|
||||
_ http://code.google.com/p/processing/issues/detail?id=328
|
||||
_ inconsistent anti-aliasing with OpenGL
|
||||
_ http://code.google.com/p/processing/issues/detail?id=217
|
||||
_ modelX/Y/Z broken when aiming a camera
|
||||
_ http://code.google.com/p/processing/issues/detail?id=148
|
||||
_ OS X slow with FSEM enabled
|
||||
_ http://code.google.com/p/processing/issues/detail?id=737
|
||||
_ chopping out triangles in OpenGL (though it's only 2D drawing)
|
||||
_ http://code.google.com/p/processing/issues/detail?id=193
|
||||
_ get() with OPENGL is grabbing the wrong coords
|
||||
_ http://code.google.com/p/processing/issues/detail?id=191
|
||||
_ deal with issue of single pixel seam at the edge of textures
|
||||
_ should vertexTexture() divide by width/height or width-1/height-1?
|
||||
_ http://code.google.com/p/processing/issues/detail?id=76
|
||||
_ lousy graphics cards cause background to flicker if background() not used
|
||||
_ http://code.google.com/p/processing/issues/detail?id=146
|
||||
_ OPENGL sketches flicker w/ Vista when background() not used inside draw()
|
||||
_ Disabling Aero scheme sometimes prevents the problem
|
||||
_ Updating graphics drivers may prevent the problem
|
||||
_ text characters showing up as opaque rectangles in tga files
|
||||
o solution is to implement alpha compositing across all of P3D
|
||||
o http://en.wikipedia.org/wiki/Alpha_compositing
|
||||
_ http://code.google.com/p/processing/issues/detail?id=80
|
||||
_ textAlign(CENTER) with P3D and OPENGL produces messy result
|
||||
_ probably rounding error with the images
|
||||
_ http://code.google.com/p/processing/issues/detail?id=65
|
||||
_ when turning smoothing on, internal lines of shapes are visible
|
||||
_ add an edge flag when tesselating
|
||||
_ mind the opengl tesselation flags
|
||||
_ need to turn off smoothing for the interior of shapes
|
||||
_ http://code.google.com/p/processing/issues/detail?id=53
|
||||
_ Implement support for complex shapes when using the OpenGL renderer
|
||||
_ 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
|
||||
_ http://code.google.com/p/processing/issues/detail?id=122
|
||||
_ strokeCap() and strokeJoin() for use with OPENGL
|
||||
_ http://code.google.com/p/processing/issues/detail?id=123
|
||||
_ ellipse scaling method isn't great
|
||||
_ http://code.google.com/p/processing/issues/detail?id=87
|
||||
_ improve hint(ENABLE_DEPTH_SORT) to use proper painter's algo
|
||||
_ http://code.google.com/p/processing/issues/detail?id=51
|
||||
_ polygon z-order depth sorting with alpha in opengl
|
||||
_ complete the implementation of hint() with proper implementation
|
||||
_ gl alpha on images when flipped around backwards
|
||||
_ will sorting based on depth help this? also ask simon for ideas
|
||||
_ 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
|
||||
_ Stroking a rect() leaves off the upper right pixel
|
||||
_ http://code.google.com/p/processing/issues/detail?id=67
|
||||
_ implement a more efficient version of blend()
|
||||
_ http://code.google.com/p/processing/issues/detail?id=120
|
||||
_ Implement anisotropic filtering when using OPENGL
|
||||
_ http://code.google.com/p/processing/issues/detail?id=502
|
||||
_ Signature issue on contributed libraries affects unrelated opengl sketches
|
||||
_ http://code.google.com/p/processing/issues/detail?id=261
|
||||
_ remove matrixMode(), add a projection() method
|
||||
_ remove screenBlend(), textureBlend() from PGraphics et al
|
||||
_ have andres take over all current GL issues in the tracker
|
||||
_ opengl applet problems with tabs - needs to handle stop() and start()
|
||||
_ http://code.google.com/p/processing/issues/detail?id=196
|
||||
_ stop() called between tabs/pages, start() may be called again
|
||||
_ http://java.sun.com/docs/books/tutorial/deployment/applet/lifeCycle.html
|
||||
_ really, stop() should just call noLoop() (and start re-enable if done)
|
||||
_ and on android, start/stop can be used to save state information
|
||||
_ need to fix opengl applets so that we can safely kill P3D
|
||||
_ shared intf for 3D view data across PGraphicsOpenGL and PGraphicsAndroid3D
|
||||
_ libraries have to do a lot of casting
|
||||
|
||||
2.0 / methods
|
||||
_ decision on registered methods
|
||||
@@ -275,18 +225,6 @@ _ just call interrupt() when it's time to get back to work
|
||||
_ add methods to PShape to apply all transformations in the tree
|
||||
_ need to clean up the hints in the reference/source
|
||||
|
||||
gui priorities
|
||||
+ Label
|
||||
+ Button
|
||||
+ Scrollbar/Slider
|
||||
- Checkbox
|
||||
- Radio
|
||||
. List
|
||||
. Textblock
|
||||
\ Knob
|
||||
\ Progress bar
|
||||
\ Toggle
|
||||
|
||||
vector
|
||||
_ PVector discussion with Dan
|
||||
_ jer and dan will look at their code, plus toxiclibs
|
||||
@@ -432,42 +370,12 @@ _ show an error when using a font character that isn't available
|
||||
_ maybe fall back on other characters instead?
|
||||
|
||||
|
||||
CORE / PGraphics
|
||||
|
||||
_ 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
|
||||
|
||||
_ 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
|
||||
|
||||
|
||||
CORE / PGraphicsJava2D
|
||||
|
||||
_ some optimizations from zach
|
||||
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=os_core_pde;action=display;num=1121670787
|
||||
_ catch sun.dc.pr.PRException?
|
||||
_ http://code.google.com/p/processing/issues/detail?id=39
|
||||
|
||||
|
||||
CORE / PGraphics3D
|
||||
|
||||
_ 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);
|
||||
|
||||
|
||||
CORE / PImage
|
||||
|
||||
_ make loading images lighter, ala android
|
||||
@@ -553,25 +461,8 @@ _ document somehow.. svg viewer will be discontinued
|
||||
_ http://www.adobe.com/svg/eol.html
|
||||
|
||||
|
||||
CORE / Mac OS X
|
||||
CORE / OpenGL (Andres)
|
||||
|
||||
_ set the application name to sketch name (not processing.core.PApplet)
|
||||
_ System.setProperty("com.apple.mrj.application.apple.menu.about.name", ...)
|
||||
_ -Xdock:name=<application name>
|
||||
_ -Xdock:icon=<path to icon file>
|
||||
_ 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
|
||||
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
////////////////////////////////////////////////////////////////////
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
|
||||
more andres
|
||||
_ implement setImpl() instead of set() inside PGraphicsOpenGL
|
||||
_ http://code.google.com/p/processing/issues/detail?id=121
|
||||
_ use glCopyPixels() or glReadPixels() instead of copy() method
|
||||
@@ -586,9 +477,92 @@ _ updatePixels wth OpenGL requires a lot of memory, need better texture update
|
||||
_ http://code.google.com/p/processing/issues/detail?id=77
|
||||
_ implement textMode(SHAPE) with OPENGL
|
||||
_ http://code.google.com/p/processing/issues/detail?id=738
|
||||
_ Signature issue on contributed libraries affects unrelated opengl sketches
|
||||
_ http://code.google.com/p/processing/issues/detail?id=261
|
||||
_ simple NPE in OpenGL causes really large, not useful, stack trace
|
||||
_ why is initPrimarySurface() public?
|
||||
_ why is setFramerate() public? (also should be setFrameRate or just frameRate)
|
||||
_ where did hintEnabled() come from?
|
||||
_ remove 'params' from createImage (is it on loadImage too?)
|
||||
_ OpenGL noSmooth() problems
|
||||
_ http://code.google.com/p/processing/issues/detail?id=328
|
||||
_ inconsistent anti-aliasing with OpenGL
|
||||
_ http://code.google.com/p/processing/issues/detail?id=217
|
||||
_ modelX/Y/Z broken when aiming a camera
|
||||
_ http://code.google.com/p/processing/issues/detail?id=148
|
||||
_ OS X slow with FSEM enabled
|
||||
_ http://code.google.com/p/processing/issues/detail?id=737
|
||||
_ chopping out triangles in OpenGL (though it's only 2D drawing)
|
||||
_ http://code.google.com/p/processing/issues/detail?id=193
|
||||
_ get() with OPENGL is grabbing the wrong coords
|
||||
_ http://code.google.com/p/processing/issues/detail?id=191
|
||||
_ deal with issue of single pixel seam at the edge of textures
|
||||
_ should vertexTexture() divide by width/height or width-1/height-1?
|
||||
_ http://code.google.com/p/processing/issues/detail?id=76
|
||||
_ lousy graphics cards cause background to flicker if background() not used
|
||||
_ http://code.google.com/p/processing/issues/detail?id=146
|
||||
_ OPENGL sketches flicker w/ Vista when background() not used inside draw()
|
||||
_ Disabling Aero scheme sometimes prevents the problem
|
||||
_ Updating graphics drivers may prevent the problem
|
||||
_ text characters showing up as opaque rectangles in tga files
|
||||
o solution is to implement alpha compositing across all of P3D
|
||||
o http://en.wikipedia.org/wiki/Alpha_compositing
|
||||
_ http://code.google.com/p/processing/issues/detail?id=80
|
||||
_ textAlign(CENTER) with P3D and OPENGL produces messy result
|
||||
_ probably rounding error with the images
|
||||
_ http://code.google.com/p/processing/issues/detail?id=65
|
||||
_ when turning smoothing on, internal lines of shapes are visible
|
||||
_ add an edge flag when tesselating
|
||||
_ mind the opengl tesselation flags
|
||||
_ need to turn off smoothing for the interior of shapes
|
||||
_ http://code.google.com/p/processing/issues/detail?id=53
|
||||
_ Implement support for complex shapes when using the OpenGL renderer
|
||||
_ 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
|
||||
_ http://code.google.com/p/processing/issues/detail?id=122
|
||||
_ strokeCap() and strokeJoin() for use with OPENGL
|
||||
_ http://code.google.com/p/processing/issues/detail?id=123
|
||||
_ ellipse scaling method isn't great
|
||||
_ http://code.google.com/p/processing/issues/detail?id=87
|
||||
_ improve hint(ENABLE_DEPTH_SORT) to use proper painter's algo
|
||||
_ http://code.google.com/p/processing/issues/detail?id=51
|
||||
_ polygon z-order depth sorting with alpha in opengl
|
||||
_ complete the implementation of hint() with proper implementation
|
||||
_ gl alpha on images when flipped around backwards
|
||||
_ will sorting based on depth help this? also ask simon for ideas
|
||||
_ 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
|
||||
_ Stroking a rect() leaves off the upper right pixel
|
||||
_ http://code.google.com/p/processing/issues/detail?id=67
|
||||
_ implement a more efficient version of blend()
|
||||
_ http://code.google.com/p/processing/issues/detail?id=120
|
||||
_ Implement anisotropic filtering when using OPENGL
|
||||
_ http://code.google.com/p/processing/issues/detail?id=502
|
||||
_ Signature issue on contributed libraries affects unrelated opengl sketches
|
||||
_ http://code.google.com/p/processing/issues/detail?id=261
|
||||
_ remove matrixMode(), add a projection() method
|
||||
_ remove screenBlend(), textureBlend() from PGraphics et al
|
||||
_ have andres take over all current GL issues in the tracker
|
||||
_ opengl applet problems with tabs - needs to handle stop() and start()
|
||||
_ http://code.google.com/p/processing/issues/detail?id=196
|
||||
_ stop() called between tabs/pages, start() may be called again
|
||||
_ http://java.sun.com/docs/books/tutorial/deployment/applet/lifeCycle.html
|
||||
_ really, stop() should just call noLoop() (and start re-enable if done)
|
||||
_ and on android, start/stop can be used to save state information
|
||||
_ need to fix opengl applets so that we can safely kill P3D
|
||||
_ shared intf for 3D view data across PGraphicsOpenGL and PGraphicsAndroid3D
|
||||
_ libraries have to do a lot of casting
|
||||
|
||||
_ opengl needs to shut itself down properly when closing applet
|
||||
_ otherwise can crash the whole browser
|
||||
|
||||
CORE / Mac OS X
|
||||
|
||||
_ set the application name to sketch name (not processing.core.PApplet)
|
||||
_ System.setProperty("com.apple.mrj.application.apple.menu.about.name", ...)
|
||||
_ -Xdock:name=<application name>
|
||||
_ -Xdock:icon=<path to icon file>
|
||||
|
||||
|
||||
LIBRARIES / PGraphicsPDF
|
||||
@@ -629,6 +603,17 @@ _ before rewriting all of createInput()
|
||||
|
||||
LATER (post 2.0)
|
||||
|
||||
_ gui priorities
|
||||
_ + Label
|
||||
_ + Button
|
||||
_ + Scrollbar/Slider
|
||||
_ - Checkbox
|
||||
_ - Radio
|
||||
_ . List
|
||||
_ . Textblock
|
||||
_ \ Knob
|
||||
_ \ Progress bar
|
||||
_ \ Toggle
|
||||
_ implement JSON class
|
||||
_ http://www.xml.com/lpt/a/1658
|
||||
_ http://www.json.org/java/
|
||||
|
||||
Reference in New Issue
Block a user