[REQ]UV Texture default value

Announcements, requests and support regarding the Blender Indigo export script
Post Reply
5 posts • Page 1 of 1
User avatar
Doug Armand
Indigo 100
Posts: 1038
Joined: Fri May 16, 2008 5:49 pm
Location: London UK

[REQ]UV Texture default value

Post by Doug Armand » Tue Jan 05, 2010 11:45 pm

Can we have the exporter automatically change/set the UV Texture name from UVTex to 'default' so it works in Indigo Material Editor without us manually having to do it each time in Blender?
Doug

Doug Armand

User avatar
dougal2
Developer
Posts: 2532
Joined: Wed Nov 15, 2006 8:17 am
Location: South London

Re: [REQ]UV Texture default value

Post by dougal2 » Wed Jan 06, 2010 12:17 am

in which cases exactly ?

what if there is more than 1 uv map on a mesh ?

It should be possible, but I need to make sure that it's implemented correctly.

User avatar
Doug Armand
Indigo 100
Posts: 1038
Joined: Fri May 16, 2008 5:49 pm
Location: London UK

Re: [REQ]UV Texture default value

Post by Doug Armand » Wed Jan 06, 2010 1:52 am

Well originally I wanted the Material Editor to be able to use a UV Set other than 'default' but that didn't go down too well - see this thread:
http://www.indigorenderer.com/forum/vie ... f=5&t=7776

But you make a good point - what about multiple UV Sets?
Doug

Doug Armand

User avatar
dougal2
Developer
Posts: 2532
Joined: Wed Nov 15, 2006 8:17 am
Location: South London

Re: [REQ]UV Texture default value

Post by dougal2 » Wed Jan 06, 2010 3:13 am

OK, probably the first step that can be taken is to replace the word 'UVTex' with 'default' whenever it is encountered, either in mesh export or material export.

This way:
- any mesh with a single UV map will be exported as 'default' by default (but still be called UVTex in blender)
- any custom-named UV sets (single, first, second or otherwise) will be preserved.

It's a bit 'voodoo' IMO but should mean that any indigo-format files will conform to indigo's standards.

User avatar
Doug Armand
Indigo 100
Posts: 1038
Joined: Fri May 16, 2008 5:49 pm
Location: London UK

Re: [REQ]UV Texture default value

Post by Doug Armand » Wed Jan 06, 2010 4:18 am

dougal2 wrote:OK, probably the first step that can be taken is to replace the word 'UVTex' with 'default' whenever it is encountered, either in mesh export or material export.

This way:
- any mesh with a single UV map will be exported as 'default' by default (but still be called UVTex in blender)
- any custom-named UV sets (single, first, second or otherwise) will be preserved.

It's a bit 'voodoo' IMO but should mean that any indigo-format files will conform to indigo's standards.
sounds like a good compromise - I like it.
Doug

Doug Armand

Post Reply
5 posts • Page 1 of 1

Who is online

Users browsing this forum: No registered users and 3 guests