How to save V-ray light cache and irradiance map

Page 1 of 5 1, 2, 3, 4, 5  Next

View previous topic View next topic Go down

How to save V-ray light cache and irradiance map

Post by Norman on Thu Apr 22, 2010 2:51 pm

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


Last edited by f-fortyone on Sat May 29, 2010 1:40 am; edited 2 times in total

Norman
CGP Expert
CGP Expert

Number of posts: 2941
Age: 30
Location: Singapore
Registration date: 22/06/2009

View user profile http://www.normancaguiat.webs.com

Back to top Go down

Re: How to save V-ray light cache and irradiance map

Post by bokkins on Thu Apr 22, 2010 3:09 pm

astig bro! thanks for this! 2thumbsup

bokkins
Special Ops
Special Ops

Number of posts: 9405
Age: 33
Location: Cadiz, Iloilo, Quezon City
Registration date: 18/09/2008

View user profile Http://bokkins3d.blogspot.com/

Back to top Go down

Re: How to save V-ray light cache and irradiance map

Post by Norman on Thu Apr 22, 2010 3:13 pm

hehe your welcome sir boks!!!gusto kong maging sing generous nyo e...kahit sobrang hirap e-explain idol!!!

Norman
CGP Expert
CGP Expert

Number of posts: 2941
Age: 30
Location: Singapore
Registration date: 22/06/2009

View user profile http://www.normancaguiat.webs.com

Back to top Go down

Re: How to save V-ray light cache and irradiance map

Post by maq1226 on Thu Apr 22, 2010 3:32 pm

kuya ganyan din po ba sa Vray for sketchup? Yung concept?

maq1226
CGP Newbie
CGP Newbie

Number of posts: 142
Age: 23
Location: Imus,Cavite City
Registration date: 07/03/2010

View user profile

Back to top Go down

Re: How to save V-ray light cache and irradiance map

Post by Norman on Thu Apr 22, 2010 3:35 pm

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
CGP Expert

Number of posts: 2941
Age: 30
Location: Singapore
Registration date: 22/06/2009

View user profile http://www.normancaguiat.webs.com

Back to top Go down

Re: How to save V-ray light cache and irradiance map

Post by jumach on Fri Apr 23, 2010 2:02 am

maraming salamat sir... 2thumbsup

jumach
CGP Newbie
CGP Newbie

Number of posts: 185
Age: 47
Location: Guiuan E. Samar
Registration date: 03/10/2008

View user profile

Back to top Go down

Re: How to save V-ray light cache and irradiance map

Post by Norman on Fri Apr 23, 2010 2:53 am

salamat sa pagtangkilik sir jumach!!! sa uulitin.....

Norman
CGP Expert
CGP Expert

Number of posts: 2941
Age: 30
Location: Singapore
Registration date: 22/06/2009

View user profile http://www.normancaguiat.webs.com

Back to top Go down

Re: How to save V-ray light cache and irradiance map

Post by keitzkoy on Fri Apr 23, 2010 3:17 am

thanks for this tutz master!! 2thumbsup

nasagi ko ganitong tutorial sa net dati, di ko pinansin (panu naman kasi hirap ng explanation,hehe), laki pala ng gamit,hehe

thanks sir buttrock

keitzkoy
CGP Guru
CGP Guru

Number of posts: 1123
Age: 25
Location: qc diliman & pangasinan
Registration date: 27/03/2009

View user profile

Back to top Go down

Re: How to save V-ray light cache and irradiance map

Post by bgerodias on Fri Apr 23, 2010 3:29 am

maraming salamat dito ser norman..laking tulong nito...guys you should try this one.. thumbsup

bgerodias
CGP Newbie
CGP Newbie

Number of posts: 185
Age: 26
Location: San Pedro, Laguna
Registration date: 04/12/2009

View user profile

Back to top Go down

Re: How to save V-ray light cache and irradiance map

Post by Norman on Fri Apr 23, 2010 3:42 am

keitzkoy wrote:thanks for this tutz master!! 2thumbsup

nasagi ko ganitong tutorial sa net dati, di ko pinansin (panu naman kasi hirap ng explanation,hehe), laki pala ng gamit,hehe

thanks sir buttrock


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.

bgerodias wrote:maraming salamat dito ser norman..laking tulong nito...guys you should try this one.. thumbsup

sure bro.....sobrang makakatulong sa inyo yan bro....once nakuha mo ito im sure this will kick your rendering time goodbye.

Norman
CGP Expert
CGP Expert

Number of posts: 2941
Age: 30
Location: Singapore
Registration date: 22/06/2009

View user profile http://www.normancaguiat.webs.com

Back to top Go down

Re: How to save V-ray light cache and irradiance map

Post by bgerodias on Fri Apr 23, 2010 3:45 am

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
CGP Newbie

Number of posts: 185
Age: 26
Location: San Pedro, Laguna
Registration date: 04/12/2009

View user profile

Back to top Go down

Re: How to save V-ray light cache and irradiance map

Post by Norman on Fri Apr 23, 2010 3:49 am

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 2thumbsup

Norman
CGP Expert
CGP Expert

Number of posts: 2941
Age: 30
Location: Singapore
Registration date: 22/06/2009

View user profile http://www.normancaguiat.webs.com

Back to top Go down

Re: How to save V-ray light cache and irradiance map

Post by keitzkoy on Fri Apr 23, 2010 3:51 am

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

keitzkoy
CGP Guru
CGP Guru

Number of posts: 1123
Age: 25
Location: qc diliman & pangasinan
Registration date: 27/03/2009

View user profile

Back to top Go down

Re: How to save V-ray light cache and irradiance map

Post by ERICK on Fri Apr 23, 2010 4:48 am

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

ERICK
CGP Dark Horse
CGP Dark Horse

Number of posts: 3791
Age: 31
Location: Makati, Philippines
Registration date: 19/09/2008

View user profile http://www.ericktorio.blogspot.com http://www.ericktorio.sosblog.com

Back to top Go down

Re: How to save V-ray light cache and irradiance map

Post by Norman on Fri Apr 23, 2010 5:14 am

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
CGP Expert

Number of posts: 2941
Age: 30
Location: Singapore
Registration date: 22/06/2009

View user profile http://www.normancaguiat.webs.com

Back to top Go down

Page 1 of 5 1, 2, 3, 4, 5  Next

View previous topic View next topic Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum