Turned Sky render code in Blender to become fully float, it still returned

bytes for RGB.
This to allow very bright contrasted images to be used for AO as well. As
a first start also the Texture->Colors panel now allows contrast setting
up to 5.0 (was 2.0).
This commit is contained in:
2004-04-24 20:27:29 +00:00
parent 382297b687
commit 5bbd35ff05
7 changed files with 46 additions and 40 deletions

View File

@@ -666,7 +666,7 @@ static void renderview_progress_display_cb(int y1, int y2, int w, int h, unsigne
/* callback for print info in top header in interface */
static void printrenderinfo_cb(double time, int sample, int blur)
static void printrenderinfo_cb(double time, int sample)
{
extern int mem_in_use;
float megs_used_memory= mem_in_use/(1024.0*1024.0);
@@ -679,9 +679,6 @@ static void printrenderinfo_cb(double time, int sample, int blur)
if (R.r.mode & R_FIELDS) {
spos+= sprintf(spos, "Field %c ", (R.flag&R_SEC_FIELD)?'B':'A');
}
if (blur!=-1) {
spos+= sprintf(spos, "Blur: %d ", blur);
}
if (sample!=-1) {
spos+= sprintf(spos, "Sample: %d ", sample);
}