|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Fri, 10 Oct 2003 09:28:07 +0200, Christoph Hormann
<chr### [at] gmxde> wrote:
>I agree. You can also say #local implies a 'declare' -> 'to declare sth
>local(ly)'. #persistant would be logical in the same way.
But I bet there are scourges of people who don't know how to spell
'persistent' correctly :)
Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] vipbg
TAG e-mail : pet### [at] tagpovrayorg
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Fri, 10 Oct 2003 11:15:50 +0300, Peter Popov <pet### [at] vipbg> wrote:
> >I agree. You can also say #local implies a 'declare' -> 'to declare sth
> >local(ly)'. #persistant would be logical in the same way.
>
> But I bet there are scourges of people who don't know how to spell
> 'persistent' correctly :)
Autocom [TAB] pletion
ABX
Post a reply to this message
|
|
| |
| |
|
|
From: Warp
Subject: Re: Retaining persistent variables in MegaPov 1.0
Date: 10 Oct 2003 04:33:32
Message: <3f866edc@news.povray.org>
|
|
|
| |
| |
|
|
Peter Popov <pet### [at] vipbg> wrote:
> >#persistant would be logical in the same way.
> But I bet there are scourges of people who don't know how to spell
> 'persistent' correctly :)
Is this the same kind of phenomenon as with "primative"?-)
--
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Peter Popov wrote:
>>I agree. You can also say #local implies a 'declare' -> 'to declare sth
>>local(ly)'. #persistant would be logical in the same way.
>
>
> But I bet there are scourges of people who don't know how to spell
> 'persistent' correctly :)
:-)
But don't blame me, Chris Huff made the same mistake.
I should really get a newsreader with builtin POV-SDL syntax
highlighting - of course it would not have helped in this case.
Christoph
--
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 2 Sep. 2003 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <Xns### [at] netplexaussieorg>,
ingo <ing### [at] tagpovrayorg> wrote:
> You could make not just variables persistent but whole objects or scene
> sections.
Objects can be variables. The language should be able to take care of
anything else by using persistent variables. I think the goal of these
modules is more serialization and permanent storage of data, which would
require a pretty large amount of work to implement. It could be useful,
though...
--
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <mkqcov04t6990qforfh55isegqsdrkgndr@4ax.com>,
Peter Popov <pet### [at] vipbg> wrote:
> >I agree. You can also say #local implies a 'declare' -> 'to declare sth
> >local(ly)'. #persistant would be logical in the same way.
>
> But I bet there are scourges of people who don't know how to spell
> 'persistent' correctly :)
Very good point.
--
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Fri, 10 Oct 2003 10:35:35 +0200, Christoph Hormann
<chr### [at] gmxde> wrote:
>But don't blame me, Chris Huff made the same mistake.
Yeah but you're the one who proposes this horrendous syntax. Man, I
had to turn on the spell checker to make sure I wasn't making a fool
of myself... I guess it's as well that you didn't propose some
46-character German word for it :-)
/me ducks
Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] vipbg
TAG e-mail : pet### [at] tagpovrayorg
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Peter Popov wrote:
>
> Yeah but you're the one who proposes this horrendous syntax. Man, I
> had to turn on the spell checker to make sure I wasn't making a fool
> of myself... I guess it's as well that you didn't propose some
> 46-character German word for it :-)
i
characters are also so nicely improving portability of script files...)
Of course we can also make it:
#merk_dir_das_und_vergiss_es_nicht_gleich_wieder
Christoph
--
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 2 Sep. 2003 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
|
| |
| |
|
|
From: David Wallace
Subject: Re: Retaining persistent variables in MegaPov 1.0
Date: 15 Oct 2003 14:50:48
Message: <3f8d9708@news.povray.org>
|
|
|
| |
| |
|
|
In C/C++ persistent external variables are declared as static. Since static
is not a reserved word in POV (I checked) that should be the name of a
variable that persists from frame to frame in an animation:
#static Fwd = 203.4;
"Christoph Hormann" <chr### [at] gmxde> wrote in message
news:jtv### [at] tritonschunteretctu-bsde...
> sups wrote:
> > Hi ABX!
> >
> > Thank you for both your replies. From your previous reply it was clear
that
> > persistent variables may not have made it to MP1.0. But in the manuals
of
> > MP1.0, nowhere it has been explicitly mentioned. Therefore I had the
> > slightest hope that this feature may be accesible in some other way. It
> > would be really nice to get this feature back since my code is not
> > compatible with MP0.7.
>
> It is not very likely that this will happen any time soon. The
> persistence of variables patch was somewhat ugly and Nathan was probably
> the only one who really understood it.
>
> I would also prefer a different syntax for such a patch. Like for
> example a new #persistent directive which works like #declare and #local
> but stores the data differently so it is not cleared after each frame.
>
> Christoph
>
> --
> POV-Ray tutorials, include files, Sim-POV,
> HCR-Edit and more: http://www.tu-bs.de/~y0013390/
> Last updated 2 Sep. 2003 _____./\/^>_*_<^\/\.______
>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <3f8d9708@news.povray.org>,
"David Wallace" <dar### [at] earthlinknet> wrote:
> In C/C++ persistent external variables are declared as static. Since static
> is not a reserved word in POV (I checked) that should be the name of a
> variable that persists from frame to frame in an animation:
>
> #static Fwd = 203.4;
I think the static keyword is one of the worst misfeatures of C/C++.
Retained, indestructible, invariable, permanent, safe...I think
"persistent" is really the best word for this.
How about this: deprecate #declare, and have #global declare a global
persistent variable. Use #local to declare local variables, and #set to
modify existing variables. Most variables should be local anyway, except
for those in includes. This fixes several problems with the existing
system. If non-persistent global variables turn out to be useful often
enough, add something like #transient or #temporary to avoid the need to
undefine them. (I don't think this will be necessary.)
--
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |