Jump to content

Irradiance Map (Incremental) and Light Cache (flythrough)


Lightboxcs
 Share

Recommended Posts

Hi Everyone

 

I have set up a walkthrough and im trying to calculate the lighting solution using Irradiance Map (Incremental) and Light Cache (flythrough)

 

1st I have calculated and saved the Light Cache flythrough mode.

 

I have then set the sequence rendering every 5th frame to calculate the IR Map (Incremenal) using the 'from file' saved light cache with do not render final image ticked under global settings.

 

When it comes to rendering the final sequence using the saved maps the frames come out alot darker than if I use the saved light cache with single frame IR map. (the ceiling is black).

 

Can anybody direct me as to where I am going wrong as the frames render great when I calculate the IR map for every frame?

 

Thanks

Link to comment
Share on other sites

Could you explain please how did you pre calc the light cache? did you use light cache on both primary and secoundary? how many subdivs? did you use every nth frame or not?

 

how long is your animation and wich value are you using in the every nth frame, when calculating irradiance map?

Link to comment
Share on other sites

I Used Light Cache flythrough for the pre calculation for the secondary bounces and irradiance map incremental for the primary bounces.

 

Irradiance map settings:

 

HSph subdivs 50

Interp samples 30

 

to pre calculate the incremental irradiance map I rendered the entire sequence (1500 frames) every nth frame set to 5.

 

I also ticked the do not render final image in the global settings to save time when calculating the irradiance map.

 

When calculating the irradiance map I used the pre calculated light cache (secondary bounces).

 

When I render the final sequence using the precalculated irradiance map and light cache (from file) the frames are very dark.

 

However, when I use just the pre calculated light cache and calculate the irradiance map for every frame, the frames are fine.

 

Im guessing because of this there is a problem with the irradiance map calculation. Is it because I am using the save Light Cache map when calculating the irradiance map every nth frame?

 

Thanks

Link to comment
Share on other sites

when precalculating light cache you must set, in both, primary and secoundary bounces: Light CAcHE, dont use irradiance map at this moment. calculation will take a little more (time) but you wont have trouble... good luck

Link to comment
Share on other sites

Thanks ever so much you are a star!

 

So just to recap:

 

- Set both primary and secondary bounces to light cache (flythrough)

- Load the precalculated light cache in secondary bounces (from file)

- Set irradiance map in primary bounces and calculate every nth frame

- Load the saved irradiance in primary bounces (from file)

- Render the final sequence using the pre calculated saved maps

 

Cheers

Link to comment
Share on other sites

Set both primary and secondary bounces to light cache (flythrough) - FIRST FRAME

- Load the precalculated light cache in secondary bounces (from file) YES

- Set irradiance map in primary bounces and calculate every nth frame YES

- Load the saved irradiance in primary bounces (from file) AND PRE CALC LIGHT CACHE IN SECONDARY -

- Render the final sequence using the pre calculated saved maps

 

YOU GOT IT!! :cool:

Edited by tayrona
spelling
Link to comment
Share on other sites

  • 1 year later...
Set both primary and secondary bounces to light cache (flythrough) - ALL FRAMES!!

- Load the precalculated light cache in secondary bounces (from file) YES

- Set irradiance map in primary bounces and calculate every nth frame YES

- Load the saved irradiance in primary bounces (from file) AND PRE CALC LIGHT CACHE IN SECONDARY -

- Render the final sequence using the pre calculated saved maps

 

YOU GOT IT!! :cool:

-----------------------------

 

Hola Diana:

 

Disculpa la molestia pero luego de varios intentos ya no se que hacer la verdad ajaja

 

Estoy teniendo el mismo problema, y luego de hacer exactamente lo que explicabas, siempre pasa lo mismo. Es como si no cargara algo bien, dado que la escena siempre aparece obscura. Estoy probando con un solo frame, asi que no es necesario el flying through, si no que simplemente aplico single file.. y aun asi nada.. mucho menos en movimiento... y es para luego hacer render con servidores y las demas maquinas puedan detectar y usar el irradiance map hecho en un solo server para que todas usen el mismo archivo y no haya variaciones o flickeos.

 

Problemas de equipo no creo por que estoy trabajando con un server que tiene dual quad core 2.66, 16 gb ram, Nvidia Quadro Fx 1800.. Asi que imposible sea hardware... eso si.. los valores son altos para mejores resultados... Light Cache subd. 4000.. incluso probando con diferentes valores.. los minimos.. no sale... alguna sugerencia o idea?

 

Te estaria enormemente agradecido si puedes ayudarme de alguna forma.

 

Gracias por tu tiempo.. saludos!

 

PD> Si necesitas ver imagenes dime que las saco. Tuve que sacar el render en un server directamente, asi que el final esta.. seria pasarte la version cuando trato de cargar from file tanto irradiance y light cache... tu dime.. gracias..

 

José L. Fiedler

Link to comment
Share on other sites

  • 1 year later...

i am having the same problem, and have not managed to figure out whats causing it.

i am following the im+lc precalc method and the frames render dark.:confused:

 

when using im + lc for a single frame it renders ok.

when using brute+lc or brute+brute for the whole animation it renders ok but lasts ages.

when using lc+lc for the animation it renders ok but with lots of noise.

 

i tried to reproduce this error in a simple scene but failed. Anyways in my scene i struggle with a lot of noise in all cases.:(

Link to comment
Share on other sites

ok i think i got this one...i think :confused:

when the lc settings are too high the im does not load the file and the final render appears dark because it has the gi from im only. i recalculated the lc flythrough using lower subd values and it worked ok. :D

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...