|
![](/i/fill.gif) |
"minzi0815" <mar### [at] eumetsat int> wrote in message
news:web.4822a7bb8637a0d8c32955910@news.povray.org...
> Warp <war### [at] tag povray org> wrote:
>> minzi0815 <mar### [at] eumetsat int> wrote:
>> > i am looking for a detailed specification of df3 - files in the web for
>> > a few
>> > days now - without success yet. Can someone give me a hint ? Thank you
>> > in
>> > advance !
>>
>> Did you try the official documentation?
>>
>> http://povray.org/documentation/view/3.6.1/374/
>>
>> --
>> - Warp
> I did, but this is not a detailed spec really ...
>
Hi Marcus,
It seems to me to be almost complete. It doesn't seem to indicate the
sequencing of the data block, so I'd assume that the first block of data
would be used for the first row of values in X etc. If my assumption is
correct then (in Hex):
0002 0003 0004 0F A5 ... followed by another 22 bytes of data, would give
you a 2x3x4 8-bit media density pattern with the first value '0F' (15)
being the density at <0,0,0> and the second value of A5 (165) being the
density at <1,0,0>, the third data value would be used for <0,0.5,0> etc.
until it fills in a 2x3x4 block from <0,0,0> to <1,1,1>. If you wanted a
16-bit file you'd have 2 bytes per voxel, so you'd need another 46 bytes of
data.
Is this any help?
Otherwise could you add a few words about what you're trying to do or where
you need additional detail?
Regards,
Chris B.
Post a reply to this message
|
![](/i/fill.gif) |