POV-Ray : Newsgroups : moray.win : viewing/editing/parsing POV files in Moray : Re: viewing/editing/parsing POV files in Moray Server Time
28 Jul 2024 14:34:46 EDT (-0400)
  Re: viewing/editing/parsing POV files in Moray  
From: Warp
Date: 8 Aug 2000 05:26:26
Message: <398fd241@news.povray.org>
VMK <vmk### [at] icqmailcom> wrote:
: I still find it difficult to understand how Moray 3.2 can export POV
: files in a split second (Ctrl-F9) without even opening POV-ray, yet it
: can't read the POV files it just created. Isn't it bizzarre? Imagine
: Microsoft Front Page not being able to read html files.

  This is because the pov file format is not the native format of moray. What
moray does is actually export to a povray file, which is not exactly the same
as saving.
  First of all: Why should moray open povray to write a pov file? Povray
doesn't write pov files, and pov files are just text. In the same way you
don't need povray to write a pov file; any text editor will be good enough
(even the text editor in winpov is not really part of povray itself, but just
a kind of add-on).
  In theory it could be possible for moray to read its own pov files as long
as they are completely unmodified (because if it knows what to write, it can
easily know what to read). But if you modify the file in ANY way, or try to
read a pov file not created with moray, the difficulty of the task will be
a lot higher (just think about all those while-loops, macros, arrays...).

  HTML files are a lot easier to read than pov files, and frontpage has
probably been made to have HTML as its native format.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

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