POV-Ray : Newsgroups : povray.programming : Parse storage. : Re: Parse storage. Server Time
29 Jul 2024 06:24:00 EDT (-0400)
  Re: Parse storage.  
From: Spider
Date: 3 Feb 1999 18:05:16
Message: <36B8D507.A676097F@bahnhof.se>
Ron Parker wrote:
> 
> On Wed, 3 Feb 1999 21:39:08 +0100, Rudy Velthuis <rve### [at] gmxnet> wrote:
> >But you'll propably have to write a rather extensive parser for this. Once
> >you've done that, the rest won't be hard to implement anymore.
> 
> But if you use POV's built-in parser, and get the code added to the
> official release somehow...  This is how POB format works, but it's
> not official.  All of the issues with binary files go away if you
> use a text file in a known format instead.  The result is something
> that's a little slower parsing than a binary file but not as slow
> as a procedural scene description, more cross-platform than a binary
> file, and backward compatible with existing versions of POV.  It's
> like the C preprocessor: it outputs C code, but it's not C code mere
> mortals would want to read.  In fact, many compilers even have an
> option for "preprocess only."  This is the sort of option I'm
> proposing.
I agree with this point Ron, why do binary? 
A general ansi/ascii format would be far better, and the parse time for
those, around 15 sec for one of my bigger trees of 40 Mb is not so very
much... Not compared to the parse time(I don't want to think about it)

//Spider


Post a reply to this message

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