POV-Ray : Newsgroups : povray.object-collection : The Bright Star Catalogue : Re: The Bright Star Catalogue Server Time
14 May 2024 06:58:59 EDT (-0400)
  Re: The Bright Star Catalogue  
From: Bald Eagle
Date: 16 Jan 2020 20:45:00
Message: <web.5e2110afe3b4c4164eec112d0@news.povray.org>
"Melody" <nomail@nomail> wrote:
> POV
> http://trueinnerbeing.x10host.com/planetarium45.zip

Yes, that worked.

When trying to run pld.pov, I get:

Parse Error: Cannot pass uninitialized identifier to non-optional LValue.
at File: megatime.inc Line: 80 Col: 17

/////////////////////////////////////////////////////////////// AutoDate
MegaPov
//#version unofficial MegaPov 1.21;
#version 3.63;

#declare Time = date("%H:%M:%S")
#declare Date = date("%B %d %Y")
////////////////////////////////////////////////////////////// TimeZone
#declare DST = 1;
#declare GMT = 0;
#declare TimeZone = -6 + DST;
#declare JulianDate = julian(val(date("%Y")),val(date("%m")),val(date("%d")));
#declare ctime = j2ctime(JulianDate);

j2datetime(JulianDate)


presumably that needs to be updated to use datetime()
http://wiki.povray.org/content/Reference:Numeric_Expressions
#local CurrentTime = datetime(now); // current date and time as a string


I will fiddle with it as time allows.
Very nice little site you have.   Lots of very interesting information.
I need whatever vitamins you take   :D


Post a reply to this message

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