Page 1 of 1

Import .igm - roughness is missing

Posted: Wed Nov 09, 2016 1:15 am
by Daniel
Hey guys,

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>
Thanks! :)

Re: Import .igm - roughness is missing

Posted: Wed Nov 09, 2016 2:03 am
by fused
Yeah, that would have been a bug in the SDK at some point. Try the latest version :)

Re: Import .igm - roughness is missing

Posted: Tue Nov 15, 2016 12:23 am
by Daniel
Hey, Nick sent me the recent version the same day and now it works indeed :) thanks for the quick reply, awesome work!

Re: Import .igm - roughness is missing

Posted: Thu Nov 24, 2016 3:18 am
by Daniel
It works now, great! My version was just two weeks old, seems to have changed just in-between :) anyway thanks for the help and fast reply (got the new SDK the same day)!