Material Database

View Source

<?xml version="1.0"?>
<scenedata>
	<medium>
		<name>Material Medium</name>
		<precedence>10</precedence>
		<basic>
			<ior>1.3</ior>
			<cauchy_b_coeff>0.1</cauchy_b_coeff>
			<max_extinction_coeff>0.1</max_extinction_coeff>
			<absorption_coefficient>
				<constant>
					<uniform>
						<value>0</value>
					</uniform>
				</constant>
			</absorption_coefficient>
			<subsurface_scattering>
				<scattering_coefficient>
					<constant>
						<regular_tabulated>
							<start_wavelength>3e-7</start_wavelength>
							<end_wavelength>7e-7</end_wavelength>
							<num_values>2</num_values>
							<values>0.5 0.5 </values>
						</regular_tabulated>
					</constant>
				</scattering_coefficient>
				<phase_function>
					<uniform />
				</phase_function>
			</subsurface_scattering>
		</basic>
	</medium>
	<material>
		<name>transparent_marble</name>
		<glossy_transparent>
			<internal_medium_name>Material Medium</internal_medium_name>
			<exponent>
				<constant>1000</constant>
			</exponent>
			<absorption_layer_transmittance>
				<texture>
					<path>marble_stone.jpg</path>
					<exponent>2.2</exponent>
				</texture>
			</absorption_layer_transmittance>
		</glossy_transparent>
	</material>
	<material>
		<name>base_marble</name>
		<phong>
			<diffuse_albedo>
				<texture>
					<path>marble_stone.jpg</path>
					<exponent>2.2</exponent>
				</texture>
			</diffuse_albedo>
			<exponent>
				<constant>500</constant>
			</exponent>
			<fresnel_scale>
				<constant>1</constant>
			</fresnel_scale>
			<ior>1.486</ior>
			<nk_data />
		</phong>
	</material>
	<material>
		<name>marble_blend</name>
		<blend>
			<a_name>transparent_marble</a_name>
			<b_name>base_marble</b_name>
			<blend>
				<texture>
					<path>marble_stone.jpg</path>
					<exponent>2.2</exponent>
				</texture>
			</blend>
			<step_blend>false</step_blend>
		</blend>
	</material>
	<material>
		<name>Marble</name>
		<coating>
			<absorption>
				<texture>
					<path>marble_stone.jpg</path>
					<exponent>2.2</exponent>
				</texture>
			</absorption>
			<thickness>
				<constant>0.000003</constant>
			</thickness>
			<roughness>
				<constant>0.35</constant>
			</roughness>
			<bump>
				<texture>
					<path>scratchtexture-31.jpg</path>
					<b>-0.00031</b>
					<exponent>2.2</exponent>
					<tex_coord_generation>
						<uv>
							<matrix>3 0 0 3</matrix>
							<translation>0 0</translation>
						</uv>
					</tex_coord_generation>
				</texture>
			</bump>
			<displacement>
				<constant>
					-0.0002
				</constant>
			</displacement>
			<fresnel_scale>
				<constant>0.95</constant>
			</fresnel_scale>
			<ior>1.25</ior>
			<interference>true</interference>
			<substrate_material_name>marble_blend</substrate_material_name>
		</coating>
	</material>
</scenedata>

-->