Import .igm - roughness is missing

A forum for exporter development discussion.
Post Reply
4 posts • Page 1 of 1
Daniel
Posts: 13
Joined: Tue Mar 01, 2016 2:32 am
3D Software: Cinema 4D

Import .igm - roughness is missing

Post by Daniel » Wed Nov 09, 2016 1:15 am

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

User avatar
fused
Developer
Posts: 3648
Joined: Fri Sep 22, 2006 7:19 am
Location: Berlin, Germany
3D Software: Cinema 4D

Re: Import .igm - roughness is missing

Post by fused » Wed Nov 09, 2016 2:03 am

Yeah, that would have been a bug in the SDK at some point. Try the latest version :)

Daniel
Posts: 13
Joined: Tue Mar 01, 2016 2:32 am
3D Software: Cinema 4D

Re: Import .igm - roughness is missing

Post by Daniel » Tue Nov 15, 2016 12:23 am

Hey, Nick sent me the recent version the same day and now it works indeed :) thanks for the quick reply, awesome work!

Daniel
Posts: 13
Joined: Tue Mar 01, 2016 2:32 am
3D Software: Cinema 4D

Re: Import .igm - roughness is missing

Post by Daniel » Thu Nov 24, 2016 3:18 am

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

Post Reply
4 posts • Page 1 of 1

Who is online

Users browsing this forum: No registered users and 0 guests