POV-Ray : Newsgroups : povray.general : INQUIRY: How to Get After-Period Value : Re: INQUIRY: How to Get After-Period Value Server Time
25 Apr 2024 17:09:41 EDT (-0400)
  Re: INQUIRY: How to Get After-Period Value  
From: Sven Littkowski
Date: 3 Apr 2018 05:57:59
Message: <5ac35027@news.povray.org>
I will use the formula of
"MyFractional = MyInitialValue - int(MyInitialValue)"

to convert time value fractionals (00..59) into decimal fractionals.
This will allow me to let the sun (light_source) wander over the sky
depending on the time value the user enters as value of MyTime.   :-)

---
Diese E-Mail wurde von AVG auf Viren geprüft.
http://www.avg.com


Post a reply to this message

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