Caches
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
- Leandro Oliveira
- Posts: 74
- Joined: Thu Aug 27, 2020 6:05 pm
- Location: Brazil
- Contact:
Caches
Hey guys,
The cache goal, is to pre-calculate rays, so I can reuse it in a camera animation, right? If from a frame to another, I change some object´s position, cache solution won´t help. I think I imagining the cache use just like I used to setup in Mental Ray, for example, calculating first Final Gather, than I could render all frames without GI calculation. But, I think I am wrong. Could someone give me an explanation about how caches work in Lux?
Thanks,
The cache goal, is to pre-calculate rays, so I can reuse it in a camera animation, right? If from a frame to another, I change some object´s position, cache solution won´t help. I think I imagining the cache use just like I used to setup in Mental Ray, for example, calculating first Final Gather, than I could render all frames without GI calculation. But, I think I am wrong. Could someone give me an explanation about how caches work in Lux?
Thanks,
Re: Caches
In a more artistic friendly language.
For flythrougth camera animation it is a super fast solution.
Compute once and gain speed from saved caches at each frame rendered.
There are a lot of super good animation we can do with that :
Example.
https://youtu.be/oFzt-3sRExI
https://youtu.be/raxoyqpOayM
We can thanks Dade as Luxcore is the only one opensource renderer to do that.
The only limitation.
Animation with moving Geometry or light. And space with lot of reflective material. In theses cases you get lot of artifacts.
For flythrougth camera animation it is a super fast solution.
Compute once and gain speed from saved caches at each frame rendered.
There are a lot of super good animation we can do with that :
Example.
https://youtu.be/oFzt-3sRExI
https://youtu.be/raxoyqpOayM
We can thanks Dade as Luxcore is the only one opensource renderer to do that.
The only limitation.
Animation with moving Geometry or light. And space with lot of reflective material. In theses cases you get lot of artifacts.
- Leandro Oliveira
- Posts: 74
- Joined: Thu Aug 27, 2020 6:05 pm
- Location: Brazil
- Contact:
Re: Caches
Thank you guys!
So, when I hit render, I can just wait for cache calculation, then stop render. Can I calculate caches in a small resolution, and make final render in a bigger resolution?
So, when I hit render, I can just wait for cache calculation, then stop render. Can I calculate caches in a small resolution, and make final render in a bigger resolution?
Re: Caches
Yes but you need to enable persistent cache on file system to be able to reuse the previous cache in any render.Leandro Oliveira wrote: ↑Tue Sep 08, 2020 9:21 pm So, when I hit render, I can just wait for cache calculation, then stop render. Can I calculate caches in a small resolution, and make final render in a bigger resolution?
Re: Caches
Don't clearly remenber but i think you also need to uncheck save cache while it is done. So that it will not compute and erase previous one.
Make sure to not change object and lighting after that.
If you do that make sure to check save cache to rewrite a new updated cache.
Make sure to not change object and lighting after that.
If you do that make sure to check save cache to rewrite a new updated cache.
- Leandro Oliveira
- Posts: 74
- Joined: Thu Aug 27, 2020 6:05 pm
- Location: Brazil
- Contact:
Re: Caches
Thank you, guys, again!
Sharly, so, it´s possible to update the cache. This is great! This means I can use cache animating, for example, a light color? Or its intensity? Or even, changing an object´s position?
Sharly, so, it´s possible to update the cache. This is great! This means I can use cache animating, for example, a light color? Or its intensity? Or even, changing an object´s position?
Re: Caches
If you force the cache limit by doing that you open the door for flickering like in my short film with the 2 cars.Leandro Oliveira wrote: ↑Wed Sep 09, 2020 6:29 pm Thank you, guys, again!
Sharly, so, it´s possible to update the cache. This is great! This means I can use cache animating, for example, a light color? Or its intensity? Or even, changing an object´s position?
It is fast but don't abuse
- Leandro Oliveira
- Posts: 74
- Joined: Thu Aug 27, 2020 6:05 pm
- Location: Brazil
- Contact:
Re: Caches
Ok, thanks, man!
- Leandro Oliveira
- Posts: 74
- Joined: Thu Aug 27, 2020 6:05 pm
- Location: Brazil
- Contact:
Re: Caches
Guys, another question about caches.
Why a render with caches returned me a different render comparing to a render without cache? And, in my cached render, light seemed to leak to other parts, for example, inside the microwave (it´s not supposed to have any light inside it), and above the cabinets.
Thanks in advance
Why a render with caches returned me a different render comparing to a render without cache? And, in my cached render, light seemed to leak to other parts, for example, inside the microwave (it´s not supposed to have any light inside it), and above the cabinets.
Thanks in advance