SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.


SM Forums / Maya Questions / Maya Modeling / How can I snap a vertex to where two edges intersect?

Maya Modeling Everything on Modeling Techniques and Tools - NURBS, Polygons and Subdivisions Related in this Section.

Join the conversation. Reply to post
Page 1 of 2 1 2
 
Thread Tools
18-05-2014, 07:31 PM   #1
madwh
Registered User
 
Join Date: May 2014
Posts: 30
How can I snap a vertex to where two edges intersect?
I have an edge intersecting another edge. One of the edges has a vertex on them. How can I snap it to where the edges intersect? Or how can I create a vertex where the edges intersect? Maybe I can somehow do it with booleans but I'd rather not, they're kinda glitchy. Thanks.
  Reply with quote
18-05-2014, 09:11 PM   #2
jsprogg
Lifetime Member
 
jsprogg's Avatar
 
Join Date: Feb 2004
Location: Chicago
Posts: 1,710
you can use the "Snap to Curve" to do exactly what you're after. Select your object/vertex then hold down the "C" key, and middle mouse drag your vertex to your edge.

Also if you want to place a vertex you can use the split polygon tool and place it where you need it then press enter.
__________________


2 x Modeling Challenge Winner

Last edited by jsprogg; 18-05-2014 at 10:07 PM.
  Reply with quote
18-05-2014, 10:15 PM   #3
madwh
Registered User
 
Join Date: May 2014
Posts: 30
It's not working, not sure what I'm missing. Is this supposed to work between two separate objects that I combined?

I have snap to curve on. I select my vertex and go into the move tool. I hold down the the C key and middle mouse drag the move handle. Is that what I'm supposed to do? It's not working. Thanks.

edit: or is there a way to make split polygon tool snap to where the edges intersect?
Attached Thumbnails
Click image for larger version

Name:	Untitled.png
Views:	1196
Size:	22.8 KB
ID:	55785  

Last edited by madwh; 18-05-2014 at 10:18 PM.
  Reply with quote
18-05-2014, 10:25 PM   #4
ctbram
Moderator
 
ctbram's Avatar
 
Join Date: Jan 2004
Location: Michigan, USA
Posts: 2,997
Maybe you should describe what the end result you are trying to get is because from the screen shot even if you did suceed in snapping that vert to the edge of the other box you'd create a form of bad geometry called non-manifold. Any further operations within Maya on non-manifold geometry will have unpredictable results or just plain fail.

Are you simply trying to combine those two shapes into a single piece of geometry?
__________________
"If I have seen further it is by standing on the shoulders of giants." Sir Isaac Newton, 1675
  Reply with quote
18-05-2014, 10:27 PM   #5
madwh
Registered User
 
Join Date: May 2014
Posts: 30
I'm just trying to make 2 books on top of each other and trying to delete the bottom of the book on top that's not visible and the top of the book on the bottom that's not visible.
Attached Thumbnails
Click image for larger version

Name:	Untitled.png
Views:	1196
Size:	35.8 KB
ID:	55786  

Last edited by ctbram; 18-05-2014 at 10:34 PM.
  Reply with quote
18-05-2014, 10:35 PM   #6
ctbram
Moderator
 
ctbram's Avatar
 
Join Date: Jan 2004
Location: Michigan, USA
Posts: 2,997
okay lets think about this. you have two boxes (books) on top of each other. The bottom face of the top book = 1 polygon, the top face of the bottom book = 1 polygon. 1+1 = 2.

