|
![](/i/fill.gif) |
Thomas Willhalm <tho### [at] willhalm de> wrote...
>
> Hello,
>
> inspired by the article of Eric Freeman I've run his scene through megapov
> using purify. It reveiled that there is "uninitiaized memory read". More
> precisely, in the function BacktraceRefract in lighting.c only the
> rgb values of lc are initialized. The transmit value is however used
> in Determine_Apparent_Colour when
>
> Colour[TRANSM] *= C1[TRANSM];
>
During the photon-tracing step (when BacktraceRefract is called), the
transmit and filter channels of Colour are ignored (i.e. the value that
Determine_Apparent_Colour places in Colour[TRANSM] is never used), so this
shouldn't cause a problem.
-Nathan
Post a reply to this message
|
![](/i/fill.gif) |