the material import from .igm files works well, but it seems that roughness-tags are not imported into the scene, is that possible? (Indigo SDK 4.0.39)
I'm using the import code from the example file. Comparing the .igm and the result .igs files everything's there except the roughness block.
Here's the .igm file:
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<scenedata>
<material>
<name>vz_INT_leather_dakota</name>
<phong>
<diffuse_albedo>
<constant>
<rgb>
<rgb>0.6823529411764706 0.6745098039215687 0.6745098039215687</rgb>
<gamma>2.2</gamma>
</rgb>
</constant>
</diffuse_albedo>
<exponent>
<constant>5000</constant>
</exponent>
<roughness>
<texture>
<path>images\leather_dakota_bright.tif</path>
</texture>
</roughness>
<bump>
<texture>
<path>images\leather_dakota_dark.tif</path>
<b>0.001</b>
</texture>
</bump>
<fresnel_scale>
<constant>1</constant>
</fresnel_scale>
<ior>1.466</ior>
</phong>
</material>
</scenedata>
