Hi,
I have a problem…
I am making a daylight simulation in Blender. I have Nishita sky and Sun Position Add-on.
It all looks good, but client wants a small clock saying what time we can see in the animation.
I was trying with animation add-on and I was able to create time with decimal values.
But… client needs hours, and minutes, and not decimals 15:45 instead of 15,75.
One things confusing me… why are all those links blue (vectors) not grey (values) ?
Anyhoooo…
The first task is create the hours… this is just case of just bringing the decimals in the float to text box you have down to 0.
Next we create the minutes… for this we put the time value through math node : modulo 1 … this removes everything to the left of the decimal place, then another maths multiply by 60, then into another float to text.
Then … can we add the two texts and add a “:” ? Or would it be easier to just use seperate objects?
Than I guess there is no option to create math with “modulo 1” or I don’t know how to do it here…
(or I know how to substract values, or recalculate but outside of Blender )