PDA

View Full Version : Problems with converting polygongs to subdiv



omidalborzi
10-14-2006, 05:38 AM
Hi guys,

I've got this wonderful Digital-Tutors modeling video (Maya Basics) where you can model some kind of a jetbike.
Throuhg this video you have to convert the polygon surface to a subdiv. As you all know there a two ways to do that:
Alt+`

Modify --> convert -->poly to subdiv

When I do that I get an error message which says:
Error: Command polyToSubdiv failed. Open Script Editor for details.

When I open the Script Editor it tells me this:
select -cl ;
select -r polySurface1 ;
deleteInternalValence2Verts |polySurface1|polySurfaceShape1;
polyToSubdiv -ap 0 -ch 0 -aut off -maxPolyCount 72 -maxEdgesPerVert 17 |polySurface1|polySurfaceShape1;
// Warning: Nothing is selected. Select objects or components to delete. //
// Error: polyToSubdiv1 (Poly To Subdiv Node): Cannot create subdivision surface as the resulting surface would have more base mesh faces (872) than the maximum allowed (72).
// To increase maximum allowed, change Maximum Base Mesh Faces in Convert to Subdiv Options. //
// Error: Command polyToSubdiv failed. Open Script Editor for details. //


The question is what the hell I'm doing wrong?
Why cant I just convert it to a subdiv?

Does anyone know what to do?

Thanks a lot.

Savnac
10-14-2006, 09:01 AM
Greetings Omidalborzi-

I am having the same issue with PolyTo Subdiv. It ask meto go to the Script Editor, at first I had no idea of what to do until I went too the menu bar under Polygons. From the menu bar -go to "CleanUp" ok too the right side of it it - select the little box. in there you will see some optins. Ok On my system The Script Editor told me to Clean Up my Nonmanifold. I went too the section "Other" and selected [Nonmamifold Geometry] and press "CleanUp" so it's what I had to do and it fix my problem, I think.

I was able to convert. No mind you I am on a Mac system, so I am not sure if you are running a PC or Mac but I think it could be the same, maybe.

I find that when the Error message comes up, and tells you what to do , do nothing but that, and only that. I say this becasue I am so new to Maya and I do not want to make mistake and screw something up. So maybe this will help you through you issue.

I have to go back too the Tutors chapter to see if everything is right on my Jetbike to be sure that I am on the right path.

I hope this helps!!

Savnac

laxman
10-14-2006, 06:51 PM
check this out:

http://www.digitaltutors.com/digital_tutors/knowledgebase.php?faq_id=448&category_id=&parent_id=


you are having the easy problem, your minumin faces is set to 72. Go to the options and change it to 10000 or something high like that.

Savnac
10-14-2006, 09:01 PM
Laxman-

Thanks for getting back too me- however can you please expalin, am I to go under Polygons and re-set the Cleaning to these numbers.

Please remember taht I am very new to Maya, and most things are alien too me right now. So you think this will fix my issues with "PolyToSubdiv" issue in Maya 5.0, Ye I know, Maya is up to version 8.0 right now.

I plan on training in this version and then after I get up and running I plan to get version 8.0.

I was dong so good with the tutorials untill this issue, man this killed everything. You see I am training in version 5 on a Mac, and the instructor is talking and giving the class in Maya 7.0

Hey I am going to add you too my buddy list - ok


Thanks,


Savnac :yes

laxman
10-15-2006, 03:11 PM
Ok, what is happening is this:

When you were doing the modeling, you accidently did something maya did not like. Maybe you hit the extrude edge button twice. That would cause one set of edges to be created, on top of the ones you select. Then when you pressed it again a third set was created on top the the ones you had selected. Then you used the move tool to move the third set, but you still had the second set on top of the edges you had originally selected.

Thats just one possibility. In the faq I linked, I called that zero surface area. The problem you are having could have been that or any other one mentioned in the FAQ, or it could be a combination of several types. What you have to do is set the polygon clean up tool to the options shown in the FAQ (ie, make sure it says select geometry) and then what maya will do is select the geometry that that it doesn't like.

After that you have to go in and fix it your self. There are also several techniques mentioned on how to do this in the FAQ. Just remember that maya will not fix this for you. That is why so many people have trouble with this.

So this is what you have to do:

1) Get maya to tell you what you have to fix.

2) Read through the techniques I mentioned which you can use to fix the problem.

3) If you are atill unable to fix the geometry of a certain section, move on to other parts.

4) Try the parts that won't work, if you can't get it post here again and try to describe the problem and post a picture of the wire frame and the shaded of the section that isn't working.

Hope this helps.

Laxman

omidalborzi
10-18-2006, 05:59 PM
Hi guys,

Thanks for those replies. I'll be back home about two or three days and I will try your solutions. I hope that it will work!

Anyway...thanks a lot.

cheers.

omidalborzi
10-20-2006, 04:57 PM
check this out:

http://www.digitaltutors.com/digital_tutors/knowledgebase.php?faq_id=448&category_id=&parent_id=


you are having the easy problem, your minumin faces is set to 72. Go to the options and change it to 10000 or something high like that.


Hi Laxman,

I changed it to 10000 but its not working!!! :frown:

Is there anything else that I can do?

Thanks.

laxman
10-21-2006, 12:37 AM
even after you set the limit up? Paste what it says in the script editor here, and post a screen shot of the convert settings and you model.

omidalborzi
10-21-2006, 03:57 PM
even after you set the limit up? Paste what it says in the script editor here, and post a screen shot of the convert settings and you model.

This is what the Script Editor says:

// Warning: Your system does not have hardware accelerated OpenGL, or your driver is not configured properly. Maya will continue to run, but you will get significantly better performance with accelerated hardware. //
file -f -new;
// Result: ./untitled //
docServer -start;
// Warning: docServer service "aliasdocserver" does not exist. //
// Warning: Unable to Start the docServer. //
updateRendererUI;
// MayaLive version pv_performAction "C:/Documents and Settings/Omid/Mijn documenten/maya/projects/Pen_Project/scenes/motor_new.mb" "Best Guess";
file -f -options "v=0;p=17" -typ "mayaBinary" -o "C:/Documents and Settings/Omid/Mijn documenten/maya/projects/Pen_Project/scenes/motor_new.mb";addRecentFile("C:/Documents and Settings/Omid/Mijn documenten/maya/projects/Pen_Project/scenes/motor_new.mb", "mayaBinary");
// File read in 0 seconds.
// Warning: Cycle on 'particleShape1.fireScale' may not evaluate as expected. (Use 'cycleCheck -e off' to disable this warning.) //
// Warning: Cycle on 'FireShape.fireScale' may not evaluate as expected. (Use 'cycleCheck -e off' to disable this warning.) //
// Result: 1 //
// Saving runtime commands to : C:/Documents and Settings/Omid/Mijn documenten/maya/6.5/prefs/userRunTimeCommands.mel
// Saving hotkeys to : C:/Documents and Settings/Omid/Mijn documenten/maya/6.5/prefs/userHotkeys.mel
// Saving named commands to : C:/Documents and Settings/Omid/Mijn documenten/maya/6.5/prefs/userNamedCommands.mel
// Preferences saved. See Script Editor for details.
updateRendererUI;
// Press the ESC key to stop playback
currentTime 123 ;
// Warning: Cycle on 'arrayMapper1.outValuePP' may not evaluate as expected. (Use 'cycleCheck -e off' to disable this warning.) //
currentTime 19 ;
select -r particle1 curve1 pCylinder1 revolvedSurface1 emitter1 turbulenceField1 ;
select -cl ;
select -r particle1 ;
select -r particle1 ;
file -f -new;
// Result: ./untitled //
pv_performAction "C:/Documents and Settings/Omid/Mijn documenten/maya/projects/Pen_Project/scenes/motor.mb" "Best Guess";
file -f -options "v=0;p=17" -typ "mayaBinary" -o "C:/Documents and Settings/Omid/Mijn documenten/maya/projects/Pen_Project/scenes/motor.mb";addRecentFile("C:/Documents and Settings/Omid/Mijn documenten/maya/projects/Pen_Project/scenes/motor.mb", "mayaBinary");
// File read in 0 seconds.
// Result: 1 //
file -f -new;
// Result: ./untitled //
pv_performAction "C:/Documents and Settings/Omid/Mijn documenten/maya/projects/Pen_Project/scenes/DT_Motor.mb" "Best Guess";
file -f -options "v=0;p=17" -typ "mayaBinary" -o "C:/Documents and Settings/Omid/Mijn documenten/maya/projects/Pen_Project/scenes/DT_Motor.mb";addRecentFile("C:/Documents and Settings/Omid/Mijn documenten/maya/projects/Pen_Project/scenes/DT_Motor.mb", "mayaBinary");
// File read in 0 seconds.
// Result: 1 //
// Error: Unable to load the image file, 'J:/DT-Bike_chapter1/maya_data/images/podCycle_front.jpg', for imagePlane1 //
// Error: Unable to load the image file, 'J:/DT-Bike_chapter1/maya_data/images/podCycle_side.jpg', for imagePlane2 //
select -r polySurface1 ;
deleteInternalValence2Verts |polySurface1|polySurfaceShape1;
polyToSubdiv -ap 0 -ch on -aut on -maxPolyCount 10000 -maxEdgesPerVert 255 |polySurface1|polySurfaceShape1;
// Warning: Nothing is selected. Select objects or components to delete. //
// Error: polyToSubdiv1 (Poly To Subdiv Node): One or more edges is nonmanifold.
// Nonmanifold geometry cannot be converted to a subdivision surface.
// To clean up nonmanifold edges, use Polygons->Cleanup with the nonmanifold option. //
// Error: Command polyToSubdiv failed. Open Script Editor for details. //

laxman
10-21-2006, 04:47 PM
all that matters is the very end where it says this:

polyToSubdiv -ap 0 -ch on -aut on -maxPolyCount 10000 -maxEdgesPerVert 255 |polySurface1|polySurfaceShape1;
// Warning: Nothing is selected. Select objects or components to delete. //
// Error: polyToSubdiv1 (Poly To Subdiv Node): One or more edges is nonmanifold.
// Nonmanifold geometry cannot be converted to a subdivision surface.
// To clean up nonmanifold edges, use Polygons->Cleanup with the nonmanifold option. //
// Error: Command polyToSubdiv failed. Open Script Editor for details. //


Specifically it says non-manifold geometry. Now loko through the link I posted earlier because now you have to fix a problem with the geometry, which is the "hard" problem.

omidalborzi
10-23-2006, 07:22 AM
My pc crashed yesterday and I lost everything on it. (no backups)
So..I will reinstall Maya and will start the project again. But I think its the hard one as you mentioned earlier.

Thanks for the support