Hi, I've an error when import an external material.
For example I've found in material library a material called milk. I've create a file milk.igm :
<materialdata>
<medium>
<name>milk</name>
<precedence>9</precedence>
<basic>
<ior>1.33</ior>
<cauchy_b_coeff>0</cauchy_b_coeff>
<absorption_coefficient_spectrum>
<rgb>
<rgb>0.055 0.0656786 0.086</rgb>
</rgb>
</absorption_coefficient_spectrum>
<subsurface_scattering>
<scattering_coefficient_spectrum>
<rgb>
<rgb>500 580.001 800</rgb>
</rgb>
</scattering_coefficient_spectrum>
<phase_function>
<uniform/>
</phase_function>
</subsurface_scattering>
</basic>
</medium>
<material>
<name>materialShader</name>
<specular>
<transparent>true</transparent>
<internal_medium_name>milk</internal_medium_name>
</specular>
</material>
</materialdata>
When I export the scene there is a follows error in the picture.
Any Idea ?
Thanks
Blender 2.45 under Linux (wine)
Blendingo 1.0.1.
Error import .igm
Error import .igm
- Attachments
-
- errore.png (13.62 KiB) Viewed 2036 times
Yea I don't think materialdata tag was ever created in Indigo it was only sort of unofficially created in a forum thread.
Edit: Well I found the original IGM thread (in the Indigo News forum) and Radiance said it was official. But what I mean is that I don't think Indigo understands the materialdata tag. I may be wrong since I haven't worked with IGM in a number of months.
When you use an include you use scenedata tag that Suvakas showed above. And of course nothing but the material if you write it into the main scene file.
Edit: Well I found the original IGM thread (in the Indigo News forum) and Radiance said it was official. But what I mean is that I don't think Indigo understands the materialdata tag. I may be wrong since I haven't worked with IGM in a number of months.
When you use an include you use scenedata tag that Suvakas showed above. And of course nothing but the material if you write it into the main scene file.
Content contained in my posts is for informational purposes only and is used at your own risk.
Ok, thank I've changed <materialdata> with <scenedata> but there is another error.
Look the new picture.
Probably the structure of the material is changed fron the library to the current version of the script but I'm the only person who have this problem ?
Nobody use the external material ?
Thank
Look the new picture.
Probably the structure of the material is changed fron the library to the current version of the script but I'm the only person who have this problem ?
Nobody use the external material ?
Thank
- Attachments
-
- errore1.png (15.82 KiB) Viewed 2011 times
While helpful, the material library and IGM thing were created too early in the developement process and yes the structure of the materials has changed a little bit.
You will need a <gamma> tag in all of your <rgb> tags.
So for example:
You will need a <gamma> tag in all of your <rgb> tags.
So for example:
Code: Select all
<rgb>
<rgb>0.7 0.5 0.5</rgb>
<gamma>2.2</gamma>
</rgb>
Content contained in my posts is for informational purposes only and is used at your own risk.
Who is online
Users browsing this forum: No registered users and 24 guests
