From 2b024634a14aa21bd9a8415d6a20669b916bace1 Mon Sep 17 00:00:00 2001 From: benfry Date: Fri, 29 Apr 2005 14:44:32 +0000 Subject: [PATCH] colorMode fix, faq changes, lots of addl todos --- core/PGraphics.java | 2 +- core/todo.txt | 22 ++++++++++++++++++---- todo.txt | 30 ++++++++++++++++++++++++++++-- 3 files changed, 47 insertions(+), 7 deletions(-) diff --git a/core/PGraphics.java b/core/PGraphics.java index c8b01a297..1d3509a49 100644 --- a/core/PGraphics.java +++ b/core/PGraphics.java @@ -2178,7 +2178,7 @@ public class PGraphics extends PImage implements PConstants { public void colorMode(int mode) { - colorMode = mode; + colorMode(mode, colorModeX, colorModeY, colorModeZ, colorModeA); } diff --git a/core/todo.txt b/core/todo.txt index df15a8b33..c79e9b421 100644 --- a/core/todo.txt +++ b/core/todo.txt @@ -1,14 +1,28 @@ 0086 core X java 1.4 getButton() was inside the mouse handler X http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1114147314;start=3 +X color() doesn't work properly because g might be null? +X http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1114518309;start=0 + +_ for present mode, need to set a default display +_ currently crashes if only --present is specified w/o --display + +_ fov should be in radians + +_ polygons perpendicular to axis not drawing +_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1114158993;start=0 + +_ createGraphics(200, 200) to create same as source **include for 86** +_ 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 _ seem to be problems with updatePixels() on the mac _ appears to run asynchronously -_ 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 +_ don't do a loadPixels unless an updatePixels has completed +_ tho this won't affect anything, since either it's an image buffer +_ or it's the PGraphics object, which does an updatePixels() immediately _ the draw() method must exist, otherwise the sketch won't run diff --git a/todo.txt b/todo.txt index 3348328e6..ea9c998eb 100644 --- a/todo.txt +++ b/todo.txt @@ -6,7 +6,25 @@ X no difference between versions... should it be cvs based? X linux is missing all libraries except for javascript X http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Tools;action=display;num=1114325419;start=1 -_ additional requests for this: +_ set applet.frame on runner, so ppl can mess with the frame itself + +_ osx is swallowing exceptions on external apps +_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1114520230;start=5 + +_ documentation on tabs: .java files, inner classes, etc + +_ "are you trying to f-- with me" on quitting the app is super problem + +_ built in functions.. may not always be fastest, we're going for correct +_ most things have other ways of making things much faster +_ we've attempted for less confusion over speed in some cases +_ get(), set() and red() et al are one such example + +_ serial will only list ports that are currently not in use +_ i.e. if you're monitoring the port in one app, it won't be listed +_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Syntax;action=display;num=1114561057;start=0 + +_ additional requests for this (and it's an easy fix) _ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Suggestions;action=display;num=1114449442;start=0 1 _ maintain tab scroll and caret positions 1 _ save caret position when switching tabs @@ -39,6 +57,10 @@ _ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Contribution_3DOp _ 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 _ opengl not tested for applets +_ to get to opengl functions, put this after size: +_ GL gl = ((PGraphicsGL)g).gl; +_ and then can make opengl calls. this is not supported, +_ and if things don't work, sorry. _ faq - not our problem _ watch out for upper/lowercase changes @@ -270,6 +292,8 @@ _ some type of sketch archive format for posting examples (.psk?) _ would be nice to open a sketch directly from a zip file camera +_ tearing and incomplete updates on camera? +_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=VideoCamera;action=display;num=1114628335;start=0 _ pause and framerate aren't working _ when passing in 'null' as the camera, dialog pops up fine _ but the applet craps out after a few seconds (pinwheel spin) @@ -575,7 +599,7 @@ BUGS / Preprocessor 1 _ (for casting, etc) particularly for Math.cos() et al -PDE / Create Font +TOOLS / Create Font 1 _ close/hide window on 'ESC' 1 _ loading is very slow on the first time (getting all font names) @@ -722,3 +746,5 @@ DISTRIBUTION / Mac OS X 1 _ although.. this only works on panther.. how many are using it? 1 _ mac standard key combinations for moving around in the editor 1 _ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_Software;action=display;num=1093116515 + 1 _ tabs and spaces, command keys don't work w/ shift + 1 _ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1114661169;start=0