I am trying to use the sunpos include file in an interface I am building to use
POV-Ray for designing buildings. I want a situation where the user enters one of
a set of predefined locations and times for example: Daylight( West, Afternoon )
The interface will access the current date and time, with all the other
necessary information for sunpos in order to correctly render the scene.
My question is: how can I get the current date and time for POV-Ray via the SDL?
From: clipka
Subject: Re: Getting the current date and time for POV-Ray
Date: 18 Mar 2010 17:46:39
Message: <4ba29f3f$1@news.povray.org>
Kene schrieb:
> Actually, it seems a better idea is to allow the user to enter a desired date> and time as part of the settings for the scene.
... especially since you have no other way to get the current time &
date from SDL anyway, unless you use a patched version (such as MegaPOV
for instance) ;-)
From: Leroy Whetstone
Subject: Re: Getting the current date and time for POV-Ray
Date: 26 Mar 2010 23:44:31
Message: <4BAD8D6F.4040409@joplin.com>
clipka wrote:
> Kene schrieb:> >> Actually, it seems a better idea is to allow the user to enter a >> desired date>> and time as part of the settings for the scene.> > > ... especially since you have no other way to get the current time & > date from SDL anyway, unless you use a patched version (such as MegaPOV > for instance) ;-)
I wrote a little C++ program that would write the time and date in to a
text file. I've tried to use the Pre_Scene_Command or Pre_Frame_Command
in the ini to run the program then let the pov file read that file. But
I never did get it to work.