PDA

View Full Version : subdToPoly -convertComp flag error


rhythmone
12-25-2008, 01:50 AM
Can someone please try this to validate this error?

From the subdToPoly documentation:
-convertComp (-cc) boolean
Convert the componentIds back and forth A mapping that can be used to get the one-to-one association between the poly and the SubD component Ids

subdToPoly -ch 0 -aut 1 -f 3 -d 2 -cut 1 -sc 4 -mp 1 -epp 1 -suv 1 -un 0 -convertComp 1 torsoShape;
// Error: Invalid flag: -convertComp //

This is related to:
http://forums.cgsociety.org/showthread.php?f=7&t=710934

OSX
Maya 8.0

greatPumpkin
12-30-2008, 03:20 PM
In the previous thread someone suggested using the -q flag first, have you tried that?

i.e.:


subdToPoly -q -cc 1 torsoShape;

then:
subdToPoly -ch 0 -aut 1 -f 3 -d 2 -cut 1 -sc 4 -mp 1 -epp 1 -suv 1 -un 0 torsoShape;


what does the first command return? (sorry don't have maya handy)

or... perhaps you need an subdToPoly node..

in that case, run the first command with -ch 1, and then try using the -e -cc 1 flags to and see if there is a componentlist attribute that has the right info for you on the subd conversion node. It says it is creating a mapping between verts in the docs, so I assume you need to have a before and after available in seen for maya to actually create the mapping.

After you've got the info you need you can delete the history on the output poly-

rhythmone
12-30-2008, 11:03 PM
Yes, I now realize how to set that flag on the node. I am just still unable to figure out how to use any of it.

I find it hard to believe that you cannot get corresponding component IDs between subD and a Poly??

I even did an experiment using sets... and maya seems to confuse itself... or maybe I am just not getting it.

CGTalk Moderation
12-30-2008, 11:03 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.