Page 2 of 2

Re: Coated glass models - SGG/Glare development

Posted: Tue Mar 13, 2012 11:50 pm
by CTZn
saint-gobain-glass wrote:A small drawing is always better than a long speech!
Image
Green = SGG Planilux (raw glass) material
Red = SKN 165 (coated glass) material
My mistake, there is only one pane with a coated side as I can tell now :)

Regarding the license as I understood it, the clauses 3 and 5 iirc would prevent me to extract (modify) the relevant data from the (p)igm files (software), and distribute integer parts as Maya presets. Thanks for your concern Mr !

Re: Coated glass models - SGG/Glare development

Posted: Wed Mar 14, 2012 2:21 am
by zeitmeister
Hm.

Looking into the IGS-file I can't make out any duplicities...
maybe you can tell me exactly what I have to delete here?

Code: Select all

 <material>
        <name>defaultMat</name>
        <diffuse>
            <albedo>
                <constant>
                    <rgb>
                        <rgb>0.800000 0.800000 0.800000</rgb>
                        <gamma>2.200000</gamma>
                    </rgb>
                </constant>
            </albedo>
        </diffuse>
    </material>
    <material>
        <name>nullMat</name>
        <null_material />
    </material>
    <medium>
        <name>Medsgg-cool-lite-skn165_mid0</name>
        <precedence>10</precedence>
        <basic>
            <ior>1.525630</ior>
            <cauchy_b_coeff>0.004247</cauchy_b_coeff>
            <absorption_coefficient_spectrum>
                <regular_tabulated>
                    <start_wavelength>3.8E-07</start_wavelength>
                    <end_wavelength>7.8E-07</end_wavelength>
                    <num_values>401</num_values>
                    <values>1.393E+01 1.338E+01 1.284E+01 1.229E+01 1.175E+01 1.121E+01 1.065E+01 …</values>
                </regular_tabulated>
            </absorption_coefficient_spectrum>
        </basic>
    </medium>
    <material>
        <name>sgg-cool-lite-skn165_mid0</name>
        <specular>
            <internal_medium_name>Medsgg-cool-lite-skn165_mid0</internal_medium_name>
            <transparent>true</transparent>
        </specular>
    </material>
    <medium>
        <name>Medsgg-pplanilux_mid1</name>
        <precedence>10</precedence>
        <basic>
            <ior>1.510891</ior>
            <cauchy_b_coeff>0.004247</cauchy_b_coeff>
            <absorption_coefficient_spectrum>
                <regular_tabulated>
                    <start_wavelength>3.8E-07</start_wavelength>
                    <end_wavelength>7.8E-07</end_wavelength>
                    <num_values>401</num_values>
                    <values>1.393E+01 1.338E+01 1.284E+01 1.229E+01 1.175E+01 1.121E+01 1.065E+01 …</values>
                </regular_tabulated>
            </absorption_coefficient_spectrum>
        </basic>
    </medium>
    <material>
        <name>sgg-pplanilux_mid1</name>
        <specular>
            <internal_medium_name>Medsgg-pplanilux_mid1</internal_medium_name>
            <transparent>true</transparent>
        </specular>
    </material>
Thank you very much in advance!!!

Re: Coated glass models - SGG/Glare development

Posted: Wed Mar 14, 2012 4:15 am
by CTZn
Mmmh the essential bit was stripped there, probably because C4D ignored the unknown (unexpected) tag of interest. Too bad because in the other hand it resolved the name conflict by itself...

Do you have the option to link to materials instead of importing them ? The situation should be different then. Link to copies of the IGM's if you can, since you are going to hand-edit one at least.

If you can not link to materials in C4D then you are in deeper troubles, you should then:

- copy the content of each IGM in place of the imported bits into the IGS,
- replace the pasted names (4, including two identical ones) with the ones shipping in the original IGS so mesh will find the materials they reference.

Roughly.

Re: Coated glass models - SGG/Glare development

Posted: Wed Mar 14, 2012 9:20 pm
by saint-gobain-glass
Yes, it seems that exporters are not able to cope with unknown tags currently. Only way would be using linked igm at the moment.

CTZn : If I upload a igm file with no medium, would it be ok? That's actually a simple solution

Etienne

Re: Coated glass models - SGG/Glare development

Posted: Thu Mar 15, 2012 12:45 am
by CTZn
saint-gobain-glass wrote:CTZn : If I upload a igm file with no medium, would it be ok? That's actually a simple solution

Etienne
Mmmh now I believe that my request was hasty.

A sole specular in IGM format would be more trouble because while MtI does link to (include) external files it does not import them as parametric nodes currently. Presets in Maya are applied to Maya nodes using Maya's Embedded Language, requiring the migration of the private data as a string.

The current solution is the best to preserve the products definitions as provided by SGG. Perhaps an alternative will exist in the future, meanwhile we should wait for Glare's fix for the "medium defined twice" issue.

Thank you for your concern Etienne, please pardon my little mind ! I should have referred to Glare in the first place.

Re: Coated glass models - SGG/Glare development

Posted: Wed Mar 21, 2012 12:39 am
by saint-gobain-glass
New material posted : Cool-Lite ST 150
http://www.indigorenderer.com/materials/materials/1070

This is a more simple coating for solar control in buildings. It has no thermal insulation functions, but provides shading and can be used in single glazing units, provided it is not on the outside of the building.

To model it, make a glass sheet (thickness 6 to 10mm). Apply the material "Planilux" to all faces, except the inner one, where this coated material is applied.

Currently, Indigo does not accept medium redefinition (the glass may render black or improperly). This means, you need to delete the "medium" in the igm file of the coated material until this is fixed.

Two example images below:
ST150-street.jpg
ST150-close.jpg

Best regards,

Etienne

Re: Coated glass models - SGG/Glare development

Posted: Wed Mar 21, 2012 1:19 am
by saint-gobain-glass
This is a fun material tested with the coated glass model:
http://www.indigorenderer.com/materials/materials/1071

Image

No restrictions on this one!

Etienne

Re: Coated glass models - SGG/Glare development

Posted: Wed Mar 21, 2012 1:33 am
by CTZn
Niiice ! I want to make a preset out of this one.