Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlejandro Conty Estevez <conty@yafray.org>2004-01-14 19:03:06 +0300
committerAlejandro Conty Estevez <conty@yafray.org>2004-01-14 19:03:06 +0300
commitd217f86ed5c6f91aa5ea20847fd022c1ed2e2a94 (patch)
treeca00ec2c11c9309f837c0176995496012f73d30e /source/blender/yafray
parentc1a1ba93aefa2b80b3d301862ccae3e1055cfd71 (diff)
Just a bit of export values tunning. Should now work ok, with current
yafray CVS version using photons. Last image got: http://www.coala.uniovi.es/~jandro/noname/images/fromblender3.jpg which you can compare with old: http://www.coala.uniovi.es/~jandro/noname/images/causfromblender.jpg
Diffstat (limited to 'source/blender/yafray')
-rwxr-xr-xsource/blender/yafray/intern/export_File.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/yafray/intern/export_File.cpp b/source/blender/yafray/intern/export_File.cpp
index 13a7d6ff6c9..5f46da8cfb9 100755
--- a/source/blender/yafray/intern/export_File.cpp
+++ b/source/blender/yafray/intern/export_File.cpp
@@ -164,7 +164,7 @@ bool yafrayFileRender_t::writeRender()
if (hasworld) ostr << "\tbackground_name=\"world_background\"\n";
- ostr << "\tAA_pixelwidth=\"2\" AA_threshold=\"0.06\" bias=\"0.0001\" >\n";
+ ostr << "\tAA_pixelwidth=\"1\" AA_threshold=\"0.05\" bias=\"0.001\" >\n";
ostr << "\t<outfile value=\"" << imgout << "\" />\n";
@@ -1113,7 +1113,7 @@ void yafrayFileRender_t::writePathlight()
{
ostr << "<light type=\"globalphotonlight\" name=\"gpm\" photons=\""<<R.r.GIphotoncount<<"\""<<endl;
ostr << "\tradius=\"" <<R.r.GIphotonradius << "\" depth=\""<< ((R.r.GIdepth>2) ? (R.r.GIdepth-1) : 1)
- << "\" search=\""<< R.r.GImixphotons<<"\" >"<<endl;
+ << "\" caus_depth=\""<<R.r.GIcausdepth<< "\" search=\""<< R.r.GImixphotons<<"\" >"<<endl;
ostr << "</light>"<<endl;
}
ostr << "<light type=\"pathlight\" name=\"path_LT\" power=\"" << R.r.GIpower << "\" ";
@@ -1134,7 +1134,7 @@ void yafrayFileRender_t::writePathlight()
float sbase = 2.0*atan(0.5/(mainCamLens/(aspect*32.0)))/float(R.r.xsch);
ostr << " cache=\"on\" use_QMC=\"on\" \n";
ostr << " cache_size=\"" << sbase*R.r.GIpixelspersample << "\" shadow_threshold=\"" <<
- 1.0 - R.r.GIshadowquality << "\" search=\"85\" gradient=\"" <<
+ 1.0 - R.r.GIshadowquality << "\" grid=\"82\" search=\"35\" gradient=\"" <<
((R.r.GIgradient)? "on" : "off") << "\" >\n";
}
else