"processing.org" - experiences...

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
User avatar
^rooker
Site Admin
Posts: 1483
Joined: Fri Aug 29, 2003 8:39 pm

"processing.org" - experiences...

Post 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.
User avatar
^rooker
Site Admin
Posts: 1483
Joined: Fri Aug 29, 2003 8:39 pm

camera not moving properly

Post 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()".
Post Reply