|
|
In the following scene, I get the "camera inside non-hollow object" warning - is
this a (previously unreported) bug?
I get the warning even when (as in the scene below) the camera is positioned
outside the radius of the disk. In other words the disk behaves like a plane.
Ideally, I suppose one might expect never to get this warning with a disk,
unless the camera was inside the radius of the disk and at the same height as
the disk, but I imagine that this is not possible. At anyrate, even if not a
bug, it might be worth a comment in the docs...
#version 3.5;
#include "colors.inc"
global_settings {
assumed_gamma 1.0
}
camera {
location <0.0, 0, -20.0>
look_at <0.0, 0, 0.0>
}
light_source {
0*x
color rgb <1,1,1>
translate <40, 80,0>
}
disc{<0,2,0>,z,1 pigment{White}}
--
#macro A(V,B,C,R)#while(B-256)#if(V-128/B>=0)sphere{0,.5translate<C-4R-1,9>
pigment{rgb<1-C/8R/2C/8>}}#local V=V-128/B;#end#local B=B*2;#local C=C+1;#
end#end A(234,1,0,2)A(85,1,0,1)A(81,1,0,0)light_source{-5 1}//Tom Melly
Post a reply to this message
|
|