We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi guys,
Im trying to (I know, ongoing question here..) export this sketch Im doing as movie. I did a bit of research and it seems the best way is to use the internal tool Processing has called MovieMaker, which just means rendering some pngs and have MovieMaker do the rest. Unfortunately when I write "saveFrame("frames/####.png");" my sketch just freezes and doesnt run properly.
I dont know if its an issue of too much data.. but I've seen many processing sketches online that look more robust than what Im doing, so Im a bit confused. Is it because Im using 3D? If anyone has any help I would really appreciate it.
Uploaded an image, because every time I paste in the code it starts quoting some of it...
Answers
Code as an image is even worse than code formatted improperly.
Post your code. As text. Select the code. Press Ctrl + o.
Thanks TfGuy44. Actually what would be worse, would be to post nothing at all, but thank you, your opinion is duly noted.
You have a bunch of extra variables that you don't use. You have a lot of code inside your for loops that need not be inside the for loops. This also includes your call to saveFrame(). Maybe you wanted it at the end of draw(), instead of inside your for loops?
Here is the same code cleaned up a bit:
Thanks TfGuy44. Yes I had some leftover code from trying to troubleshoot the problem. But thank you that seemed to have fixed it! :)