View previous topic :: View next topic |
Author |
Message |
SMcQ
Posts: 9
Joined: 30 Mar 2006
|
Posted: Thu Apr 26, 2007 8:08 pm Post subject: A way to create shading domains/regions in UVLayout? |
|
|
Has anyone figured out a way to assign materials in UVLayout for OBJ export? The only way I can do it is in my modeling app first (Carrara5) by detaching polygons and making them separate polymeshes, which really increases file size. I want to keep a single polymesh with multiple materials, and have each material fill the UV space.
Is there a way to designate shells as materials, and have each material occupy the UV square?
Thanks.
SMcQ |
|
Back to top |
|
 |
headus Site Admin

Posts: 2902
Joined: 24 Mar 2005
Location: Perth, Australia
|
Posted: Thu Apr 26, 2007 9:44 pm Post subject: |
|
|
Can you explain a bit more what you mean by "have each material fill the UV space"?
To answer to your question though, there's currently no way to assign materials in UVLayout. It is on the list though! Someone has also asked for UVLayout to recognize incoming material groups and pre-segment the mesh based on that.
Phil |
|
Back to top |
|
 |
moochie
Posts: 105
Joined: 13 Jul 2006
|
Posted: Fri Apr 27, 2007 10:29 am Post subject: |
|
|
I presume SMcQ means an auto-pack function, where each material zone is automatically allocated its own UV tile. |
|
Back to top |
|
 |
headus Site Admin

Posts: 2902
Joined: 24 Mar 2005
Location: Perth, Australia
|
Posted: Fri Apr 27, 2007 7:05 pm Post subject: |
|
|
Oh, of course, that makes sense! I'll keep it in mind when I work on the packing tool. |
|
Back to top |
|
 |
Lewi
Posts: 61
Joined: 14 Jul 2006
|
Posted: Sun Apr 29, 2007 4:00 am Post subject: |
|
|
I have always wondered about materials and obj files. Silo produces a .mtl file for materials on obj export. This doesn't appear to hold any texture co ord info. Is there some sort of grouping in the obj format for faces for areas of geom and their respective UV's ? Then the .mtl is just a guide to to the group. |
|
Back to top |
|
 |
headus Site Admin

Posts: 2902
Joined: 24 Mar 2005
Location: Perth, Australia
|
Posted: Sun Apr 29, 2007 5:26 pm Post subject: |
|
|
Yes, basically the OBJ indicates which faces belong to which shading/material groups, and the MTL actually defines what the groups look like (eg what color each one is).
Phil |
|
Back to top |
|
 |
|