Hello,
I would like to know how to use the HDRI support of yafray in blender 2.32. Is it possible ?
Thanks
Rémi
Hello,
I would like to know how to use the HDRI support of yafray in blender 2.32. Is it possible ?
Thanks
Rémi
do you know the proceedure outside of blender? I just edit the xml file after the fact. if you need I can tell you how i do it.
No I don’t know this procedure. Please tell me !!!
Thanks
Rémi
you have to go to the command line to do it. when you out put an image with yafray as the renderer you also output a xml file. open up your xml file in a simple text editor go to the bottom of the file and you will see a line the looks like.
<background type=“constant” name=“world_background” >
<color r=“0.707493” g=“0.752653” b=“0.886008” />
</background>
you have to replace this with (or some other hdr file)
<background type = “HDRI” name = “envhdri” exposure_adjust = “0”>
<filename value = “C:\hdr\kitchen.hdr” />
</background>
and then at the absolute bottom make sure the background name is correct. I would recommend if you are using hemi light to up it past the 128 samples of “best” in blender I use 400 but play around. (hemi is skydome) look above background for your hemilight
<render camera_name = “Camera” AA_passes = “2” AA_minsamples = “2” AA_pixelwidth = “1.500000” AA_threshold = “0.040000”
raydepth = “5” bias = “0.300000” gamma = “1.000000” exposure = “0.000000” background_name=“envhdri” >
<outfile value=“C:\yafray\glass\glass.tga”/>
after all of this go to the command line and go to the yafray folder (cd c:\yafray or where ever you put yafray) and type in yafray and the xml file location hit enter and the go about your life because it will take a while, like go to bed, get up, go to work, come home and take a look at your pic.
yafray website is filled with information the forum is good and the documentation is also good.
bookmark