POV-Ray : Newsgroups : povray.general : SunPos.inc : Re: SunPos.inc Server Time
1 Aug 2024 04:13:17 EDT (-0400)
  Re: SunPos.inc  
From: Russell Towle
Date: 12 Apr 2006 14:10:00
Message: <web.443d42131dddd71ee6a95f310@news.povray.org>
"Rune" <new### [at] runevisioncom> wrote:
> "Russell Towle" <rto### [at] inreachcom> wrote:
> >However, under POV 3.6.1 this sun.inc file does not run, but
> > gives an error message in parsing, saying that it does not recognixe
> > "vstr"
> > in the line
> >
> > #macro vstr (vec)
> >
> > This makes me think that #macro syntax must have changed between version
> > 3.1
> > and 3.6; but I can't see how.
>
> No, but in POV-Ray 3.6 vstr is a reserved keyword. Renaming vstr to VStr (or
> similar) everywhere might fix the problem.

Ah ha! Well I will try that, or I should try that, but, ...

I got the standard #include sunpos.inc to work. I was mistakenly writing
"-8" for my timezone when this particular algorithm wants -8*15 (degrees).
Once I fixed that, my suns behaved normally.

Thanks Rune!

RT


Post a reply to this message

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