POV-Ray : Newsgroups : povray.binaries.programming : Treeview In 3.2 Server Time
19 Apr 2024 00:38:56 EDT (-0400)
  Treeview In 3.2 (Message 1 to 2 of 2)  
From: Qman
Subject: Treeview In 3.2
Date: 16 Nov 1998 22:12:22
Message: <3650e996.0@news.povray.org>
Povray 3.1 is so much simpler to use with color coded text. But one more
feature would make it perfect in my opinion, that's a tree view of the text
file, that would allow drag and drop, copying of all the elements of a
certain file, much like explorer. Just my two cents.


Post a reply to this message

From: Roland Mas
Subject: Re: Treeview In 3.2
Date: 16 Nov 1998 22:29:28
Message: <m3btm76ll1.fsf@rpc66.acr.atr.co.jp>
"Qman" <avb### [at] mix-netnet> writes:

> Povray 3.1 is so much simpler to use with color coded text. But one more
> feature would make it perfect in my opinion, that's a tree view of the text
> file, that would allow drag and drop, copying of all the elements of a
> certain file, much like explorer. Just my two cents.

If I may say so, that is not possible.

  What you ask for is equivalent to automatic indenting (for both tasks you
have to extract a hierarchy from the text file).  I have a POV-Ray mode for
Emacs that does it, but it does it imperfectly.  I wanted to fix it but I
soon realised that you just cannot extract a hierarchy from a POV file, for
there is not one hierarchy.  As soon as you have preprocessing (which
means, directives such as #include, #define, #ifdef, everything but the
#warning and #error etc.), you alter your file in such a way as it is
impossible to extract the structure from it anymore.

  Or else, you have to preprocess real-time, but this is not possible
either, for the structure of the global file after preprocessing and
expansions of #include and everything can depend on the clock variable.
And I'm not even mentioning macros or reading from files, that I haven't
been able to use yet (guess why).

  I'd like to be proven wrong, but I'm afraid I'm right.

Roland.
-- 
Les francophones m'appellent Roland Mas,
English speakers call me Rowlannd' Mass,
Nihongode hanasu hitoha [Lolando Masu] to iimasu.
Choisissez ! Take your pick ! Erande kudasai !


Post a reply to this message

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