How to save V-ray light cache and irradiance map
+22
jamesalbert
sakuratei
quicklearner
reds
vinc3nt12
nyakunam
cloud20
jheteg
whey09
reggie0711
lei23
westcoastwindblow
Gunther_08
ekbi
bing1370
ERICK
bgerodias
keitzkoy
jumach
maq1226
bokkins
Norman
26 posters
Page 1 of 3
Page 1 of 3 • 1, 2, 3
How to save V-ray light cache and irradiance map
3rd tutorial ko para sa inyo....
para sa lahat ng gustong mapabilis ang final rendering.....one of the SECRET ng vray max. 50 to 80% of rendering time ang pwede mong e-save. i got this tip dun sa mga indonesian friends ko dito....ang laking pasalamat ko kila sakta, joe saka dhedhe kahit hindi sila member dito..wahehe..baka kakilala nyo lang.....
kailangan natin e-save yung computed data information ng vray light cache and irradiance map para magamit natin sa pagrender ng final output. ginagawa natin ito para pag nerender natin yung final hindi na ko-kompyuten ng max yung light cache saka irradiance. dyan kasi minsan tumatagal ang render. and specially yung RAM memory nya na o-optimize ang paggamit since hindi na magko-compute. iwas crash ng PC and 6 hours na rendering sa mga naririnig ko sa ibang member.
subukan ko pong explain lahat sa abot ng aking makakaya kasi medyo komplikado ang procedure. importante makuha nyo muna yung concept para tama nyo magawa.
ito po yung idea ng procedure:
STEP 1: TEST RENDER > SAVE(light cache, irradiance map)
STEP 2: LOAD SAVED(light cache, irradiance map) > FINAL RENDER
ganito po yung procedure
after natin ma-set yung desired lighting, ambiance, environment sa scene natin tapos ready na tayo magpa-final output.
STEP 1: TEST RENDER
set natin yung vray sa pinaka simple settings like, image sampling(anti aliasing)
image sampler: FIXED
anti aliasing filter: OFF
tapos sa irradiance map ang light cache
1. current preset > very low
2. hsph subdivs: 20 or kahit na mga 2 ang value, pati na rin yung interp sample: 20
3 yung light cache value ng subdiv: 20 lang, tpos yung sample size .01
>>>CLICK RENDER<<<
dito sa step na ito di importante yng quality ng rendering since ang kailangan lang natin yung computation ng vray sa mga ilaw.
STEP 2: LOAD SAVED(light cache, irradiance map)
once natapos yung rendering ese-save na natin yung mga light cache and irradiance map.
irradiance map
1. click "save to file". the file should be .vrmap
2. change "single frame" to "from file"
3. "browse" the .vrmap you have created
samething with light cache
1. click "save to file". the file should be .vrlmap
2. change "single frame" to "from file"
3. "browse" the .vrlmap you have created
after nating magawa yung lahat na ito ready na tayo mag set ng pang final na setting. pwede nyo na e-adjust yung mga value ng lahat ng anti aliasing, irradiance map, light cache values para sa final rendering nyo. wag nyo lang gagalahin ulit yung value ng lighting at iba pang related sa light kasi mawawala yung use ng sinave mong VRMAP at VRLMAP.
NOTE: sa isang angle lang ito applicable. so kung may bago kayong view or angle di na magagamit yung file na ginawa nyo kasi applicable lang sya dun sa angle na yun. try nyong gamitin yung vrmap saka yug vrlmap sa ibang view or camera maiiba ang timpla ng lighting. kasi gagamitin nya yung data ng dating cam/angle dun sa bago mong cam/angle n hindi pareho ng setting ng lighting.
check this discussion -
http://www.cgpinoy.org/cg-discussions-f30/saving-irradiance-map-light-cache-t1112.htm
para sa lahat ng gustong mapabilis ang final rendering.....one of the SECRET ng vray max. 50 to 80% of rendering time ang pwede mong e-save. i got this tip dun sa mga indonesian friends ko dito....ang laking pasalamat ko kila sakta, joe saka dhedhe kahit hindi sila member dito..wahehe..baka kakilala nyo lang.....
kailangan natin e-save yung computed data information ng vray light cache and irradiance map para magamit natin sa pagrender ng final output. ginagawa natin ito para pag nerender natin yung final hindi na ko-kompyuten ng max yung light cache saka irradiance. dyan kasi minsan tumatagal ang render. and specially yung RAM memory nya na o-optimize ang paggamit since hindi na magko-compute. iwas crash ng PC and 6 hours na rendering sa mga naririnig ko sa ibang member.
subukan ko pong explain lahat sa abot ng aking makakaya kasi medyo komplikado ang procedure. importante makuha nyo muna yung concept para tama nyo magawa.
ito po yung idea ng procedure:
STEP 1: TEST RENDER > SAVE(light cache, irradiance map)
STEP 2: LOAD SAVED(light cache, irradiance map) > FINAL RENDER
ganito po yung procedure
after natin ma-set yung desired lighting, ambiance, environment sa scene natin tapos ready na tayo magpa-final output.
STEP 1: TEST RENDER
set natin yung vray sa pinaka simple settings like, image sampling(anti aliasing)
image sampler: FIXED
anti aliasing filter: OFF
tapos sa irradiance map ang light cache
1. current preset > very low
2. hsph subdivs: 20 or kahit na mga 2 ang value, pati na rin yung interp sample: 20
3 yung light cache value ng subdiv: 20 lang, tpos yung sample size .01
>>>CLICK RENDER<<<
dito sa step na ito di importante yng quality ng rendering since ang kailangan lang natin yung computation ng vray sa mga ilaw.
STEP 2: LOAD SAVED(light cache, irradiance map)
once natapos yung rendering ese-save na natin yung mga light cache and irradiance map.
irradiance map
1. click "save to file". the file should be .vrmap
2. change "single frame" to "from file"
3. "browse" the .vrmap you have created
samething with light cache
1. click "save to file". the file should be .vrlmap
2. change "single frame" to "from file"
3. "browse" the .vrlmap you have created
after nating magawa yung lahat na ito ready na tayo mag set ng pang final na setting. pwede nyo na e-adjust yung mga value ng lahat ng anti aliasing, irradiance map, light cache values para sa final rendering nyo. wag nyo lang gagalahin ulit yung value ng lighting at iba pang related sa light kasi mawawala yung use ng sinave mong VRMAP at VRLMAP.
NOTE: sa isang angle lang ito applicable. so kung may bago kayong view or angle di na magagamit yung file na ginawa nyo kasi applicable lang sya dun sa angle na yun. try nyong gamitin yung vrmap saka yug vrlmap sa ibang view or camera maiiba ang timpla ng lighting. kasi gagamitin nya yung data ng dating cam/angle dun sa bago mong cam/angle n hindi pareho ng setting ng lighting.
check this discussion -
http://www.cgpinoy.org/cg-discussions-f30/saving-irradiance-map-light-cache-t1112.htm
Last edited by f-fortyone on Fri May 28, 2010 7:40 pm; edited 2 times in total
Norman- CGP Expert
- Number of posts : 3228
Registration date : 21/06/2009
Re: How to save V-ray light cache and irradiance map
hehe your welcome sir boks!!!gusto kong maging sing generous nyo e...kahit sobrang hirap e-explain idol!!!
Norman- CGP Expert
- Number of posts : 3228
Registration date : 21/06/2009
Re: How to save V-ray light cache and irradiance map
kuya ganyan din po ba sa Vray for sketchup? Yung concept?
maq1226- CGP Newbie
- Number of posts : 150
Age : 35
Location : Imus,Cavite City
Registration date : 07/03/2010
Re: How to save V-ray light cache and irradiance map
maq1226 wrote:kuya ganyan din po ba sa Vray for sketchup? Yung concept?
naku maq, di ako sure..kasi di ako vray SU user.....sana may VRAY SU na sumagot sa tanung mo....
Norman- CGP Expert
- Number of posts : 3228
Registration date : 21/06/2009
Re: How to save V-ray light cache and irradiance map
maraming salamat sir...
jumach- CGP Apprentice
- Number of posts : 230
Age : 59
Location : Guiuan E. Samar
Registration date : 03/10/2008
Re: How to save V-ray light cache and irradiance map
salamat sa pagtangkilik sir jumach!!! sa uulitin.....
Norman- CGP Expert
- Number of posts : 3228
Registration date : 21/06/2009
Re: How to save V-ray light cache and irradiance map
thanks for this tutz master!!
nasagi ko ganitong tutorial sa net dati, di ko pinansin (panu naman kasi hirap ng explanation,hehe), laki pala ng gamit,hehe
thanks sir
nasagi ko ganitong tutorial sa net dati, di ko pinansin (panu naman kasi hirap ng explanation,hehe), laki pala ng gamit,hehe
thanks sir
keitzkoy- CGP Guru
- Number of posts : 1123
Age : 38
Location : qc diliman & pangasinan
Registration date : 27/03/2009
Re: How to save V-ray light cache and irradiance map
maraming salamat dito ser norman..laking tulong nito...guys you should try this one..
bgerodias- CGP Newbie
- Number of posts : 185
Age : 38
Location : San Pedro, Laguna
Registration date : 04/12/2009
Re: How to save V-ray light cache and irradiance map
keitzkoy wrote:thanks for this tutz master!!
nasagi ko ganitong tutorial sa net dati, di ko pinansin (panu naman kasi hirap ng explanation,hehe), laki pala ng gamit,hehe
thanks sir
yup bro, hirap nga explanation nila nito sa net. pero 1 best way to save rendering time ito and iwas crash ng PC. specially dun sa mga walkthru. kasi almost the same ang principle nito para ma save my yung lighting info. maka-cut mo din yung time specially.
sure bro.....sobrang makakatulong sa inyo yan bro....once nakuha mo ito im sure this will kick your rendering time goodbye.bgerodias wrote:maraming salamat dito ser norman..laking tulong nito...guys you should try this one..
Norman- CGP Expert
- Number of posts : 3228
Registration date : 21/06/2009
Re: How to save V-ray light cache and irradiance map
ser maraming salamat talaga...oks na...20 mins. 29 sec.; 1600x1200 frame buffer; and set up ko for a production rendering...matindi talaga.
bgerodias- CGP Newbie
- Number of posts : 185
Age : 38
Location : San Pedro, Laguna
Registration date : 04/12/2009
Re: How to save V-ray light cache and irradiance map
bgerodias wrote:ser maraming salamat talaga...oks na...20 mins. 29 sec.; 1600x1200 frame buffer; and set up ko for a production rendering...matindi talaga.
ayos pre...pm mo lang ako kung may question ka dude!!!!cheers
Norman- CGP Expert
- Number of posts : 3228
Registration date : 21/06/2009
Re: How to save V-ray light cache and irradiance map
yup sir maganda 'to..may nabasa ako na pwede rin magrender ng other views. ito sabi sir sa conclusion nalang kasi mahaba yun,hehe..
As a conclusion, here is a basic workflow that can be used to render a static scene from multiple views:
• First prepare the scene (geometry, materials, lighting etc)
• Adjust the irradiance map settings for the required level of detail (e.g. chose a suitable preset) and tune the other render parameters.
• Clear any previous irradiance map from memory in order to avoid weird results
• Set the irradiance map mode to Incremental add to current map
• Render as many views as you need. The first one will be slow, since a full irradiance map will be computed. Each of the next views will be faster depending on how relevant the memory irradiance map is to that view.
• You can save the accumulated irradiance map to a file. That map can be used to render quickly other views of the scene, if required later on. To load the saved map, you need to set the mode to From file, enter the correct file name and render any image. You can then set the mode back to Incremental add to current map and continue rendering other views. If you are sure the map already contains enough information, you can simply leave the mode to From file.
Note that if you make any changes in the scene (e.g. add/delete objects, change materials or lights etc) the irradiance map that is in memory will no longer be relevant to the scene and you will need to reset the irradiance map and start all over again.
natry ko dati 'to sir,step by step ko ginawa yung tutz dun and gumana naman..hehe
As a conclusion, here is a basic workflow that can be used to render a static scene from multiple views:
• First prepare the scene (geometry, materials, lighting etc)
• Adjust the irradiance map settings for the required level of detail (e.g. chose a suitable preset) and tune the other render parameters.
• Clear any previous irradiance map from memory in order to avoid weird results
• Set the irradiance map mode to Incremental add to current map
• Render as many views as you need. The first one will be slow, since a full irradiance map will be computed. Each of the next views will be faster depending on how relevant the memory irradiance map is to that view.
• You can save the accumulated irradiance map to a file. That map can be used to render quickly other views of the scene, if required later on. To load the saved map, you need to set the mode to From file, enter the correct file name and render any image. You can then set the mode back to Incremental add to current map and continue rendering other views. If you are sure the map already contains enough information, you can simply leave the mode to From file.
Note that if you make any changes in the scene (e.g. add/delete objects, change materials or lights etc) the irradiance map that is in memory will no longer be relevant to the scene and you will need to reset the irradiance map and start all over again.
natry ko dati 'to sir,step by step ko ginawa yung tutz dun and gumana naman..hehe
keitzkoy- CGP Guru
- Number of posts : 1123
Age : 38
Location : qc diliman & pangasinan
Registration date : 27/03/2009
Re: How to save V-ray light cache and irradiance map
f-fortyone wrote:maq1226 wrote:kuya ganyan din po ba sa Vray for sketchup? Yung concept?
naku maq, di ako sure..kasi di ako vray SU user.....sana may VRAY SU na sumagot sa tanung mo....
pwede dude... available to sa lahat ng vray plugs
@ norms - ok to dude.. very helpful
Re: How to save V-ray light cache and irradiance map
keitzkoy wrote:yup sir maganda 'to..may nabasa ako na pwede rin magrender ng other views. ito sabi sir sa conclusion nalang kasi mahaba yun,hehe..
As a conclusion, here is a basic workflow that can be used to render a static scene from multiple views:
• First prepare the scene (geometry, materials, lighting etc)
• Adjust the irradiance map settings for the required level of detail (e.g. chose a suitable preset) and tune the other render parameters.
• Clear any previous irradiance map from memory in order to avoid weird results
• Set the irradiance map mode to Incremental add to current map
• Render as many views as you need. The first one will be slow, since a full irradiance map will be computed. Each of the next views will be faster depending on how relevant the memory irradiance map is to that view.
• You can save the accumulated irradiance map to a file. That map can be used to render quickly other views of the scene, if required later on. To load the saved map, you need to set the mode to From file, enter the correct file name and render any image. You can then set the mode back to Incremental add to current map and continue rendering other views. If you are sure the map already contains enough information, you can simply leave the mode to From file.
Note that if you make any changes in the scene (e.g. add/delete objects, change materials or lights etc) the irradiance map that is in memory will no longer be relevant to the scene and you will need to reset the irradiance map and start all over again.
natry ko dati 'to sir,step by step ko ginawa yung tutz dun and gumana naman..hehe
tama yan pre pero considered yung work flow sa walkthru kasi "mutliframe incremental" map naman ang ginamit nya para sa irradiance map.
http://vray.us/vray_tutorials/vray_tutorial_irradiance_map2.shtml
check mo yung link same workflow pero sa walkthru naman yan.
Norman- CGP Expert
- Number of posts : 3228
Registration date : 21/06/2009
Re: How to save V-ray light cache and irradiance map
ERICK wrote:f-fortyone wrote:maq1226 wrote:kuya ganyan din po ba sa Vray for sketchup? Yung concept?
naku maq, di ako sure..kasi di ako vray SU user.....sana may VRAY SU na sumagot sa tanung mo....
pwede dude... available to sa lahat ng vray plugs
@ norms - ok to dude.. very helpful
thanks man!!!hehe...tumutulong lang!!
Norman- CGP Expert
- Number of posts : 3228
Registration date : 21/06/2009
Re: How to save V-ray light cache and irradiance map
@ keitzkoy
pansinin mo bago nag test render pwedeng "multiframe incremental" instead of "single frame" kung gusto mo ng multi camera angle. pero dapat may basic ka ng animation para mas maintindihan mo ang gagawin.
pansinin mo bago nag test render pwedeng "multiframe incremental" instead of "single frame" kung gusto mo ng multi camera angle. pero dapat may basic ka ng animation para mas maintindihan mo ang gagawin.
Norman- CGP Expert
- Number of posts : 3228
Registration date : 21/06/2009
Re: How to save V-ray light cache and irradiance map
thanks master sa link, malaking tulong 'to,lalo di pa ko nakatry magwalk-thru,heheh..thanks po sir!!
keitzkoy- CGP Guru
- Number of posts : 1123
Age : 38
Location : qc diliman & pangasinan
Registration date : 27/03/2009
Re: How to save V-ray light cache and irradiance map
keitzkoy wrote:thanks master sa link, malaking tulong 'to,lalo di pa ko nakatry magwalk-thru,heheh..thanks po sir!!
no problem dude!!
Norman- CGP Expert
- Number of posts : 3228
Registration date : 21/06/2009
Re: How to save V-ray light cache and irradiance map
sir f tanong k lng po, khit anong 3d file b ang nkabukas s paggawa ng setting n to?
bing1370- CGP Apprentice
- Number of posts : 575
Age : 54
Location : Ilocos Sur/Abu Dhabi, U.A.E.
Registration date : 20/04/2010
Re: How to save V-ray light cache and irradiance map
bing1370 wrote:sir f tanong k lng po, khit anong 3d file b ang nkabukas s paggawa ng setting n to?
medyo di ko po gets yung tanung nyo sir pero yes sir applicable po yan basta vray gamit mo my option yan sa irradiance saka light cache. hope tama po sagot ko sa tanung nyo.
Norman- CGP Expert
- Number of posts : 3228
Registration date : 21/06/2009
Re: How to save V-ray light cache and irradiance map
mga sir,
Nadrop by aku dito sa discussion na to.It's very good at very informative.. Curious lang ako kasi naitry ku cya.ginawan ku ng Comparison..
1st --Nagrender ako ng final scene using presets na medium sa irradiance map primary bounce at 1500 subd.(value for light cache-secondary bounce) matagal yung render time peru okey yun lighting nung scene .2nd--- Tapos triny ku pu naman gawin yung procedure na shinare ni sir f-fortyone.. bale kinompute ku muna yung irradiance sa very low presets and yung light cache sa low value..Tapos nagrender aku ng final scene...bale tinaasan ku na yung mga presets ng irr at light cache tsaka yung iba pang value. tapos naiload ku na din yung naisave kung computation. tapos sobrang bilis nung render time.. kaso yung kinompare ku na yung output nung 1st at 2nd method. parang mas okey yung lighting nung 1st.
Bale question ku sir.. panu ku ba pedi maabot yung same quality nung 1st render ku na medium preset(irradiance map) at 1500subdv(light cache)dun sa unang render ko kung icocompute ku yung irradiance map at light cache sa low values.. Ibig sabihen pu ba nun dapat icompute ku din cya sa mataas na value.. kasu sobrang tagal naman ng computation..
salamat mga sir.
more power sa cgpinoy.. at sa mga walang sawang pagtulong..
Nadrop by aku dito sa discussion na to.It's very good at very informative.. Curious lang ako kasi naitry ku cya.ginawan ku ng Comparison..
1st --Nagrender ako ng final scene using presets na medium sa irradiance map primary bounce at 1500 subd.(value for light cache-secondary bounce) matagal yung render time peru okey yun lighting nung scene .2nd--- Tapos triny ku pu naman gawin yung procedure na shinare ni sir f-fortyone.. bale kinompute ku muna yung irradiance sa very low presets and yung light cache sa low value..Tapos nagrender aku ng final scene...bale tinaasan ku na yung mga presets ng irr at light cache tsaka yung iba pang value. tapos naiload ku na din yung naisave kung computation. tapos sobrang bilis nung render time.. kaso yung kinompare ku na yung output nung 1st at 2nd method. parang mas okey yung lighting nung 1st.
Bale question ku sir.. panu ku ba pedi maabot yung same quality nung 1st render ku na medium preset(irradiance map) at 1500subdv(light cache)dun sa unang render ko kung icocompute ku yung irradiance map at light cache sa low values.. Ibig sabihen pu ba nun dapat icompute ku din cya sa mataas na value.. kasu sobrang tagal naman ng computation..
salamat mga sir.
more power sa cgpinoy.. at sa mga walang sawang pagtulong..
ekbi- CGP Newbie
- Number of posts : 14
Age : 40
Location : philippines
Registration date : 14/04/2009
Re: How to save V-ray light cache and irradiance map
ekbi wrote:mga sir,
Nadrop by aku dito sa discussion na to.It's very good at very informative.. Curious lang ako kasi naitry ku cya.ginawan ku ng Comparison..
1st --Nagrender ako ng final scene using presets na medium sa irradiance map primary bounce at 1500 subd.(value for light cache-secondary bounce) matagal yung render time peru okey yun lighting nung scene .2nd--- Tapos triny ku pu naman gawin yung procedure na shinare ni sir f-fortyone.. bale kinompute ku muna yung irradiance sa very low presets and yung light cache sa low value..Tapos nagrender aku ng final scene...bale tinaasan ku na yung mga presets ng irr at light cache tsaka yung iba pang value. tapos naiload ku na din yung naisave kung computation. tapos sobrang bilis nung render time.. kaso yung kinompare ku na yung output nung 1st at 2nd method. parang mas okey yung lighting nung 1st.
Bale question ku sir.. panu ku ba pedi maabot yung same quality nung 1st render ku na medium preset(irradiance map) at 1500subdv(light cache)dun sa unang render ko kung icocompute ku yung irradiance map at light cache sa low values.. Ibig sabihen pu ba nun dapat icompute ku din cya sa mataas na value.. kasu sobrang tagal naman ng computation..
salamat mga sir.
more power sa cgpinoy.. at sa mga walang sawang pagtulong..
post mo nga bro yung sample para makita ang difference nya pati na rin yung setting para makita ko setting mo.
Norman- CGP Expert
- Number of posts : 3228
Registration date : 21/06/2009
Re: How to save V-ray light cache and irradiance map
cge.. sir iprepare ku lang
tnx
tnx
ekbi- CGP Newbie
- Number of posts : 14
Age : 40
Location : philippines
Registration date : 14/04/2009
Re: How to save V-ray light cache and irradiance map
master f-41 thanks for this tips. still exploring max and vray kaya malaking tulong to.
Gunther_08- CGP Apprentice
- Number of posts : 324
Age : 40
Location : _ _ _ _
Registration date : 04/04/2009
Page 1 of 3 • 1, 2, 3
Similar topics
» how to save irradiance map and light cache in vray su
» light cache
» Saving Irradiance Map & Light Cache?
» building light cache error
» HELP: TEXTURE START TO DISAPPEAR AFTER BUILDING LIGHT CACHE
» light cache
» Saving Irradiance Map & Light Cache?
» building light cache error
» HELP: TEXTURE START TO DISAPPEAR AFTER BUILDING LIGHT CACHE
Page 1 of 3
Permissions in this forum:
You cannot reply to topics in this forum