POV-Ray : Newsgroups : povray.general : [wish] blank output : Re: [wish] blank output Server Time
2 Nov 2024 09:18:38 EDT (-0400)
  Re: [wish] blank output  
From: Warp
Date: 7 Apr 2004 16:37:46
Message: <4074669a@news.povray.org>
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

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