From a577f7ad0dc2b120be09cf3eb37ebbc2632b8dd2 Mon Sep 17 00:00:00 2001 From: benfry Date: Sun, 13 Nov 2011 00:46:26 +0000 Subject: [PATCH] cleaning up todo lists, make smooth() the default --- .../core/src/processing/core/PGraphics.java | 4 +-- android/todo.txt | 1 + core/src/processing/core/PGraphics.java | 6 +--- core/todo.txt | 36 ++++++++++--------- todo.txt | 28 +++++++-------- 5 files changed, 36 insertions(+), 39 deletions(-) diff --git a/android/core/src/processing/core/PGraphics.java b/android/core/src/processing/core/PGraphics.java index d4ceeb85b..5fa3382b9 100644 --- a/android/core/src/processing/core/PGraphics.java +++ b/android/core/src/processing/core/PGraphics.java @@ -663,9 +663,7 @@ public class PGraphics extends PImage implements PConstants { * This is currently called by checkSettings(), during beginDraw(). */ protected void defaultSettings() { // ignore -// System.out.println("PGraphics.defaultSettings() " + width + " " + height); - - noSmooth(); // 0149 + smooth(); // 2.0a5 colorMode(RGB, 255); fill(255); diff --git a/android/todo.txt b/android/todo.txt index c1d77bcdd..4bb5229fd 100644 --- a/android/todo.txt +++ b/android/todo.txt @@ -2,6 +2,7 @@ X Android emulator not launching on Windows with 2.0 alpha releases X http://code.google.com/p/processing/issues/detail?id=899 X /opt/android using version #s again? fix build script (earlier) +X smooth() is now the default _ don't let the ... ? diff --git a/core/src/processing/core/PGraphics.java b/core/src/processing/core/PGraphics.java index ae267cd34..c3ef3a58b 100644 --- a/core/src/processing/core/PGraphics.java +++ b/core/src/processing/core/PGraphics.java @@ -706,8 +706,7 @@ public class PGraphics extends PImage implements PConstants { */ protected void defaultSettings() { // ignore // System.out.println("PGraphics.defaultSettings() " + width + " " + height); - - noSmooth(); // 0149 + smooth(); // 2.0a5 colorMode(RGB, 255); fill(255); @@ -722,9 +721,6 @@ public class PGraphics extends PImage implements PConstants { // init shape stuff shape = 0; - // init matrices (must do before lights) - //matrixStackDepth = 0; - rectMode(CORNER); ellipseMode(DIAMETER); diff --git a/core/todo.txt b/core/todo.txt index 4ad98a49d..348ca372c 100644 --- a/core/todo.txt +++ b/core/todo.txt @@ -4,6 +4,23 @@ X http://code.google.com/p/processing/issues/detail?id=729 X https://forum.processing.org/topic/absurd-java-cpu-usage-at-empty-sketch-with-draw X "Framingham" example has BufferOverflowException X http://code.google.com/p/processing/issues/detail?id=900 +X enable smooth() by default +X better to learn noSmooth() later + +earlier +o text using textMode(SCREEN) not displayed in Processing 1.5.1 +o http://code.google.com/p/processing/issues/detail?id=741 +X remove textMode(SCREEN) +o is it possible to do decent vlw text with JAVA2D and OPENGL? +o optimize textMode(MODEL) with textMode(SCREEN) +o in PGraphics and PGraphics3, check to see if matrix is within epsilon +o of one of the rotation matrices (many fewer steps) +o if identity, or just translate, or a rotate, make OBJECT into SCREEN +o textMode(SCREEN) needs to be faster +o need flat image implementation that takes no transforms +o along with 90, 180 and 270 versions of it as well +o tie to glDrawPixels.. how to clear matrix properly for that? +X maybe just disable this for JAVA2D cuz it's silly? _ consider using BufferStrategy to improve performance @@ -42,9 +59,7 @@ _ linux present mode isn't working properly _ if save() returns boolean, does saveFrame()? _ also need to copy this over to android -_ enable smooth() by default -_ better to learn noSmooth() later -_ disable smoothing on noSmooth(), use hint to do 2x vs 4x smoothing +_ disable smoothing on noSmooth(), use hint to do 2x vs 4x smoothing _ document how things are sometimes null in XML _ test xml examples to see if they break @@ -156,8 +171,6 @@ X remove textMode(SCREEN) references 2.0 _ PNode.getChildren() shouldn't make a new array.. toArray() can do that -_ text using textMode(SCREEN) not displayed in Processing 1.5.1 -_ http://code.google.com/p/processing/issues/detail?id=741 _ thread() causes weird flickering _ http://code.google.com/p/processing/issues/detail?id=742 _ toArray(), toArray(float[]), toVectorArray(), toVectorArray(PVector[]) @@ -271,12 +284,12 @@ _ http://code.google.com/p/processing/issues/detail?id=233 _ provide a way to clear the PGraphics with plain alpha _ add breakShape to the public API _ or handle differently in general.. nested beginPath() calls? -_ remove textMode(SCREEN) -_ is it possible to do decent vlw text with JAVA2D and OPENGL? _ smooth() not working with applets an createGraphics(JAVA2D) _ but works fine with applications _ need an example of this +_ this might be a problem of the offscreen surface as RGB not RGBA +_ but that's been changed in more recent releases looping/events _ key and mouse events delivered out of order @@ -403,10 +416,6 @@ 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 @@ -440,11 +449,6 @@ CORE / PGraphicsJava2D _ some optimizations from zach _ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=os_core_pde;action=display;num=1121670787 -_ textMode(SCREEN) 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? -_ maybe just disable this for JAVA2D cuz it's silly? _ catch sun.dc.pr.PRException? _ http://code.google.com/p/processing/issues/detail?id=39 diff --git a/todo.txt b/todo.txt index efb8e0045..f73e0d38d 100644 --- a/todo.txt +++ b/todo.txt @@ -5,10 +5,17 @@ X make note of when library is not available (serial) with error msg X i.e. if running in 64-bit mode on OS X, can't do serial X update to Java 6u29 for Linux and Windows (OS X now updated) -_ Commenting via menu or shortcut does not set sketch to "need save" -_ http://code.google.com/p/processing/issues/detail?id=860 +fixed in 2.0a3 +X Commenting via menu or shortcut does not set sketch to "need save" +X http://code.google.com/p/processing/issues/detail?id=860 -_ move Movie Maker out to its own separate tool package +fixed in 2.0a4 +X is there a better way to handle the data folder for apps? +X rather than adding it to the main zip file? +X otherwise ppl are copying really large files into a jar... + + +_ move Movie Maker out to its own separate tool package (with separate build) _ http://code.google.com/p/processing/issues/detail?id=837 _ don't show library conflict warning until someone tries to build @@ -31,12 +38,6 @@ _ http://code.google.com/p/processing/issues/detail?id=725 _ renaming a normal tab to same name with ".java" fails with ".pde" version already exists _ http://code.google.com/p/processing/issues/detail?id=776 -./configure --disable-werror --target=i686-pc-mingw32 -./configure --disable-werror --target=i686-pc-mingw32 --host=i686-pc-darwin -./configure --disable-werror --target=i686-pc-mingw32 --host=i686-apple-darwin10 -works: CXX='g++ -m32' CC='gcc -m32' CFLAGS=-m32 CXXFLAGS=-m32 LDFLAGS=-m32 ./configure --disable-werror --target=i686-pc-mingw32 -CXX='g++ -m32' CC='gcc -m32' CFLAGS=-m32 CXXFLAGS=-m32 LDFLAGS=-m32 ./configure --disable-werror --target=i686-pc-mingw32 --with-gnu-ld - _ casey: recent sketches is a yes, window menu could go either way window menu: http://code.google.com/p/processing/issues/detail?id=545 @@ -65,12 +66,9 @@ _ problem with startup on vista 64 _ try this with windows 7 64-bit (install on laptop?) _ http://dev.processing.org/bugs/show_bug.cgi?id=1246 -_ switch to a non-modified version of the launcher exe -_ move the launcher to jsmooth or something like that? - -_ is there a better way to handle the data folder for apps? -_ rather than adding it to the main zip file? -_ otherwise ppl are copying really large files into a jar... +_ switch to a non-modified version of launch4j +_ switch the exported launcher to use launch4j as well? +X figured out how to do Intel build for OS X decisions _ kill external editor (for all its quirks) in favor of command line?