POV-Ray : Newsgroups : povray.general : Problems with different shadows in the same scene : Problems with different shadows in the same scene Server Time
4 May 2024 07:31:21 EDT (-0400)
  Problems with different shadows in the same scene  
From: gregors
Date: 28 Jul 2017 05:50:00
Message: <web.597b044e348a2f7c7942b6570@news.povray.org>
Hello

Every time when I tried to render the scene I've got different results. The
difference was in the lighting of the scene. In the scene there is only one HDR
sky_sphere.

I am using official 3.7 build on Windows and unofficial MacOS build 3.7.1.

Is there something I've missed?

Here are two examples of the resulting image: https://ibb.co/gR9VkQ

Here is complete test scene:

#version 3.7;

#include "colors.inc"
#include "finish.inc"

#default{
  finish{
    ambient 0
    diffuse 1
  }
}

global_settings {
  radiosity {
    pretrace_start 0.08
    pretrace_end   0.04
    count 35

    nearest_count 5
    error_bound 1.8
    recursion_limit 3

    low_error_factor .5
    gray_threshold 0.0
    minimum_reuse 0.015
    brightness 1

    adc_bailout 0.01/2
  }
}

sky_sphere{
  pigment{
    image_map {
      hdr "..\kitchen_probe.hdr"
      map_type 1
      interpolate 4
    }
  } // end of pigment
} //end of skysphere -----

// perspective (default) camera
camera {
  location  <0.0, 1.2, -2.0>
  look_at   <0.0, 0.5,  0.0>
  right     x*image_width/image_height
}


// scene
sphere{ <0,0,0>, 0.5
  texture{
    pigment{ DimGray }
    finish{ Dull }
  } // end of texture
  translate <0, 0.5, 0>
}

plane{
  <0,1,0>, 0  hollow // normal vector, distance to zero ----
  texture{
    pigment{ Gray }
    finish{ Dull }
  } // end of texture
}


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.