in news:web.5c4c3b5ad91f5294e5f701770@news.povray.org And wrote:
> How to write a media density like
>
>
Turn the pigment part of your density to a function.
Use nested loops to sample the function in the resolution you want.
Put the resulting data into one or more arrays.
Use a macro to write these arrys in the proper way to a file. There is
such a macro in the distribution, in arrays.inc : ARRAYS_WriteDF3(Array,
FileName, BitDepth). I've not used it yet but it will dictate hoe to set
up your data array before writing
ingo
Post a reply to this message
|