Reply To: ATTENTION ALL PROBLEM-SOLVERS: How would you approach this scenario?

Forum Archive ATTENTION ALL PROBLEM-SOLVERS: How would you approach this scenario? Reply To: ATTENTION ALL PROBLEM-SOLVERS: How would you approach this scenario?

#83697
Martin Bergwerf
Participant

    HI Juan,

    Here’s  a short description of my workflow, it’s just a proof of concept and leaves a bit of work still to be done. But I think you prefer Dwayne’s practical solution anyway.

    I set two Keyframes on the (for instance) Elevation of the Sun in the Sky Texture, and also on the (for instance) X Rotation of an Empty). That results in two curves, that can be manipulated in the Graph Editor.. I think the GN part is straight forward, you can also set the Font there. You’d have to insert a few Math Nodes to convert the degrees into a time. (Most notably a Modulo 12/24 for the hours and a modulo 60 for the minutes…)

    Like I said in the beginning, the biggest problem, is to convert the sun position (or, in CG, the Elevation and Rotation) into a time…it depends on the time of year and the location on earth as well…but it’s still just a bunch of Math Nodes.