POV-Ray : Newsgroups : povray.general : Plea for a PoV-Ray binary scene format : Re: Plea for a PoV-Ray binary scene format Server Time
6 Aug 2024 02:21:21 EDT (-0400)
  Re: Plea for a PoV-Ray binary scene format  
From: Ron Parker
Date: 2 Aug 2002 16:48:32
Message: <slrnakls12.p0g.ron.parker@fwi.com>
On Fri, 02 Aug 2002 14:54:02 -0500, Christopher James Huff wrote:
> In article <jejlkusg7tnpnh4qajkpfdrsc5eu6phngk@4ax.com>,
>  Peter Popov <pet### [at] vipbg> wrote:
> 
>> >Where does POV currently read and write floating-point data? The only 
>> >cases I can think of are the radiosity and photon data files, and I 
>> >never tried transferring them to a different platform...wouldn't think 
>> >they would be worth the effort.
>> 
>> Ahem... Chris, every thought about the parser itself? <ducks>
> 
> I don't get it...the parser doesn't do any binary I/O of floating-point 
> values. The closest thing it does is read or write values in plain text 
> files. 

You're missing his point.  He's saying that the plain-text representation IS
a platform-independent floating-point representation that we convert to and
from on the fly.


-- 
#macro R(L P)sphere{L F}cylinder{L P F}#end#macro P(V)merge{R(z+a z)R(-z a-z)R(a
-z-z-z a+z)torus{1F clipped_by{plane{a 0}}}translate V}#end#macro Z(a F T)merge{
P(z+a)P(z-a)R(-z-z-x a)pigment{rgbt 1}hollow interior{media{emission T}}finish{
reflection.1}}#end Z(-x-x.2y)Z(-x-x.4x)camera{location z*-10rotate x*90}


Post a reply to this message

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