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-15 20:01:02 +0300
committerAlejandro Conty Estevez <conty@yafray.org>2004-01-15 20:01:02 +0300
commit3b1b0f3ef54bfee14e1e547e9c91b5bbecf5d675 (patch)
tree34b7233245d7a6525d4f4c39fa8fa7c3f69f46bd /source/blender/yafray/intern
parentec4cccef617014130d39a0c08807a96c2167e514 (diff)
Gradient button is back and now there are controls to export bias and
raydepth to yafray. Plus some minor fixes
Diffstat (limited to 'source/blender/yafray/intern')
-rwxr-xr-xsource/blender/yafray/intern/export_File.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/yafray/intern/export_File.cpp b/source/blender/yafray/intern/export_File.cpp
index 5f46da8cfb9..04614efb2af 100755
--- a/source/blender/yafray/intern/export_File.cpp
+++ b/source/blender/yafray/intern/export_File.cpp
@@ -148,7 +148,7 @@ bool yafrayFileRender_t::writeRender()
// finally export render block
ostr.str("");
ostr << "<render camera_name=\"MAINCAM\"\n";
- ostr << "\traydepth=\"" << maxraydepth << "\" gamma=\"" << R.r.YF_gamma << "\" exposure=\"" << R.r.YF_exposure << "\"\n";
+ ostr << "\traydepth=\"" << R.r.YF_raydepth << "\" gamma=\"" << R.r.YF_gamma << "\" exposure=\"" << R.r.YF_exposure << "\"\n";
//if( (G.scene->world!=NULL) && (G.scene->world->GIquality>1) && ! G.scene->world->cache )
if ((R.r.GImethod!=0) && (R.r.GIquality>1) && (!R.r.GIcache))
@@ -164,7 +164,7 @@ bool yafrayFileRender_t::writeRender()
if (hasworld) ostr << "\tbackground_name=\"world_background\"\n";
- ostr << "\tAA_pixelwidth=\"1\" AA_threshold=\"0.05\" bias=\"0.001\" >\n";
+ ostr << "\tAA_pixelwidth=\"2\" AA_threshold=\"0.05\" bias=\""<<R.r.YF_raybias<<"\" >\n";
ostr << "\t<outfile value=\"" << imgout << "\" />\n";