POV-Ray : Newsgroups : povray.unix : povray with stdin : Re: povray with stdin Server Time
26 Jun 2024 03:00:57 EDT (-0400)
  Re: povray with stdin  
From: Jan T  Kim
Date: 30 Mar 2006 12:25:00
Message: <web.442c138b63025cfb421c4b930@news.povray.org>
Thorsten Froehlich <tho### [at] trfde> wrote:
> Jan T. Kim wrote:
> > How do macros necessitate searchable files?
>
> The short answer: Macros can be self-modifying by writing to files.

Ok -- that answer is spot on, modifications to macros in files are
clearly not compatible with the idea of using the data structures
parsed from the file (possibly before modification).

However, would it not be possible to evolve the parser such that it
fseeks only if that is really needed, so that a straightforward scene
that doesn't involve anything fancy such as modifying files etc. can
be parsed from a non-seekable stream?

> Of course, it is far more complex than this.

You're making me curious.

Best regards, Jan


Post a reply to this message

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