mirror of
https://github.com/mmp/pbrt-v4
synced 2026-09-26 16:20:07 +03:00
Fix denoise issues
This patch fix a issue using denoise because a Variance channel names exposed here: https://github.com/mmp/pbrt-v4/issues/300
This commit is contained in:
parent
accfbcba62
commit
88f324c337
1 changed files with 2 additions and 2 deletions
|
|
@ -2424,8 +2424,8 @@ int denoise(std::vector<std::string> args) {
|
|||
checkForChannels(nsDesc, "Nsx,Nsy,Nsz");
|
||||
ImageChannelDesc albedoDesc = in.GetChannelDesc({"Albedo.R", "Albedo.G", "Albedo.B"});
|
||||
checkForChannels(albedoDesc, "Albedo.R,Albedo.G,Albedo.B");
|
||||
ImageChannelDesc varianceDesc = in.GetChannelDesc({"rgbVariance"});
|
||||
checkForChannels(varianceDesc, "rgbVariance");
|
||||
ImageChannelDesc varianceDesc = in.GetChannelDesc({"Variance.R", "Variance.G", "Variance.B"});
|
||||
checkForChannels(varianceDesc, "Variance.R,Variance.G,Variance.B");
|
||||
|
||||
ImageChannelDesc jointDesc = in.GetChannelDesc({"Pz", "Nx", "Ny", "Nz"});
|
||||
ImageChannelValues jointSigmaIndir(4, 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue