headus 3D tools headus 3D tools / 3D scans
Support Forums
 
 FAQFAQ   SearchSearch    UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
headus 3D scans

Unusable Obj Output out of UVlayout

 
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
BigErn



Posts: 20
Joined: 06 Nov 2007
Location: Perth, Australia

PostPosted: Wed Nov 05, 2008 8:33 pm    Post subject: Unusable Obj Output out of UVlayout Reply with quote

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........
Confused
Back to top
View user's profile Send private message
headus
Site Admin


Posts: 2894
Joined: 24 Mar 2005
Location: Perth, Australia

PostPosted: Wed Nov 05, 2008 8:45 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
BigErn



Posts: 20
Joined: 06 Nov 2007
Location: Perth, Australia

PostPosted: Wed Nov 05, 2008 8:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
headus
Site Admin


Posts: 2894
Joined: 24 Mar 2005
Location: Perth, Australia

PostPosted: Wed Nov 05, 2008 9:03 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
BigErn



Posts: 20
Joined: 06 Nov 2007
Location: Perth, Australia

PostPosted: Wed Nov 05, 2008 9:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
headus
Site Admin


Posts: 2894
Joined: 24 Mar 2005
Location: Perth, Australia

PostPosted: Wed Nov 05, 2008 9:18 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
BigErn



Posts: 20
Joined: 06 Nov 2007
Location: Perth, Australia

PostPosted: Wed Nov 05, 2008 9:28 pm    Post subject: Reply with quote

ok Phil, I`ll email it ya.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group