Found unexpected element 'specular_reflectivity' in element
Found unexpected element 'specular_reflectivity' in element
Hi, when I use the following material, I get this error:
Fatal Error: IndigoDriverExcep: SceneLoaderExcep: Found unexpected element 'specular_reflectivity' in element 'phong'
What is wrong?
Thanks
<material>
<name>Material_16</name>
<phong>
<specular_reflectivity>
<constant>
<rgb>
<rgb>0.3 0.3 0.3</rgb>
<gamma>2.2</gamma>
</rgb>
</constant>
</specular_reflectivity>
<exponent>3000</exponent>
<fresnel_scale>1</fresnel_scale>
</phong>
</material>
Fatal Error: IndigoDriverExcep: SceneLoaderExcep: Found unexpected element 'specular_reflectivity' in element 'phong'
What is wrong?
Thanks
<material>
<name>Material_16</name>
<phong>
<specular_reflectivity>
<constant>
<rgb>
<rgb>0.3 0.3 0.3</rgb>
<gamma>2.2</gamma>
</rgb>
</constant>
</specular_reflectivity>
<exponent>3000</exponent>
<fresnel_scale>1</fresnel_scale>
</phong>
</material>
which exporter do you use?
looks like its mixing up old and new style mats. the ior is missing, too.
i think correct is:
looks like its mixing up old and new style mats. the ior is missing, too.
i think correct is:
Code: Select all
<material>
<name>Material_16</name>
<phong>
<ior>1.35</ior>
<specular_reflectivity>
<constant>
<rgb>
<rgb>0.3 0.3 0.3</rgb>
<gamma>2.2</gamma>
</rgb>
</constant>
</specular_reflectivity>
<exponent>
<constant>62.5</constant>
</exponent>
</phong>
</material>
- PureSpider
- Posts: 1459
- Joined: Tue Apr 08, 2008 9:37 am
- Location: Karlsruhe, BW, Germany
- Contact:
-
- Posts: 47
- Joined: Fri Jan 12, 2007 1:49 am
Re: Found unexpected element 'specular_reflectivity' in element
Fixed my exporter !
...after so may years...
Bye
Antonio
...after so may years...
Bye
Antonio
Code: Select all
<material> <!-- IgsMaterialType : "IgsSpecular" -->
<name>Material_50_Reflectivity</name>
<phong>
<specular_reflectivity>
<constant>
<rgb>
<rgb>1 1 1</rgb>
<gamma>2.2</gamma>
</rgb>
</constant>
</specular_reflectivity>
<exponent>
<constant>990040</constant>
</exponent>
<texture>
<!-- TextureMap[0] : "Mappa riflessi ambientali" -->
<uv_set>default</uv_set>
<path>.\CUCINA BRICCOLA 2\PALOALTO_GRAY_ALPHA1.bmp</path>
<exponent>2.2</exponent>
<b>1</b>
<c>0</c>
</texture>
<diffuse_albedo>
<constant>
<rgb>
<rgb>1 1 1</rgb>
<gamma>2.2</gamma>
</rgb>
</constant>
</diffuse_albedo>
<ior>1.820000</ior>
<exponent><constant>990040</constant></exponent>
<fresnel_scale>0.900000</fresnel_scale>
</phong>
</material>
<material>
<name>Material_50</name>
<blend>
<a_name>Material_50_Specular</a_name>
<b_name>Material_50_Reflectivity</b_name>
<blend>
<constant>0.640000</constant>
</blend>
<step_blend>false</step_blend>
</blend>
</material>
Who is online
Users browsing this forum: No registered users and 52 guests