View Single Post
Old 18th June 2009, 03:23   #12  |  Link
R3Z
Silver Über Alles
 
R3Z's Avatar
 
Join Date: Aug 2006
Location: Australia
Posts: 269
Quote:
Originally Posted by Didée View Post
The result shown by R3Z looks quite good. However, the DetailBasedGrain function looks really fishy! See:

i.e.
take source, let Blockbuster add noise to flat areas, let addgrain add noise everywhere, and finally blur *everything* (including the original underlying content!)

Is that really the intended operation?


Oh, and ... the "BM" parameter is declared as integer variable, but it's supposed to be a string variable - see default(bm).


Its supposed to blur the grain added by blockbuster and then add some extra grain ontop after this to help blend in the added grain.

I asked around a bit for help on how to do that and after making the function I had no comments until now !

Edit: I see whats wrong, i am making a few changes and we will see if i have learnt anything.

Last edited by R3Z; 18th June 2009 at 03:55.
R3Z is offline   Reply With Quote