Page 1 of 1
crash when render with this material
Posted: Tue Jan 16, 2007 6:45 am
by mchannemann
crash when render with this material:
<material>
<name>Default</name>
<diffuse>
<colour>0.8 0.8 0.8</colour>
<albedo_texture>
<uv_set>albedo_uv</uv_set>
<path>Floor_Colour.jpg</path>
<exponent>2.2</exponent>
</albedo_texture>
<bump_map>
<uv_set>bump_uv</uv_set>
<path>Floor_Specular.jpg</path>
<b>0.0001</b>
<exponent>1.0</exponent>
</bump_map>
</diffuse>
</material
any idea??
Thor
Posted: Tue Jan 16, 2007 7:18 pm
by Wedge
By looking at the code and not really studying, your last tag is not closed off:
</material> (maybe just a typo when you posted the code?)
If that was a typo when posting the code, I have studied the blender exporter to see that:
Update 2: Zuegs has brought it to my attention that gain tags for textures were removed from indigo 07. It looks like I overlooked that update from Nicks changelog. So ignore this information. Thanks
-right above exponent lies a <gain> </gain> tag (I don't see this tag in your code and it applies to both albedo and bump)
-No idea what the <b>0.0001</b> is for....in the exporter I'm looking at this line does not exist but instead shows the <gain> </gain> tag that I listed right above.
I'm looking at the blender exporter so my post might not apply to non blender information.
If none of this applies it might help others users if you give more information about your 3d program, exporter used, and version of indigo used.
Update: Also, not sure how it is for other people, but I must put my xml and textures in the same folder as the indigo.exe
Posted: Tue Jan 16, 2007 10:27 pm
by 8bstudio
Wedge:
1) <gain> </gain> tag to albedo doesn't exist in Indigo 0.7
2) <b>0.0001</b> tag is factor for bump (meter units I think)
mchannemann:
crashes because as Wedge said the tag material isn't closed with ">"... maybe!!
Posted: Mon Jan 22, 2007 9:27 pm
by Wedge
Thanks 8bstudio for the info! I am still trying to understand the new tags in the manual.
