Introduction to Maya - Modeling Fundamentals Vol 1
This course will look at the fundamentals of modeling in Maya with an emphasis on creating good topology. We'll look at what makes a good model in Maya and why objects are modeled in the way they are.
# 1 12-10-2012 , 10:18 AM
Registered User
Join Date: Oct 2007
Posts: 19

Modelling problem

Hi All,

I'm having a problem with Maya in terms of clean modelling. I've attached some images showing the problems. Basically the intention is to export the model as an OBJ into Rhino to use grasshopper to modify/fragment the object in some way, and finally to 3D print, so the model needs to be totally clean.

When I exported the model as an OBJ, and import it back into Maya (2013) to check, some of the normals are reversed (even though they look fine in the original maya file).

When I import into Rhino, some of these problems are more evident, particularly where I've used booleans etc. I've read a few things about booleans being bad in Maya, but sometimes it's the easiest thing to use and for rendering (as opposed to 3D printing/exporting to Rhino/zBrush etc) geometry doesn't seem to be so much of an issue.

As you can see from one of the images, I have a bevelled piece with two holes subtracted from it, so obviously there are some n-gons. I guess the following que's:

1. Can I fix these existing models some how (cleanup is rubbish and doesn't do anything, I can't subdivide the geometry with either cut faces or the split mesh tool). Is there a way to get clean quads from it?

2. If i need to model it, what is the quickest/cleanest way to do it considering there are holes??

Please help! Thanks!

Attached Thumbnails
# 2 12-10-2012 , 11:39 AM
daverave's Avatar
The thin red line
Join Date: Aug 2009
Location: England
Posts: 4,472
To help see flipped normals turn off two sided lighting in the panels lighting, there are a lot of ngons in your model it would be good practice to clean them up as you go along. You say you cannot use the split poly tool? as that is what I would use would not take too long cut the just press the "Y" key to repeat..............dave

PS:what is it that you are modelling......LOL




Avatar Challenge Winner 2010
# 3 12-10-2012 , 12:09 PM
Registered User
Join Date: Oct 2007
Posts: 19
Hi Dave, thanks for the quick reply. I actually have two-sided lighting off all the time, so that I can ensure normals are OK. In the original maya file, normals are fine, when I export the OBJ and import it back in, then it seems to reverse some things.

I know there are a lot of n-gons. I think I got a little lazy when bevelling edges and using booleans, because I didn't see a better way to make holes in those objects and I really can't use split poly on those n-gons with the holes now.

I'm modelling a uniselector from the Colossus machine.

What shall I do with the n-gons???

# 4 12-10-2012 , 12:18 PM
daverave's Avatar
The thin red line
Join Date: Aug 2009
Location: England
Posts: 4,472
It might be a bit late for you but if you plan a head a little you can save a lot of time by putting edges in first then just use the vertex tool to merge the verts...............dave

Attached Thumbnails



Avatar Challenge Winner 2010
# 5 12-10-2012 , 12:22 PM
Registered User
Join Date: Oct 2007
Posts: 19
I should be able to do that, I'll have to remodel some of the parts I guess... However, the corner faces still have 5 sides, is there a way to prevent this and triangles?

# 6 12-10-2012 , 12:58 PM
daverave's Avatar
The thin red line
Join Date: Aug 2009
Location: England
Posts: 4,472
See how you get on then post again so I can see what needs to be done, if I tell you now what needs to be done after you have added all the edges it might changed the edge flow................dave




Avatar Challenge Winner 2010
# 7 12-10-2012 , 01:09 PM
daverave's Avatar
The thin red line
Join Date: Aug 2009
Location: England
Posts: 4,472
A quick think and it might be better to do it this way............dave

Attached Thumbnails



Avatar Challenge Winner 2010
# 8 12-10-2012 , 01:52 PM
Registered User
Join Date: Oct 2007
Posts: 19
Thanks, I'll give it a shot, looks like I've got a decent amount of remodelling to do!

# 9 12-10-2012 , 02:24 PM
ctbram's Avatar
Moderator
Join Date: Jan 2004
Location: Michigan, USA
Posts: 2,998
hey sgt

The most likely reason your normals appear to be flipping is even with two sided lighting on if you have scaled anything in -1 then they will still appear fine in maya. When you export them to obj they wiell then be "frozen" which effectively sets the scale to 1 and flips the normals.

So to see and fix flipped normals before going to obj select all the objects in your model and freeze their transforms. This will flip any -1 scaled components and they will turn black with show two sided lighting unchecked.

No one has come up with the "magic-make-my-model-all-clean-quads" command yet. If they did they should win a Nobel prize. So if you must have clean quads you will need to work on creating them as you go.

If however, you do not need to smooth your model you can use mesh > traingulate to make it all tri's. However, if the goal is to go to obj to rhino and then obj back to maya and then smooth you'll have a mess.

If your goal is to make water tight models for stl (stereo lithography or 3d printing) you can have all the n-gon and tri's you like so simply boolean the crap out of it and then triangulate the mesh.

