<parameter name="base_vectors_length" value="1" />
<parameter name="marker_scale" value="3" />
<parameter name="geom_preview" value="true" />
- <parameter name="material" value="Plastic" />
+ <parameter name="material" value="[ Default ]" />
<parameter name="predef_materials" value="true" />
<parameter name="edge_width" value="1" />
<parameter name="isolines_width" value="1" />
qSort( slglobal );
qSort( sluser );
}
+ // special processing for default material (to make it first in the list)
+ if ( slglobal.contains( "[ Default ]" ) ) {
+ slglobal.removeAll( "[ Default ]" );
+ slglobal.prepend( "[ Default ]" );
+ }
// combine the materials to obtain result list
QStringList result;
<parameter name="emissive-color" value="#000000" />
<parameter name="transparency" value="0.0" />
</section>
+ <section name="[ Default ]">
+ <parameter name="physical" value="false" />
+ <parameter name="front_shininess" value="0.13" />
+ <parameter name="back_shininess" value="0.13" />
+ <parameter name="ambient" value="true" />
+ <parameter name="ambient-color" value="#333333" />
+ <parameter name="front_ambient-coefficient" value="0.3" />
+ <parameter name="back_ambient-coefficient" value="0.25" />
+ <parameter name="diffuse" value="true" />
+ <parameter name="diffuse-color" value="#000000" />
+ <parameter name="front_diffuse-coefficient" value="0.5" />
+ <parameter name="back_diffuse-coefficient" value="0.4" />
+ <parameter name="specular" value="true" />
+ <parameter name="specular-color" value="#ffffff" />
+ <parameter name="front_specular-coefficient" value="0.3" />
+ <parameter name="back_specular-coefficient" value="0.3" />
+ <parameter name="emissive" value="false" />
+ <parameter name="emissive-color" value="#000000" />
+ <parameter name="front_emissive-coefficient" value="0" />
+ <parameter name="back_emissive-coefficient" value="0" />
+ </section>
<section name="Plastic" >
<parameter name="front_shininess" value="0.0078" />
<parameter name="back_shininess" value="0.0078" />