|
|
While experimenting with some code, I was using a shadowless light, and noticed
that I wasn't getting a phong highlight on a sphere with that finish.
Is this for some reason the intended behaviour, or an actual bug?
Minimal scene:
#version 3.8;
global_settings {assumed_gamma 1.0}
#declare Camera_Orthographic = true;
#declare Camera_Position = <0, 0, -100> ;
#declare Camera_Look_At = <0, 0, 0> ;
// functions as a zoom for the orthographic view: 4 zooms in 4x, 8 zooms in 8x,
etc.
#declare Fraction = 75;
// ###########################################
camera {
#if (Camera_Orthographic = true)
orthographic
right x*image_width/(Fraction)
up y*image_height/(Fraction)
#else
right x*image_width/image_height
up y
#end
location Camera_Position
look_at Camera_Look_At}
// ###########################################
sky_sphere {pigment {rgb <1, 1, 0.8>}}
#declare LS = <10, 10, -20>;
light_source {LS rgb 1 } //shadowless}
#declare Color = z*0.2; //<1, 0.9, 0.0>;
sphere {0, 1.2 texture {pigment {rgb Color} finish {phong 1}} }
Post a reply to this message
|
|