Page 1 of 1
[REQ]UV Texture default value
Posted: Tue Jan 05, 2010 11:45 pm
by Doug Armand
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?
Re: [REQ]UV Texture default value
Posted: Wed Jan 06, 2010 12:17 am
by dougal2
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.
Re: [REQ]UV Texture default value
Posted: Wed Jan 06, 2010 1:52 am
by Doug Armand
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?
Re: [REQ]UV Texture default value
Posted: Wed Jan 06, 2010 3:13 am
by dougal2
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.
Re: [REQ]UV Texture default value
Posted: Wed Jan 06, 2010 4:18 am
by Doug Armand
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.