POV-Ray : Newsgroups : povray.binaries.images : Specular highlight: so what am I doing wrong? : Specular highlight: so what am I doing wrong? Server Time
30 Jul 2024 06:25:48 EDT (-0400)
  Specular highlight: so what am I doing wrong?  
From: Cousin Ricky
Date: 6 Jul 2012 22:20:01
Message: <web.4ff79a94da9b290385de7b680@news.povray.org>
I ran this scene with +kff2:
___________________________________________________________________________

#version 3.7;

global_settings { assumed_gamma 1 }

camera
{ location <0.5, 1.5, -6>
  look_at <0, 1, 0>
  angle 30
}

light_source { <-1, 1, -1> * 1000, rgb 1 parallel point_at 0 }

sky_sphere { pigment { gradient y color_map { [0 rgb 0.6] [1 rgb 0.3] } } }

plane { y, 0 pigment { checker rgb 0.05 rgb 1 } }

#declare REFLECTION = 0.25;
#declare ROUGHNESS = 0.05;
sphere
{ y, 1
  pigment { rgb <1, 0.75, 0.25> }
  finish
  { reflection REFLECTION
    diffuse 0.6 * (1 - REFLECTION)
    ambient 0.1 * (1 - REFLECTION)
    roughness ROUGHNESS
    #switch (frame_number)
      #case (1) specular 0.25 * ((1/ROUGHNESS)+1) * REFLECTION #break
      #case (2) specular albedo REFLECTION #break
    #end
  }
}
___________________________________________________________________________

According to Clipka's Highlight Voodo, the highlights should be identical.  What
am I missing?


Post a reply to this message


Attachments:
Download 'specular_albedo.png' (57 KB)

Preview of image 'specular_albedo.png'
specular_albedo.png


 

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