[Bf-blender-cvs] [ae3f577] master: Cycles Standalone: Volume integrator settings.

Thomas Dinges noreply at git.blender.org
Tue Jan 21 20:57:04 CET 2014


Commit: ae3f577ac18acf22ee2dafd939b6e121fd220c1f
Author: Thomas Dinges
Date:   Tue Jan 21 20:56:29 2014 +0100
https://developer.blender.org/rBae3f577ac18acf22ee2dafd939b6e121fd220c1f

Cycles Standalone: Volume integrator settings.

===================================================================

M	intern/cycles/app/cycles_xml.cpp

===================================================================

diff --git a/intern/cycles/app/cycles_xml.cpp b/intern/cycles/app/cycles_xml.cpp
index 8994afc..e6e047a 100644
--- a/intern/cycles/app/cycles_xml.cpp
+++ b/intern/cycles/app/cycles_xml.cpp
@@ -283,6 +283,10 @@ static void xml_read_integrator(const XMLReadState& state, pugi::xml_node node)
 	xml_read_int(&integrator->transparent_max_bounce, node, "transparent_max_bounce");
 	xml_read_bool(&integrator->transparent_shadows, node, "transparent_shadows");
 	
+	/* Volume */
+	xml_read_float(&integrator->volume_step_size, node, "volume_step_size");
+	xml_read_int(&integrator->volume_max_steps, node, "volume_max_steps");
+	
 	/* Various Settings */
 	xml_read_bool(&integrator->no_caustics, node, "no_caustics");
 	xml_read_float(&integrator->filter_glossy, node, "filter_glossy");




More information about the Bf-blender-cvs mailing list