Another sss piece
Posted: Sat Jan 13, 2007 2:55 pm
I spent the last night with indigo_07
Here is the first result:

Here is the first result:



Code: Select all
<medium>
<name>rubber</name>
<ior>1.0</ior>
<cauchy_b_coeff>0.0</cauchy_b_coeff>
<absorption_coefficient_spectrum>
<rgb>
<rgb>0 2 10</rgb>
</rgb>
</absorption_coefficient_spectrum>
<precedence>20</precedence>
<subsurface_scattering>
<scattering_coefficient_spectrum>
<rgb>
<rgb>2 12 1</rgb>
</rgb>
</scattering_coefficient_spectrum>
<phase_function>
<uniform><value>4</value></uniform>
</phase_function>
</subsurface_scattering>
</medium>
<material>
<name>green</name>
<specular>
<transparent>true</transparent>
<internal_medium_name>rubber</internal_medium_name>
</specular>
</material>
Code: Select all
<medium>
<name>rubber</name>
<ior>1.2</ior>
<cauchy_b_coeff>0.0</cauchy_b_coeff>
<absorption_coefficient_spectrum>
<rgb>
<rgb>0 0.45 0.5</rgb>
</rgb>
</absorption_coefficient_spectrum>
<precedence>10</precedence>
<subsurface_scattering>
<scattering_coefficient_spectrum>
<rgb>
<rgb>0.1 0.5 5</rgb>
</rgb>
</scattering_coefficient_spectrum>
<phase_function>
<uniform><value>40</value></uniform>
</phase_function>
</subsurface_scattering>
</medium>
<material>
<name>green</name>
<specular>
<transparent>true</transparent>
<internal_medium_name>rubber</internal_medium_name>
</specular>
</material>What does "value" do in the phase function?Bandar wrote:Code: Select all
... <phase_function> <uniform><value>40</value></uniform> </phase_function> ...