|
|
In article <chrishuff_99-39B6D6.10581528042000@news.povray.org>, Chris
Huff <chr### [at] yahoocom> wrote:
> Sorry about the delays, but here is the changed source code. I also
> included some demo files and some documentation(part of the reason for
> the delays).
To fix the "upside down pigment" problem with patterned_blur, add,
multiply, and exponent, change this line in the functions
doPostPatternBlur(), doPostAdd(), doPostMult(), and doPostExp():
Loc[0] = (DBL)x/width;
Loc[1] = (DBL)y/height;
to this:
Loc[0] = (DBL)x/width;
Loc[1] = 1-((DBL)y/height);
--
Christopher James Huff - Personal e-mail: chr### [at] yahoocom
TAG(Technical Assistance Group) e-mail: chr### [at] tagpovrayorg
Personal Web page: http://chrishuff.dhs.org/
TAG Web page: http://tag.povray.org/
Post a reply to this message
|
|