I have been playing around with Sketchup/Skindigo recently purely because I found out that you can do this with that combo so we know it can be done

Would be so helpful in setting up realistic outdoor scenes.
Not very well, I had to download an older version of Indigo (1.1.18) to get the old example scene background_material_test.igs and I also found a forum thread explaining the <sum> material.galinette wrote:Hello,
Is the XML code for adding two environments (sun+envmap) documented somewhere?
Etienne
Code: Select all
<material>
<name>background_exr_A</name>
<diffuse>
<texture>
<path>E:\RenderStuff\HDR\Dosch Industrial 2\EXR-SX\INDREF-001SX.exr</path>
<exponent>1.0</exponent>
<tex_coord_generation>
<spherical>
<rotation>
<axis_rotation>
<axis>0 0 1</axis>
<angle>1.6</angle>
</axis_rotation>
</rotation>
</spherical>
</tex_coord_generation>
</texture>
<base_emission>
<constant>
<uniform><value>1.0</value></uniform>
</constant>
</base_emission>
<emission>
<texture>
<texture_index>0</texture_index>
</texture>
</emission>
<layer>0</layer>
</diffuse>
</material>
<material>
<name>SunShapeA</name>
<sunsky>
<sundir>-0.5 -0.5 0.7071067812</sundir>
<turbidity>2</turbidity>
<sun_layer>1</sun_layer>
<sky_layer>2</sky_layer>
</sunsky>
</material>
<material>
<name>BGConst</name>
<diffuse>
<albedo_spectrum>
<uniform><value>0</value></uniform>
</albedo_spectrum>
<base_emission>
<constant>
<rgb>
<rgb>0.8 0.2 0.8</rgb>
<gamma>1.0</gamma>
</rgb>
</constant>
</base_emission>
<layer>3</layer>
</diffuse>
</material>
<background_settings>
<background_material>
<material>
<name>background_material</name>
<sum>
<mat>
<mat_name>background_exr_A</mat_name>
<weight><constant>1</constant></weight>
</mat>
<mat>
<mat_name>SunShapeA</mat_name>
<weight><constant>1</constant></weight>
</mat>
<mat>
<mat_name>BGConst</mat_name>
<weight><constant>1</constant></weight>
</mat>
</sum>
</material>
</background_material>
</background_settings>
Users browsing this forum: No registered users and 3 guests