Page 1 of 1

"processing.org" - experiences...

Posted: Sun Feb 26, 2006 9:29 pm
by ^rooker
Here are some notes about my experiences using "processing" (http://www.processing.org/):


[PROBLEM]
Linux: I wanted to feed my processing sketch with input from a file( IO redirection of stdin). No chance.


[SOLUTION]
Haven't really found one, yet. I've even tried to put the redirection into the shell wrapper generated when exporting the processing sketch - no success.

I've circumvented this by sending the desired data over TCP, using the "processing.net.client" package and a small perl script which plays the server.

camera not moving properly

Posted: Sun Feb 26, 2006 9:31 pm
by ^rooker
[PROBLEM]
Within the "draw()" function, I positioned the camera using "camera(eyeX, eyeY, ...)" - but: When I changed my z-Position, things behaved very strange. I was only able to zoom in - not out... although all values were calculated correct.

strange.



[SOLUTION]
I forgot to redraw the screen within the draw method, using "background()" before calling "camera()".