# animate vray sun

**URL:** <https://forums.chaos.com/t/animate-vray-sun/106902>\
**Category:** General\
**Created:** [October 13, 2021, 8:54pm UTC](https://forums.chaos.com/t/animate-vray-sun/106902 "2021-10-13T20:54:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cgdom](https://avatars.discourse-cdn.com/v4/letter/c/a9adbd/32.png) [@cgdom](https://forums.chaos.com/u/cgdom)\
**Post date:** [October 13, 2021, 8:54pm UTC](https://forums.chaos.com/t/animate-vray-sun/106902/1 "2021-10-13T20:54:48Z")

</div>

I know i can animate the time of day and other parameters in the v-ray sin, but I’m not getting predictable results for a time-lapse animation. I have to make a loop and my first frame has the sun at about 11am. I need to animate till sunset, and then re emerge back at the same 11am values. What is the best slider/combination of values to animate in order to make this happen ?

---

<div class="post-metadata">

**Author:** ![hermit.crab](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/hermit.crab/32/46825_2.png) [@hermit.crab](https://forums.chaos.com/u/hermit.crab)\
**Post date:** [October 14, 2021, 4:11pm UTC](https://forums.chaos.com/t/animate-vray-sun/106902/2 "2021-10-14T16:11:22Z")

</div>

I just animated the “Hour value”, where I adjusted the animation curve a bit so as to start and end at 11 AM. Here is a [sample scene.](http://ftp.chaosgroup.com/support/24hour_anim.mb) I did not calculate the exact frames per hour, so it is not precise, but you get the idea.

---

<div class="post-metadata">

**Author:** ![cgdom](https://avatars.discourse-cdn.com/v4/letter/c/a9adbd/32.png) [@cgdom](https://forums.chaos.com/u/cgdom)\
**Post date:** [October 14, 2021, 5:19pm UTC](https://forums.chaos.com/t/animate-vray-sun/106902/3 "2021-10-14T17:19:32Z")

</div>

Thank you, will have a look.

---

<div class="post-metadata">

**Author:** ![intercard](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/intercard/32/73175_2.png) [@intercard](https://forums.chaos.com/u/intercard)\
**Post date:** [October 15, 2021, 8:49am UTC](https://forums.chaos.com/t/animate-vray-sun/106902/4 "2021-10-15T08:49:41Z")

</div>

Hello !! Yes hermit give to you a good workflow

well but you can copy all info transform translate in X,Y and Z of the first frame to last frame I have a time lapse but not bucle or loop.

example animation time lapse Sun non bucle:

> **[Instagram](https://www.instagram.com/p/CFP%5C_7p4I0vI)**
