error message I've never seen before ...

Announcements, requests and support regarding the Blender Indigo export script
Post Reply
10 posts • Page 1 of 1
User avatar
delic
Posts: 116
Joined: Sun Sep 10, 2006 4:11 am
Location: Lausanne, switzerland .

error message I've never seen before ...

Post by delic » Sat Mar 14, 2009 12:17 am

Image
[/img]

Any idea ?

How do I see in blender which UV index blendigo will export ?

thx

User avatar
seregost
Posts: 26
Joined: Thu Jan 11, 2007 7:54 pm

Post by seregost » Sat Mar 14, 2009 12:36 am

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.

User avatar
delic
Posts: 116
Joined: Sun Sep 10, 2006 4:11 am
Location: Lausanne, switzerland .

Re:

Post by delic » Mon Apr 20, 2009 8:33 pm

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.
Ok, thx.

I looked in the indigo mat file, tried to change the indexes where it's not 0,1,3, but got this error instead :

Image

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>
What should I do to correct this, and why does blendigo export this ?

thx

User avatar
SmartDen
Developer
Posts: 999
Joined: Fri Oct 13, 2006 10:58 pm
Location: Canary Islands
Contact:

Re: Re:

Post by SmartDen » Mon Apr 20, 2009 8:41 pm

delic wrote: What should I do to correct this, and why does blendigo export this ?

thx
can you post me the scene? i think i did no tests with shaders on multiple material mesh.
Check normals, dude!

Image
Image

User avatar
suvakas
3rd Place Winner
Posts: 2613
Joined: Mon Sep 04, 2006 11:08 pm
Location: Estonia
Contact:

Re: error message I've never seen before ...

Post by suvakas » Mon Apr 20, 2009 8:47 pm

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 :wink:

User avatar
delic
Posts: 116
Joined: Sun Sep 10, 2006 4:11 am
Location: Lausanne, switzerland .

Re: error message I've never seen before ...

Post by delic » Mon Apr 20, 2009 9:32 pm

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 :wink:

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.

User avatar
suvakas
3rd Place Winner
Posts: 2613
Joined: Mon Sep 04, 2006 11:08 pm
Location: Estonia
Contact:

Re: error message I've never seen before ...

Post by suvakas » Mon Apr 20, 2009 10:04 pm

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.)

User avatar
delic
Posts: 116
Joined: Sun Sep 10, 2006 4:11 am
Location: Lausanne, switzerland .

Re: error message I've never seen before ...

Post by delic » Mon Apr 20, 2009 11:35 pm

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. :oops:

thx anyway.

User avatar
SmartDen
Developer
Posts: 999
Joined: Fri Oct 13, 2006 10:58 pm
Location: Canary Islands
Contact:

Re: error message I've never seen before ...

Post by SmartDen » Mon Apr 20, 2009 11:37 pm

delic, i need your sofware versions.
Check normals, dude!

Image
Image

User avatar
delic
Posts: 116
Joined: Sun Sep 10, 2006 4:11 am
Location: Lausanne, switzerland .

Re: error message I've never seen before ...

Post by delic » Mon Apr 20, 2009 11:48 pm

I use blendigo 1.1.14, and indigo 1.1.18.

And blender 2.48a x64, on XP64 !

Post Reply
10 posts • Page 1 of 1

Who is online

Users browsing this forum: Bing [Bot] and 9 guests