View previous topic :: View next topic |
Author |
Message |
BigErn

Posts: 20
Joined: 06 Nov 2007
Location: Perth, Australia
|
Posted: Wed Nov 05, 2008 8:33 pm Post subject: Unusable Obj Output out of UVlayout |
|
|
Hey Phil, I have to do a lot of objects with multi UV. The problem is I need to get them into 3dsMax in the end, so what I have been doing is texturing one object, when its done dupe it, reUV for a lightmap (2nd uv channel in 3ds.)
The problem seems to be pretty common now that I dupe the object, send to Layout.. uv.. send back and get this error........
// WestStand_AO //
// Error: More than one object matches name: polySurfaceShape387 //
// Error: Cannot use data of type no type in a scalar operation. //
this causes Layout to send another obj to maya with completely different point order. So this completely screws everything up, I`m left having to redo the UV again. Max needs the exact same point order for the uvs.
Any clues? cos I`m going to start hair tearing out soon........
 |
|
Back to top |
|
 |
headus Site Admin

Posts: 2902
Joined: 24 Mar 2005
Location: Perth, Australia
|
Posted: Wed Nov 05, 2008 8:45 pm Post subject: |
|
|
Rename the duplicated object in Maya before sending it to UVLayout???
I'm only guessing ... I'll boot up my Maya machine and see if I can replicate your problem here. Stay tuned ...
Phil |
|
Back to top |
|
 |
BigErn

Posts: 20
Joined: 06 Nov 2007
Location: Perth, Australia
|
Posted: Wed Nov 05, 2008 8:49 pm Post subject: |
|
|
Hey Phil, I have tried renaming loads of things. I could send you over the geo which I am getting this problem with? I tried it with just some primatives but I couldnt do anything like this problem. I have just gone back to this scene and it happens again.
testing some more.........
I rename both objects to random names. : they only have 1 lambert shader.
here is the results from sending back from uvlayout.
Code: | // Ambient //
// Warning: The node 'uvl5160_initialShadingGroup' still clashed with a node in the main scene. Renaming to 'uvl5160_initialShadingGroup1'. //
// Warning: Edits on 'uvl5160_initialShadingGroup' may have been lost as a result of renaming. We strongly recommend the use of Namespaces to resolve Name Clashes. //
// Warning: The node 'uvl5160_initialShadingGroup1' still clashed with a node in the main scene. Renaming to 'uvl5160_initialShadingGroup2'. //
// Warning: Edits on 'uvl5160_initialShadingGroup1' may have been lost as a result of renaming. We strongly recommend the use of Namespaces to resolve Name Clashes. //
// Warning: The node 'uvl5160_materialInfo1' still clashed with a node in the main scene. Renaming to 'uvl5160_materialInfo2'. //
// Warning: Edits on 'uvl5160_materialInfo1' may have been lost as a result of renaming. We strongly recommend the use of Namespaces to resolve Name Clashes. //
// Error: More than one object matches name: polySurfaceShape387 //
// Error: Cannot use data of type no type in a scalar operation. //
|
EDIT: well exporting as Obj, and importing into a clean maya scene seems to remove the errors.. so its something which is lurking in my scene for some reason. |
|
Back to top |
|
 |
headus Site Admin

Posts: 2902
Joined: 24 Mar 2005
Location: Perth, Australia
|
Posted: Wed Nov 05, 2008 9:03 pm Post subject: |
|
|
Yeah,I just did a test here with a torus and it worked fine. I get the shading group errors/warnings too, but other than that, the second set of UVs gets copied to the duplicated mesh OK.
Phil |
|
Back to top |
|
 |
BigErn

Posts: 20
Joined: 06 Nov 2007
Location: Perth, Australia
|
Posted: Wed Nov 05, 2008 9:11 pm Post subject: |
|
|
yep, kind of same here, I guess its not strictly a bug per say.. but if you have textures attached I think things get a little fuzzy. I managed to get it working, but u just have to be very careful with names and keeping the scene clean.
cheers for the investigation tho |
|
Back to top |
|
 |
headus Site Admin

Posts: 2902
Joined: 24 Mar 2005
Location: Perth, Australia
|
Posted: Wed Nov 05, 2008 9:18 pm Post subject: |
|
|
I'd be happy to look at one of your problems scenes if you want. It might only require a simple fix to the plugin MEL script, and I have a few other things on my list that I need to do to that script anyway.
Phil |
|
Back to top |
|
 |
BigErn

Posts: 20
Joined: 06 Nov 2007
Location: Perth, Australia
|
Posted: Wed Nov 05, 2008 9:28 pm Post subject: |
|
|
ok Phil, I`ll email it ya. |
|
Back to top |
|
 |
|