|
|
Rafal 'Raf256' Maj <spa### [at] raf256com> wrote:
> In addition I suggest an option that will not allow to output pure black
> (0,0,0 rgb).
> In this case (0,0,0) rgb will work as magic "not-rendered" color and it
> would make putting partial renders togeather very easy.
That's a kludge.
Most image formats (at least png and tga, probably the others too)
support user-defined header blocks. POV-Ray could simply write there
the location and dimensions of the rendered part in a standardized
format.
In fact, at least in a TGA (and probably other formats as well) you
can explicitly tell "the image has these dimensions, but this file only
contains the data for this part of the image" in its header.
POV-Ray could use both of these methods (at least when the latter is
supported by the format).
This would be much more elegant than sacrificing 1/256th of your
color range.
--
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}// - Warp -
Post a reply to this message
|
|