GrainFactory3
From Avisynth wiki
Abstract | |
---|---|
Author | Didée |
Version | 3 |
Download | GrainFactory3.avsi |
Category | Effects |
Requirements |
|
License | |
Discussion |
Contents |
Description
- Noise generator that tries to simulate the behavior of silver grain on film..
Requirements:
- - AviSynth 2.5.8 or later
- - Supported color formats: YV12
- - Progressive input only
Required Filters:
- AddGrainC
- MaskTools2 2.0a48+
Syntax and Parameters
- GrainFactory3 (clip clp, int "g1str", int "g2str", int "g3str", int "g1shrp", int "g2shrp", int "g3shrp", float "g1size", float "g2size", float "g3size", int "g1tex", int "g2tex", int "g3tex", int "temp_avg", int "ontop_grain", int "th1", int "th2", int "th3", int "th4")
- Input:
- clip clp =
- Input clip.
- clip clp =
- Strength of grain:
- int g1str = 13
- Strength of grain / for dark areas.
- Range: 0 - ???
- Strength of grain / for dark areas.
- int g1str = 13
- int g2str = 15
- Strength of grain / for midtone areas.
- Range: 0 - ???
- Strength of grain / for midtone areas.
- int g2str = 15
- int g3str = 25
- Strength of grain / for bright areas.
- Range: 0 - ???
- Strength of grain / for bright areas.
- int g3str = 25
- Sharpness of grain:
- int g1shrp = 60
- Sharpness of grain / for dark areas (NO EFFECT when g1size=1.0 !!)
- Range: 0 - 100
- Sharpness of grain / for dark areas (NO EFFECT when g1size=1.0 !!)
- int g1shrp = 60
- int g2shrp = 66
- Sharpness of grain / for midtone areas (NO EFFECT when g2size=1.0 !!)
- Range: 0 - 100
- Sharpness of grain / for midtone areas (NO EFFECT when g2size=1.0 !!)
- int g2shrp = 66
- int g3shrp = 80
- Sharpness of grain / for bright areas (NO EFFECT when g3size=1.0 !!)
- Range: 0 - 100
- Sharpness of grain / for bright areas (NO EFFECT when g3size=1.0 !!)
- int g3shrp = 80
- Size of grain:
- float g1size = 1.50
- Size of grain / for dark areas.
- Range: 0.5 - 4.0
- Size of grain / for dark areas.
- float g1size = 1.50
- float g2size = 1.20
- Size of grain / for mid-tone areas.
- Range: 0.5 - 4.0
- Size of grain / for mid-tone areas.
- float g2size = 1.20
- float g3size = 0.90
- Size of grain / for bright areas
- Range: 0.5 - 4.0
- Size of grain / for bright areas
- float g3size = 0.90
- Texture:
- int g1tex = 0
- Strength of "material texture" appearance.
- Range: 0 - 100
- Strength of "material texture" appearance.
- int g1tex = 0
- int g2tex = 0
- (In fact: 'bump' effect)
- Range: 0 - 100
- (In fact: 'bump' effect)
- int g2tex = 0
- int g3tex = 0
- For dark / midtone / bright grain.
- Range: 0 - 100
- For dark / midtone / bright grain.
- int g3tex = 0
- Temporal averaging:
- int temp_avg = 0
- Percentage of noise's temporal averaging.
- Range: 0 - 100
- Percentage of noise's temporal averaging.
- int temp_avg = 0
- Mixing zone:
- int th1 = 24
- Start of dark->midtone mixing zone.
- int th1 = 24
- int th2 = 56
- End of dark->midtone mixing zone.
- int th2 = 56
- int th3 = 128
- Start of midtone->bright mixing zone.
- int th3 = 128
- int th4 = 160
- End of midtone->bright mixing zone
- int th4 = 160
- On top grain:
- int ontop_grain = 0
- additional grain to put on top of previously generated grain.
- Range:0 - ???
- additional grain to put on top of previously generated grain.
- int ontop_grain = 0
Examples
AviSource("Blah.avi") Grainfactory3(5,7,10)
Changelog
Changes 2008-10-03: - GrainFactory3 - Shorten parameters' names - Add "mixing zone" parameters - Restructure parameters. Better control for dark, midtone, and bright areas.
Changes 2008-10-01: - GrainFactory_MT1/MT2 - Interdependent version for MaskTools or MaskTools2 - For all changes see here
Changes circa 2005: - GrainFactory - Initial release
Links
- Doom9 Forum - GrainFactory discussion.
Back to External Filters ←