error message I've never seen before ...
Re:
Ok, thx.seregost wrote:In a material you have textures that starts from index 1 instead index 0. If tou have an albedo map, a bump map and a specular map, them must have index 0,1,3.
I looked in the indigo mat file, tried to change the indexes where it's not 0,1,3, but got this error instead :
The mat file is like this, but I tried with albedo 0, bump 1, exponent 3, same error :
Code: Select all
<uv_set>uv</uv_set>
<exponent>2.200000</exponent>
<a>0</a>
<b>0.005</b>
<c>0</c>
</texture>
<diffuse_albedo>
<texture>
<texture_index>0</texture_index>
</texture>
</diffuse_albedo>
<exponent>
<texture>
<texture_index>1</texture_index>
</texture>
</exponent>
<bump>
<texture>
<texture_index>2</texture_index>
</texture>
</bump>
</phong>
</material>
thx
Re: Re:
can you post me the scene? i think i did no tests with shaders on multiple material mesh.delic wrote: What should I do to correct this, and why does blendigo export this ?
thx
Check normals, dude!
Re: error message I've never seen before ...
How many different textures you have there? Can't see it cause you only included the bottom part of the material. Those indexes are zero based and are referring to what texture file to use. Textures inside material are defined like this:
<texture>
path to your 1st texture file
</texture>
<texture>
path to your 2nd texture file
</texture>
etc..
And now when you want to use for example your 1st texture, then the counting starts from 0. (1st one defined = 0 , 2nd one = 1 and etc.) So to use 1st texture you have to use <texture_index>0</texture_index>. You can use it multiple times..like for albedo or bump or whatever. You always use texture_index 0 when you refer to that 1st texture.
That's the system
<texture>
path to your 1st texture file
</texture>
<texture>
path to your 2nd texture file
</texture>
etc..
And now when you want to use for example your 1st texture, then the counting starts from 0. (1st one defined = 0 , 2nd one = 1 and etc.) So to use 1st texture you have to use <texture_index>0</texture_index>. You can use it multiple times..like for albedo or bump or whatever. You always use texture_index 0 when you refer to that 1st texture.
That's the system
Re: error message I've never seen before ...
suvakas wrote:How many different textures you have there? Can't see it cause you only included the bottom part of the material. Those indexes are zero based and are referring to what texture file to use. Textures inside material are defined like this:
<texture>
path to your 1st texture file
</texture>
<texture>
path to your 2nd texture file
</texture>
etc..
And now when you want to use for example your 1st texture, then the counting starts from 0. (1st one defined = 0 , 2nd one = 1 and etc.) So to use 1st texture you have to use <texture_index>0</texture_index>. You can use it multiple times..like for albedo or bump or whatever. You always use texture_index 0 when you refer to that 1st texture.
That's the system
Aaaaaah, ok, textures only have different indexes if using a different image ?
Thx
I tried setting all indexes to 0, since I use the same image for albedo, bump and exponent, but it gives the same message as in the first post.
But if I remove the exponent map in blendigo, it goes through.
Re: error message I've never seen before ...
UV set is a different thing. It refers to the name of the UV coordinates of the model. You should use the same UV set name inside your texture definition and inside your model definition. It basically tells Indigo what UV coordinates to use for that particular texture. If the names are different, then you get an error cause Indigo can't find such coordinates from model. There obviously is a bug in Blendigo.
For now you could check out what's the name of your UV coords of your model and use that name inside your texture definition. (between the <uv_set> tags.)
For now you could check out what's the name of your UV coords of your model and use that name inside your texture definition. (between the <uv_set> tags.)
Re: error message I've never seen before ...
For uv's it's ok now, I set everything in blender and blendigo to "uv".
For the index pb, I sent the file to smartden, but the .blend is freaking, hope he'll not waste his time because a big mistake from me.
thx anyway.
For the index pb, I sent the file to smartden, but the .blend is freaking, hope he'll not waste his time because a big mistake from me.
thx anyway.
Re: error message I've never seen before ...
delic, i need your sofware versions.
Check normals, dude!
Re: error message I've never seen before ...
I use blendigo 1.1.14, and indigo 1.1.18.
And blender 2.48a x64, on XP64 !
And blender 2.48a x64, on XP64 !
Who is online
Users browsing this forum: No registered users and 55 guests