By AlexP

I'm looking for easy solution to make timelapse sun animation. When I key time in Maxwell settings, maya animates hours and minutes as separate values. Is there any way to lock them together making them behave like a clock?

Best regs.
User avatar
By Mihnea Balta
You could make an expression which takes an input time as a number and breaks it down into hour, minute, second and drive those attributes with it. However, using the time of day is not really a good way to control the sun in an animation. Close to sunrise or sunset, one second of precision is not enough to get smooth transitions.

It's better to drive the sun direction with a Maya object, such as a directional light, and animate its orientation. That way you get smooth transitions regardless of the time of day, because the direction will be interpolated as needed. It's a bit tricky though if you need to match the real sun direction corresponding to a given location and time.
By AlexP
In the meantime I used that:
SunSim. But it keys all frames one by one so I don't know how to e.g. alter sun speed though day. Moreover paremeters can't be saved.
Best feature would be possibility to create "sun light" via maxwell plugin.
By AlexP
Can I set key for month in plugin settings? I can't rightclick dropdown to set key...
User avatar
By Mihnea Balta
Set the month to the desired value with the dropdown, then run this in the command line or script editor:
Code: Select all
setKeyframe maxwellRenderOptions.skyMonth
Beware though that, since the month is an integer attribute, Maya will create a step curve, so the month will simply jump between the values you've set, without in-between values. To obtain smooth interpolation, select the render options node (for example by running the command "select -r maxwellRenderOptions"), open the graph editor, select the keys for the "Sky Month" attribute and hit one of the interpolation buttons in the toolbar (spline, linear etc.).

Hi! I have looked for the answer to this but so fa[…]

Settings do not stick

Quick update - if you save the viewport again (in […]

I don't understand why it is so difficult to have[…]

Backplate rendering - reflections

Ok, thanks, so Arnold can do https://answers.arnol[…]