# Animation with moving objects - again !!

**URL:** <https://forums.chaos.com/t/animation-with-moving-objects-again/40184>\
**Category:** General\
**Created:** [February 1, 2012, 11:41am UTC](https://forums.chaos.com/t/animation-with-moving-objects-again/40184 "2012-02-01T11:41:11Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![stevesideas](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/stevesideas/32/29103_2.png) [@stevesideas](https://forums.chaos.com/u/stevesideas)\
**Post date:** [February 1, 2012, 11:41am UTC](https://forums.chaos.com/t/animation-with-moving-objects-again/40184/1 "2012-02-01T11:41:11Z")

</div>

Hi there. I know this has been discussed a number of times. People still seem to get flickering with the methods featured online so I just wanted to find out about how to render this type of animation for a specific project.

I have an interior scene where cupboards open and you see inside. Obviously they are dark and then light will enter them. I have seats moving also. None of these objects move a great deal.

So I need to know the best method to accomplish a flicker free animation.

Am I right in thinking that I pre-calc the irrmap every nth (5th) frame with “use camera path” option on. Should I use lightcache for secondary at this stage ?

For the final render, I load the Irrmap from file and select single frame on lightcache.

If I want to speed up my renders should I have “use lightcache for glossy rays” on for the final render ?

---

<div class="post-metadata">

**Author:** ![LarsSonparsson](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/larssonparsson/32/35733_2.png) [@LarsSonparsson](https://forums.chaos.com/u/LarsSonparsson)\
**Post date:** [February 1, 2012, 11:57am UTC](https://forums.chaos.com/t/animation-with-moving-objects-again/40184/2 "2012-02-01T11:57:32Z")

</div>

For animation with moving objects you should save irmap for every frame using animation (prepass) mode.  
Then when rendering the final animation, switch it to animation (rendering) mode.

I don’t think that every 5th frame is enough for moving objects.

---

<div class="post-metadata">

**Author:** ![stevesideas](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/stevesideas/32/29103_2.png) [@stevesideas](https://forums.chaos.com/u/stevesideas)\
**Post date:** [February 1, 2012, 7:40pm UTC](https://forums.chaos.com/t/animation-with-moving-objects-again/40184/3 "2012-02-01T19:40:26Z")

</div>

Ok, so would I use lightcache for secondary for pre-calc and rendering ?

---

<div class="post-metadata">

**Author:** ![LarsSonparsson](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/larssonparsson/32/35733_2.png) [@LarsSonparsson](https://forums.chaos.com/u/LarsSonparsson)\
**Post date:** [February 1, 2012, 8:06pm UTC](https://forums.chaos.com/t/animation-with-moving-objects-again/40184/4 "2012-02-01T20:06:10Z")

</div>

For pre-calc only. When rendering, you can leave it empty.

But if you are using “use lc for glossy reflections”, you have to leave it on for rendering too.

---

<div class="post-metadata">

**Author:** ![stevesideas](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/stevesideas/32/29103_2.png) [@stevesideas](https://forums.chaos.com/u/stevesideas)\
**Post date:** [February 1, 2012, 9:04pm UTC](https://forums.chaos.com/t/animation-with-moving-objects-again/40184/5 "2012-02-01T21:04:15Z")

</div>

OK, I’ll give that a go. Thanks for your help.

---

<div class="post-metadata">

**Author:** ![stevesideas](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/stevesideas/32/29103_2.png) [@stevesideas](https://forums.chaos.com/u/stevesideas)\
**Post date:** [February 2, 2012, 3:23pm UTC](https://forums.chaos.com/t/animation-with-moving-objects-again/40184/6 "2012-02-02T15:23:06Z")

</div>

Some more questions if you dont mind.

For pre-calcing the irrmap would I need to have use camera path on both irrmap and lightcache ?

---

<div class="post-metadata">

**Author:** ![LarsSonparsson](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/larssonparsson/32/35733_2.png) [@LarsSonparsson](https://forums.chaos.com/u/LarsSonparsson)\
**Post date:** [February 2, 2012, 3:49pm UTC](https://forums.chaos.com/t/animation-with-moving-objects-again/40184/7 "2012-02-02T15:49:37Z")

</div>

Hmm… I usually don’t use “camera path” at all.  
Maybe I’m doing things too old fashion. 🙂

---

<div class="post-metadata">

**Author:** ![system](https://cdck-file-uploads-europe1.s3.dualstack.eu-west-1.amazonaws.com/chaossbx/original/1X/2e0d214c48d58c97ded58d7931e9566177aa5366.png) [@system](https://forums.chaos.com/u/system)\
**Post date:** [February 3, 2012, 8:30am UTC](https://forums.chaos.com/t/animation-with-moving-objects-again/40184/8 "2012-02-03T08:30:18Z")

</div>

Tick use camera path for both. An extract from my tutorial [http://www.mintviz.com/blog/flicker-free-animation-using-vray/](http://www.mintviz.com/blog/flicker-free-animation-using-vray/)

"You now have two options depending on your workflow, if you have rendered your animation with use light cache for glossy rays ticked, you will need to leave your light cache as the secondary GI engine. Keep it in single frame mode and have use camera path ticked. If you have rendered without use light cache for glossy rays, disable the secondary GI engine leaving only the irradiance map as the primary GI engine. You can do this because the secondary GI data has been stored in the primary GI engine via the irradiance map prepass.

---

<div class="post-metadata">

**Author:** ![LarsSonparsson](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/larssonparsson/32/35733_2.png) [@LarsSonparsson](https://forums.chaos.com/u/LarsSonparsson)\
**Post date:** [February 3, 2012, 8:44am UTC](https://forums.chaos.com/t/animation-with-moving-objects-again/40184/9 "2012-02-03T08:44:47Z")

</div>

Thanks. Have to try that next time.

Does it increase rendering time?

---

<div class="post-metadata">

**Author:** ![stevesideas](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/stevesideas/32/29103_2.png) [@stevesideas](https://forums.chaos.com/u/stevesideas)\
**Post date:** [February 3, 2012, 2:05pm UTC](https://forums.chaos.com/t/animation-with-moving-objects-again/40184/10 "2012-02-03T14:05:23Z")

</div>

James, I’ll have to check out your tutorial..looks promising!

---

<div class="post-metadata">

**Author:** ![priad](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/priad/32/17751_2.png) [@priad](https://forums.chaos.com/u/priad)\
**Post date:** [February 5, 2012, 7:49pm UTC](https://forums.chaos.com/t/animation-with-moving-objects-again/40184/11 "2012-02-05T19:49:31Z")

</div>

first brufe force+second lightcache= no flickering.

---

<div class="post-metadata">

**Author:** ![stevesideas](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/stevesideas/32/29103_2.png) [@stevesideas](https://forums.chaos.com/u/stevesideas)\
**Post date:** [February 5, 2012, 8:00pm UTC](https://forums.chaos.com/t/animation-with-moving-objects-again/40184/12 "2012-02-05T20:00:06Z")

</div>

…and no precalc either…is that correct ?

---

<div class="post-metadata">

**Author:** ![priad](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/priad/32/17751_2.png) [@priad](https://forums.chaos.com/u/priad)\
**Post date:** [February 5, 2012, 8:04pm UTC](https://forums.chaos.com/t/animation-with-moving-objects-again/40184/13 "2012-02-05T20:04:13Z")

</div>

no precalc for brute force but I can check @ the moment for the LC. sorry I’m on a tinny dead line tonight all computers are booked.

---

<div class="post-metadata">

**Author:** ![priad](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/priad/32/17751_2.png) [@priad](https://forums.chaos.com/u/priad)\
**Post date:** [February 5, 2012, 8:04pm UTC](https://forums.chaos.com/t/animation-with-moving-objects-again/40184/14 "2012-02-05T20:04:52Z")

</div>

“I can’t” sorry

---

<div class="post-metadata">

**Author:** ![priad](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/priad/32/17751_2.png) [@priad](https://forums.chaos.com/u/priad)\
**Post date:** [February 5, 2012, 8:09pm UTC](https://forums.chaos.com/t/animation-with-moving-objects-again/40184/15 "2012-02-05T20:09:45Z")

</div>

[![](https://europe1.discourse-cdn.com/chaosprd/original/3X/f/a/faf6bb73cb4240fd59b4b697f4ccb69711f1f544.jpeg "Carling C2 Robots Ad") ](https://vimeo.com/18391371)

this vid was computed with this method, and no problem at all, I had all settuped in this vid.  
just make a test with LC in different modes on a small scene to check it.

---

<div class="post-metadata">

**Author:** ![Subburb](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/subburb/32/70505_2.png) [@Subburb](https://forums.chaos.com/u/Subburb)\
**Post date:** [February 6, 2012, 12:24am UTC](https://forums.chaos.com/t/animation-with-moving-objects-again/40184/16 "2012-02-06T00:24:29Z")

</div>

wow nice !  
I suggest to check “use cam path” for LC and IM only if cam don’t move too much and/or not reveal too much new things while moving. Use cam path can put you in troubles if your cam moves too much, as you need to increase too much hsph subdivs and Lc subdivs to compensate. If i’m not wrong of course 😉

---

<div class="post-metadata">

**Author:** ![stevesideas](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/stevesideas/32/29103_2.png) [@stevesideas](https://forums.chaos.com/u/stevesideas)\
**Post date:** [February 6, 2012, 1:49am UTC](https://forums.chaos.com/t/animation-with-moving-objects-again/40184/17 "2012-02-06T01:49:39Z")

</div>

Im a little worried as I’ve got “use cam path” on for the pre-calcs and each pre-calc frame is taking 1 hour. The cam does move…spins round and moves up and down…not lots but I don’t know what you mean by move too much ?

Im wondering if the BF/LC method might be the best way to proceed with this as I’ve got another 7 days of pre-calc before I even start the final render.

---

<div class="post-metadata">

**Author:** ![system](https://cdck-file-uploads-europe1.s3.dualstack.eu-west-1.amazonaws.com/chaossbx/original/1X/2e0d214c48d58c97ded58d7931e9566177aa5366.png) [@system](https://forums.chaos.com/u/system)\
**Post date:** [February 6, 2012, 5:30pm UTC](https://forums.chaos.com/t/animation-with-moving-objects-again/40184/18 "2012-02-06T17:30:41Z")

</div>

If the camera moves over a long distance i.e travels from downstairs to upstairs of a house, then it is best to turn it off or render in stages. If the camera spins around and moves pretty much in the same room or even the hallway leading to that room then it is OK.

---

<div class="post-metadata">

**Author:** ![stevesideas](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/stevesideas/32/29103_2.png) [@stevesideas](https://forums.chaos.com/u/stevesideas)\
**Post date:** [February 6, 2012, 5:34pm UTC](https://forums.chaos.com/t/animation-with-moving-objects-again/40184/19 "2012-02-06T17:34:57Z")

</div>

Ok, thanks for the advice. I ended up following the tutorial mentioned earlier and took a bit from the one found here: [http://cinema4d.yourweb.de/thread.php?threadid=6643](http://cinema4d.yourweb.de/thread.php?threadid=6643)

Although its C4d its still relevant. I decided to go with a half res pre-calc for both Irrmap and Lightcache. I did a test render (only 1 so far) and it looked very clean…so fingers crossed.

I also ended up turning off “use lightcache for glossy rays” as I think that reduced quality somewhat also. I think the renders will take more time but the quality should be better.

---

<div class="post-metadata">

**Author:** ![Morne](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/morne/32/11335_2.png) [@Morne](https://forums.chaos.com/u/Morne)\
**Post date:** [February 7, 2012, 8:07am UTC](https://forums.chaos.com/t/animation-with-moving-objects-again/40184/20 "2012-02-07T08:07:56Z")

</div>

ok let us know how it turns out

[Next page](https://forums.chaos.com/t/animation-with-moving-objects-again/40184.md?page=2)
