POV-Ray : Newsgroups : povray.general : SunPos.inc : SunPos.inc Server Time
1 Aug 2024 04:14:09 EDT (-0400)
  SunPos.inc  
From: Russell Towle
Date: 12 Apr 2006 11:55:00
Message: <web.443d225882d7f16039b2bf190@news.povray.org>
I have been testing POV 3.6.1's sunpos.inc #include file, with some virtual
landscapes I am familiar with, based upon USGS DEMs. I am obtaining
incorrect results; the sun does not rise or set when it should.

I have set year, month, day, hour, minute, timezone offset, longitude and
latitude correctly. I am rendering scenes I have rendered hundreds of times
before with accurate sun positions. Now it's all wrong.

Hence sunpos.inc must be broken. Anybody else with sunpos.inc problems?

I used to use a very similar file named "sun.inc,' which worked exactly
right and took the same paramemters in the same order and format, as
sunpos.inc. 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.

Help?

Thanks


Post a reply to this message

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