Now you want to cut the top and bottom face of the bottom and top books (for what purpose I do not know.

But in the process you will create 4 triangles on the bottom and top face of the top and bottom books or eight new 3-sided polygons where you originally had only two 4-sided polygons and create bad geometry for the rest of the object unless you carry the cut edges all the way around the combined geometry. Fixing the geometry from teh whole new object and carrying the edges you cut all through the part will actually add a lot more then the 8 triangles on just the top and bottom faces in question.

Not to mention you also create a new problem for yourself when you go to texture these books because now they are combined and one is twisted and the bottom and top faces of the them are now combined in an odd way.

So what are you hoping to accomplish by doing this? You are not going to save polycon and you are only going to make texturing more difficult?

I mean it's not hard to combine them and I can show you how but in the end I see no real purpose in it other them clutter the geometry, add more polys, complicate texturing, and burn time better spent other other tasks.
__________________
"If I have seen further it is by standing on the shoulders of giants." Sir Isaac Newton, 1675

Last edited by ctbram; 18-05-2014 at 10:41 PM.
  Reply with quote
18-05-2014, 10:44 PM   #7
madwh
Registered User
 
Join Date: May 2014
Posts: 30
So are you saying I should leave them like that? I shouldn't overlap UVs (one of the rules they drilled into our heads at school) and if I leave them like that wouldn't it be kind of a big disadvantage that I will have a lot of uv space that is not visible and which will result in a lower res texture?

edit: ok I think I kinda realized what you're saying and I want consistency, I want the texture of the book on top to be the same res/detail as the one on the bottom.

Last edited by madwh; 18-05-2014 at 10:49 PM.
  Reply with quote
18-05-2014, 10:46 PM   #8
ctbram
Moderator
 
ctbram's Avatar
 
Join Date: Jan 2004
Location: Michigan, USA
Posts: 2,997
Well you would not really be overlapping them as they would be on separate geometry. You would have a separate set of uvs for each book. They would simply be on top of each other in your scene and the renderer would handle not drawing the sections that are on top of each other.

Imaging what would happen later if you wanted to add a third book or change the angle the two books are on top of each other or have a character pick one book up. You could not do the last one, and you'd have to remodel your combined book stack for every other change.

Better to model all the books as separate objects.
__________________
"If I have seen further it is by standing on the shoulders of giants." Sir Isaac Newton, 1675

Last edited by ctbram; 19-05-2014 at 05:57 AM.
  Reply with quote
18-05-2014, 10:49 PM   #9
madwh
Registered User
 
Join Date: May 2014
Posts: 30
Yep, I think I understand what you're saying, keep them separate and not worry about cutting out the faces that are not visible. I'll give it a try. Thanks.
  Reply with quote
18-05-2014, 10:51 PM   #10
ctbram
Moderator
 
ctbram's Avatar
 
Join Date: Jan 2004
Location: Michigan, USA
Posts: 2,997
yepper. This way you model one single book and as long as they are the same width and height you can texture as many different covers as you like and stack as many of them as you like and twist them all any way you like. The renderer will handle not drawing the overlapping bits.

When they teach not to overlap textures they mean on a single object or within a single texture map. Your books are two separate objects that will just happen to be on top of each other in a scene. You can either create independent texture maps for each, put all the textures on a single map and just scale and move each books uv's or even create unique maps for each book outside the 0-1 space (this is a bit more advanced).
__________________
"If I have seen further it is by standing on the shoulders of giants." Sir Isaac Newton, 1675

Last edited by ctbram; 19-05-2014 at 06:02 AM.
  Reply with quote
18-05-2014, 10:59 PM   #11
madwh
Registered User
 
Join Date: May 2014
Posts: 30
Still wouldn't mind figuring out how to snap/create a vertex where two edges intersect though.

edit: well my instructor just deletes the faces on the bottom of a mouse or keyboard or anything that's not visible. I guess it depends on what it's for: just a render, game, animation.

Last edited by madwh; 18-05-2014 at 11:04 PM.
  Reply with quote
19-05-2014, 01:21 AM   #12
jsprogg
Lifetime Member
 
jsprogg's Avatar
 
Join Date: Feb 2004
Location: Chicago
Posts: 1,710
Quote:
Still wouldn't mind figuring out how to snap/create a vertex where two edges intersect though.
The snap to curve will work and the two object don't have to be combined, what you are most likely doing wrong is when selecting the move tool you are probably selecting an axis instead of the center and free movement.

This is not the best way to get two objects on top of each other though, the easier way would be to move the top objects pivot point to the bottom (hit insert key select y axis on pivot and hold v key and MMB drag over bottom vertex of the top object and then hit insert key to complete or less accurate but quicker hold down d and manually position pivot) then in object mode select the top object and hold v key and MMB drag to a top vertex on the bottom object.
__________________


2 x Modeling Challenge Winner

Last edited by jsprogg; 19-05-2014 at 02:30 AM.
  Reply with quote
20-05-2014, 05:32 AM   #13
madwh
Registered User
 
Join Date: May 2014
Posts: 30
Quote:
This is not the best way to get two objects on top of each other though, the easier way would be to move the top objects pivot point to the bottom (hit insert key select y axis on pivot and hold v key and MMB drag over bottom vertex of the top object and then hit insert key to complete or less accurate but quicker hold down d and manually position pivot) then in object mode select the top object and hold v key and MMB drag to a top vertex on the bottom object.
That's exactly what I do for that part but I still can't snap a vertex to where two edges intersect and according to my instructor today it's not possible. No idea.
  Reply with quote
20-05-2014, 08:15 AM   #14
daverave
The thin red line
 
daverave's Avatar
 
Join Date: Aug 2009
Location: England
Posts: 4,472
There is a work around for this use the split poly tool to create 1 vert that you slid to were the edges intersect then press enter, you know have a vert you can snap to and you can delete it after you have snapped................dave
__________________


Avatar Challenge Winner 2010
  Reply with quote
20-05-2014, 03:57 PM   #15
madwh
Registered User
 
Join Date: May 2014
Posts: 30
It doesn't snap to where the edges intersect, is there a key I have to hold or anything I need to do to make it snap?
  Reply with quote
Reply
Page 1 of 2 1 2

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Merge Vertex Across Edges rageon75 Maya Basics & Newbie Lounge 2 05-08-2015 04:11 PM
constrained axis vertex snap skramer8e Maya Basics & Newbie Lounge 3 15-01-2015 04:24 PM
Snap and merge vertex with edge Hypernova Maya Modeling 3 30-12-2012 05:12 AM
UV map and snap edges bullet1968 Maya Basics & Newbie Lounge 10 17-04-2010 12:07 AM
Real quick question . Vertex and edges. nick@koeppen.net Maya Basics & Newbie Lounge 2 29-06-2009 10:54 PM