AmusementClub/vs-fgrain-cuda

Temporal noise

NSQY opened this issue · 3 comments

NSQY commented

Hi,

It seems that this plugin does not have the capability to generate noise across frames. Can this be added if you find the time? Thanks for everything.

Thanks for your suggestion.

Usage:

grays = core.akarin.PropExpr(grays, lambda: dict(FGRAIN_SEED_OFFSET="N")) # other temporal patterns are also possible
grays = core.fgrain_cuda.Add(grays, ...)

I have tried the above code. I have also previously tried randomising the seed parameter by using FrameEval and using the current frame number for seed=, and also by using the current frame number to seed the python random number generator, and passing new random numbers for seed=

whatever I do, I get the same identical grain pattern across every frame. I really want to be able to use this, but static grain the same on every frame isn't useful

This is a characteristic of the algorithm because the generated noise is signal dependent.