POV-Ray : Newsgroups : povray.general : Writing binary files with POV script : Re: Writing binary files with POV script Server Time
4 Aug 2024 08:25:24 EDT (-0400)
  Re: Writing binary files with POV script  
From: Thorsten Froehlich
Date: 26 Aug 2003 14:22:37
Message: <3f4ba56d@news.povray.org>
In article <3f4b05ab@news.povray.org> , "JC (Exether)" <no### [at] spamfr> wrote:

> Well, endianess can be taken into account by the primitives, you can
> have primitives outputing 4 bytes integers or IEEE floats so that you
> don't have to care about endianess. There could be a variable to give
> endianess of the machine too.
>
> Brendan Ryan wrote:
>> JC (Exether) wrote:
>>
>>> I would like to generate a df3 file directly from a pov script,
>>> generating it from pigments, a bit like Gilles' makecloud macro. But I
>>> had a look at the documentation, and it seems that you can only output
>>> text to a file.
>>>
>>
>> What about endianess?  Maybe the first byte or something could be used
>> to record the endianess used so that the data could be swapped if needed.

As said, to create df3 files, you don't need to know anything about
endianess.

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

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