Dust

Have you come up with a good Moho trick? Need help solving an animation problem? Come on in.

Moderators: Fahim, Distinct Sun, Víctor Paredes, erey, Belgarath, slowtiger

Post Reply
User avatar
slowtiger
Posts: 5434
Joined: Thu Feb 16, 2006 6:53 pm
Location: Berlin, Germany
Contact:

Dust

Post by slowtiger » Tue Mar 28, 2017 6:47 pm

So I sat with a friend who needs dust and speckles for his new project, but a certain kind of it. He didn't want the scanned-in dust I brought with me, it was way too much.
"Well, guess I could erase most of it ..." (him)
"Naa, that's too much work. Maybe I could do something with black cardboard and a bit of sugar, photographing ..." (me)
"Doesn't look like dust then."
"It's so simple, basically just a few random spots every now and then, it should be possible to program this in Processing, but I've never touched that. And we can't use any particle generator because it needs to show on single frames only."
"Particle generator? Like the one in Anime Studio?"
"Yes. And ... One moment. There's that thing called noisy interpolation, which is a script. So maybe I could write a script in AS ..."
"Can we test it?"
5 minutes later:
"So this layer contains one spot, and we set the interpolation to noisy ... woah!"
The spot was flickering here and there, and outside of the project as well. Just what we needed.
"Could we do this with some dust image? Like a hair?"
"Sure."
Open dust film, screenshot one speckle, import to AS, noisy interpolation on.
"OK, scaling to 1 or less, amplitude to 8.1 or so. You could also make a small movie with different dust shapes in it instead of just one image."

Finally he was happy with just 2 layers of random dust (1 speckle each). I've set the parameters a bit different on each layer, and because the scene was 1 minute long some numbers gave a too regular repeated pattern. No scripting needed.
AS 9.5 MacPro Quadcore 3GHz 16GB RAM OS 10.6.8 Quicktime 7.6.6
AS 11 MacPro 12core 3GHz 32GB RAM OS 10.11 Quicktime 10.7.3
User avatar
Lukas
Posts: 790
Joined: Fri Apr 09, 2010 9:00 am
Location: Netherlands
Contact:

Re: Dust

Post by Lukas » Wed Mar 29, 2017 11:53 am

Can you show us a video? :)
User avatar
slowtiger
Posts: 5434
Joined: Thu Feb 16, 2006 6:53 pm
Location: Berlin, Germany
Contact:

Re: Dust

Post by slowtiger » Wed Mar 29, 2017 2:08 pm

The speckles are too small to show up on youtube. But maybe I do a smaller demo version with larger dust, later.
AS 9.5 MacPro Quadcore 3GHz 16GB RAM OS 10.6.8 Quicktime 7.6.6
AS 11 MacPro 12core 3GHz 32GB RAM OS 10.11 Quicktime 10.7.3
User avatar
slowtiger
Posts: 5434
Joined: Thu Feb 16, 2006 6:53 pm
Location: Berlin, Germany
Contact:

Re: Dust

Post by slowtiger » Wed Mar 29, 2017 3:50 pm

Here you are:
https://youtu.be/QTBJMDBwaIw

The source dust is a 20 frame loop hand drawn in TVPaint. It's imported to 3 layers in AS, each set to a different playback speed to avoid the same dust showing up too close to itself.

A scale setting of 1 already enlarges the dust too much, if you're out for realism, set this close to 0.
AS 9.5 MacPro Quadcore 3GHz 16GB RAM OS 10.6.8 Quicktime 7.6.6
AS 11 MacPro 12core 3GHz 32GB RAM OS 10.11 Quicktime 10.7.3
User avatar
Lukas
Posts: 790
Joined: Fri Apr 09, 2010 9:00 am
Location: Netherlands
Contact:

Re: Dust

Post by Lukas » Wed Mar 29, 2017 3:52 pm

Looks like the real deal!
funksmaname
Posts: 3107
Joined: Tue May 29, 2007 11:31 am
Location: Nelson, New Zealand

Re: Dust

Post by funksmaname » Thu Mar 30, 2017 2:11 am

looks great :)
User avatar
jahnocli
Posts: 3351
Joined: Fri Oct 29, 2004 2:13 pm
Location: UK

Re: Dust

Post by jahnocli » Thu Mar 30, 2017 9:19 am

I feel like a hi-fi obsessive listening for the hiss in a record of Beethoven's Fifth...
You can't have everything. Where would you put it?
User avatar
synthsin75
Posts: 7203
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: Dust

Post by synthsin75 » Thu Mar 30, 2017 5:12 pm

jahnocli wrote:I feel like a hi-fi obsessive listening for the hiss in a record of Beethoven's Fifth...
https://mynoise.net/NoiseMachines/dusty ... erator.php
User avatar
slowtiger
Posts: 5434
Joined: Thu Feb 16, 2006 6:53 pm
Location: Berlin, Germany
Contact:

Re: Dust

Post by slowtiger » Thu Mar 30, 2017 6:20 pm

My bullshit alarm went off ... Seriously, adding noise just does that: adds noise.

I keep some recordings of badly scratched vinyl for faking old recordings.
AS 9.5 MacPro Quadcore 3GHz 16GB RAM OS 10.6.8 Quicktime 7.6.6
AS 11 MacPro 12core 3GHz 32GB RAM OS 10.11 Quicktime 10.7.3
User avatar
chucky
Posts: 3935
Joined: Sun Jan 28, 2007 4:24 am
Location: Van Diemen's Land
Contact:

Re: Dust

Post by chucky » Thu Mar 30, 2017 7:18 pm

Spotless Dust, Slowtiger!
Sequential offender.
my latest animations
User avatar
jahnocli
Posts: 3351
Joined: Fri Oct 29, 2004 2:13 pm
Location: UK

Re: Dust

Post by jahnocli » Thu Mar 30, 2017 8:51 pm

synthsin75 wrote:
jahnocli wrote:I feel like a hi-fi obsessive listening for the hiss in a record of Beethoven's Fifth...
https://mynoise.net/NoiseMachines/dusty ... erator.php
Ha ha! Brilliant!
You can't have everything. Where would you put it?
User avatar
slowtiger
Posts: 5434
Joined: Thu Feb 16, 2006 6:53 pm
Location: Berlin, Germany
Contact:

Re: Dust

Post by slowtiger » Sun Apr 02, 2017 12:49 pm

I combined several layers to this result:
https://youtu.be/LlgpI3MdcrI
Quite convincing, I think.
AS 9.5 MacPro Quadcore 3GHz 16GB RAM OS 10.6.8 Quicktime 7.6.6
AS 11 MacPro 12core 3GHz 32GB RAM OS 10.11 Quicktime 10.7.3
Post Reply