|
![](/i/fill.gif) |
Fredrik Eriksson wrote:
>>
>> That would be great if you would implement it in a portable way (i.e.
>> allowing exchange of files between different endiannesses and between
>> IEEE and non-IEEE floating point systems. This is possible but not
>> trivial.
>
> I'm using the OpenEXR library, so it's portable to any system that's
> portable to. If all I wanted was to output "raw" FP data, I could have
> used the code I posted in this forum on the 25th. I want the extra
> features of OpenEXR however.
> [...]
I am not talking about OpenEXR support (to me being required to download
9MB to add support for a new file format is quite out of question). I
am talking about plain binary floating point data. I stopped studying
your code snippet when i read:
typedef unsigned long uint32;
> On a related note:
> Does anyone have a (preferably complete) list of platforms to which
> POV-Ray has been successfully ported?
POV-Ray should compile on any platform where a C++ compiler is available
that supports the current standards. So for writing portable extensions
for POV-Ray you should comply with the standard first of all (and if you
do it will most likely also compile and run on most platforms.
And the typedef cited above is a serious affront to the standard...
Christoph
--
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 06 Jul. 2004 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
![](/i/fill.gif) |