We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Under windows I've never had any problems using this trick to create motion blur in animations, no matter what format I output to:
fill(gray, alpha);
rect(0, 0, width, height);
I've just moved over to ubuntu the other day and everything works just fine, except that this trick now causes the whole output to be transparent. Worst is .gif, where any area of the image that has transparancy just becomes invisible. Since the rect in this code covers the whole image, it results in completely blank output. Everything look just fine while running the sketch. Am I doing something wrong or is this a known issue?
Answers
Never heard about any blur effect w/ fill() + rect() before! :@)
I'm on Linux here. I've got some "blur" tracks in this code I had after including your lines: ~:>
studio.processingtogether.com/sp/pad/export/ro.98wJk9FLLhbUE/latest
The vocabulary of the OP is imprecise, he meant actually a fading effect, not a blur one.
Would be interesting to have an example sketch showing the problem.
In particular, are you using the default mode or one of the OpenGL modes (P2D, P3D, OPENGL)?
Thanks PhiLho for clearing up the misunderstanding/misnomer. Here's an example:
And here's two screenshots of the output: http://imgur.com/a/kzJ3t
The one that's completely transparent aside from the background was done without a specified blendMode(), the one that looks ok was done with blendMode(ADD); Both were done with P3D.
Please, avoid to reject answers unless you really mean it, you can ignore the bugging prompt.
I don't do much 3D, and I have a Windows computer, but I know issues with transparency in 3D has been mentioned in the past in the forums. Have you tried a search? (from main site, not from here)