|
![](/i/fill.gif) |
Ken <tyl### [at] pacbell net> wrote:
: In POV-Ray v3.1g when there were no objects in the scene the renderer
: stopped and returned an error message. In POV-Ray v3.5b the renderer
: does not stop when there are no objects in the scene and returns
: a warning instead. I don't recall if this was an intentional change
: or not.
It is intentional.
(The reason is that POV-Ray shouldn't judge the intelligence of the user:
If the user really wants to render a scene with no objects, then POV-Ray should
just do it. Doing this is not so crazy as one may think, as there are at least
to clear situations where this is useful:
1: If you want to render a sky_sphere only (this makes sense sometimes as
the sky_sphere can have any pigment).
2: If you have an animation where there are some frames with absolutely
no objects.
In both cases you previously had to add invisible and useless dumb objects
to the scene in order to render it. This doesn't really make sense.)
--
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}// - Warp -
Post a reply to this message
|
![](/i/fill.gif) |