Skip to content

Commit 2dc0dad

Browse files
committed
Added support for Diffusion and Floyd-Steinberg dithering in HDR output.
1 parent 550e602 commit 2dc0dad

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

source/base/image/hdr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ void GetRGBE(RGBE rgbe, const Image *image, int col, int row, const GammaCurvePt
9898
GetEncodedRGBValue(image, col, row, gamma, rgbColour);
9999

100100
rgbColour += linOff.getRGB();
101-
RadianceHDRColour rgbeColour(rgbColour);
101+
RadianceHDRColour rgbeColour(rgbColour,encOff.getRGB());
102102
for (int i = 0; i < 4; i ++)
103103
rgbe[i] = (*rgbeColour)[i];
104104

source/base/version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
#define OFFICIAL_VERSION_STRING "3.7.1"
4646
#define OFFICIAL_VERSION_NUMBER 371
4747

48-
#define POV_RAY_PRERELEASE "alpha.8695981"
48+
#define POV_RAY_PRERELEASE "alpha.8696519"
4949

5050
#if (POV_RAY_IS_AUTOBUILD == 1) && ((POV_RAY_IS_OFFICIAL == 1) || (POV_RAY_IS_SEMI_OFFICIAL == 1))
5151
#ifdef POV_RAY_PRERELEASE

unix/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.7.1-alpha.8695981
1+
3.7.1-alpha.8696519

0 commit comments

Comments
 (0)