I work with someone that makes molds for models and his meshes are horrific but they convert to stl files just fine and he does not get paid for how clean his mesh is, he paid for how many meshes he turns into molds; so spending hours cleaning a mesh that does not require it is just wasted time. The only time you'll have a real problem is if the surface with the ngons becomes non-planar then you will get uneven artifacts and the you will have to clean the edges and shoot for clean even quads or tri's.

update:

I was looking at your mesh images and I did see one thing that is very bad for stl and that is any face with a hole that does not connect to an outer edge. See the attached image. The one on the left is bad, very bad, because you have a hole inside a poly face with no edges connecting to the outer edges.

The second version is better as there is an edge connecting the inner hole to the outer edge of the face the hole is in. You actually only need one edge and you see this in 3ds models all the time. You have two very obvious ngons but for STL they DO NOT MATTER. The face is planar so there will be no artifacts!

The third I have taken a minute or two to make quads. So now the model is all quads but for STL the results of this mesh will be no different then the mesh to the left. So the time to quadrangulate really did achieve anything.

Now please before I get all kinds of hate messages. This only applies if you only need a water tight model, do not need to smooth, do not intend to texture (you have uneven uv spacing so you would want even vertex distribution).

Attached Thumbnails

"If I have seen further it is by standing on the shoulders of giants." Sir Isaac Newton, 1675

Last edited by ctbram; 12-10-2012 at 03:03 PM.
# 10 12-10-2012 , 09:00 PM
Registered User
Join Date: Oct 2007
Posts: 19
thank you very much ctbram, that is very informative.

You're right about them being in -1, because I often use -1 scale to mirror a duplicate object. Is this bad practice? I never thought of it as an issue before.

That's interesting about the STL watertight modelling, I didn't know that a floating hole would be so much of an issue.

I guess if I wanted to take the model into zBrush then I wouldn't be able to use a model using the method shown in the middle image because they need to be quads or tris. The right image is ideal.

When you say "This only applies if you only need a water tight model, do not need to smooth, do not intend to texture (you have uneven uv spacing so you would want even vertex distribution)" are you referring to the middle image only? Wouldn't the 3rd image smooth/texture? If not, what then is the best way to model it??

# 11 12-10-2012 , 09:40 PM
EduSciVis-er
Join Date: Dec 2005
Location: Toronto
Posts: 3,374
Scaling in -1 is not bad practice, just remember to freeze and flip the normals.

# 12 12-10-2012 , 10:06 PM
ctbram's Avatar
Moderator
Join Date: Jan 2004
Location: Michigan, USA
Posts: 2,998
yepper what stwert said


"If I have seen further it is by standing on the shoulders of giants." Sir Isaac Newton, 1675
# 13 12-10-2012 , 10:18 PM
ctbram's Avatar
Moderator
Join Date: Jan 2004
Location: Michigan, USA
Posts: 2,998
It's good you mention zbrush. Because once again for a stl mesh all you need to do is run the triangulate on you maya mesh and now you can import that mesh into zbrush. Then you can either remesh or dyanmesh to make the all tri mesh into all quads. Although the mesh will be super dense. This is not really a major problem to convert into and stl file.

About texturing and smoothing. Although the third model is all quads those odd pointy shaped poly faces ("kites") going into the corners would cause issue if you tried to smooth because you could not add control loops easily. I'll add a screen shot to show what you would need to do and maintain that topo. As well as a way to make an even cleaner topo.

For uv distribution and painting, especially in zbrush, you want to avoid areas with really dense concentrations of verts and then areas with large spaces. As you move from high vert/uv concentration to low you will find that your textures stretch.

Here are some examples of that third cube and how I had to add support edges and maintain the odd shaped poly faces and another version where I made a small change and have a much better square poly layout that is easier to add support loops.

You can see the second and third images both smooth okay but the third has a better topology (it no longer has those diagonal diamond shaped poly faces). You can see it has a more regular topo after smoothing as well.

Attached Thumbnails

"If I have seen further it is by standing on the shoulders of giants." Sir Isaac Newton, 1675

Last edited by ctbram; 12-10-2012 at 11:05 PM.
# 14 13-10-2012 , 12:46 AM
Registered User
Join Date: Oct 2007
Posts: 19
Thank you very much guys, this is great!

I'm just wondering how you created the cleaner box with hole, with the additional 8 loops.. I guess one way is to make a cylinder with 2 cap divisions, delete the faces inside the inner division and extrude the faces out, then manually moving the verts to the grid so that it becomes a hole within a square plane then extruding that to create a solid mesh.

I'm guessing you didn't use that method though, just manual split poly tool, using snaps to the middle of the face edges?

# 15 13-10-2012 , 12:48 AM
ctbram's Avatar
Moderator
Join Date: Jan 2004
Location: Michigan, USA
Posts: 2,998
here no need to wonder I will record a video for you. Give me a couple minutes.


"If I have seen further it is by standing on the shoulders of giants." Sir Isaac Newton, 1675
Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads