editor vertex manipulation question

Mr. EpicMr. Epic Join Date: 2003-08-01 Member: 18660Members, Constellation
<div class="IPBDescription">Any easy way to join or merge vertices?</div>The editor is great, but I am having trouble joining meshes without having to do a lot of redundant stuff. Is there a feature to merge vertices eg: select corner one and corner two of two meshes and have it automatically join the two in the middle? Thanks.

Comments

  • PipiPipi Join Date: 2009-12-09 Member: 69550Members
    I'm not sure what you are trying to do, but vertexes cannot be merged yet. And I think you are referring to Welding. (Merging two distant vertexes to make one with the average of both vertexes coordinates.)

    So there is no way yet to do that. If you absolutely want to avoid vertexes duplication you should consider building around existing edges and faces by using the extrusion tool.

    If you concerns are about performance. More vertexes doesn't take much more ressources (if any) as the polygon count stays the same in the end.
  • LoeyLoey Join Date: 2009-10-31 Member: 69187Members
    delete 1 of the vertices, use the line tool to join the meshes

    thats the fastest way so far
  • PipiPipi Join Date: 2009-12-09 Member: 69550Members
    edited January 2010
    <!--quoteo(post=1746264:date=Jan 8 2010, 06:57 AM:name=Loey)--><div class='quotetop'>QUOTE (Loey @ Jan 8 2010, 06:57 AM) <a href="index.php?act=findpost&pid=1746264"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->delete 1 of the vertices, use the line tool to join the meshes

    thats the fastest way so far<!--QuoteEnd--></div><!--QuoteEEnd-->


    While you can do that, the edge you create doing this will not make part of the same mesh. Therefore, You won't be able to create a new face with the original edges and the newly created one. So it is not an option for Cybermantis' problem.

    You will be able to do as Loey mentionned if only the faces you are connecting together come from the same mesh. Double-click on a surface to see its whole mesh selected.


    EDIT: Sorry, I have to admit sometimes, creating an edge between two different meshes will merge them together and you'll be able to create a face along. Doesn't work every time, depending on the geometry situation it seems.
  • LoeyLoey Join Date: 2009-10-31 Member: 69187Members
    <!--quoteo(post=1746268:date=Jan 8 2010, 11:47 PM:name=Pipi)--><div class='quotetop'>QUOTE (Pipi @ Jan 8 2010, 11:47 PM) <a href="index.php?act=findpost&pid=1746268"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->While you can do that, the edge you create doing this will not make part of the same mesh. Therefore, You won't be able to create a new face with the original edges and the newly created one. So it is not an option for Cybermantis' problem.

    You will be able to do as Loey mentionned if only the faces you are connecting together come from the same mesh. Double-click on a surface to see its whole mesh selected.


    EDIT: Sorry, I have to admit sometimes, creating an edge between two different meshes will merge them together and you'll be able to create a face along. Doesn't work every time, depending on the geometry situation it seems.<!--QuoteEnd--></div><!--QuoteEEnd-->
    if you have 2 meshes next to each other and you join them using the line tool, you join the meshes. the only time it doesnt work is when you have vertices over vertices.

    heres something i wrote up on ns2 devs that kind of explains what im talking about with the overlapping vertices and deleting them, although the problem the original poster had was he couldnt create a face. you would of course take the 2nd option to properly join the 2 meshes

    <!--quoteo--><div class='quotetop'>QUOTE </div><div class='quotemain'><!--quotec-->the only reason that i havent been able to create a face is because i have had edges or vertices overlapping so the edges i ended up selecting, although they looked connected, they edges didnt form an enclosed shape.

    heres an example

    <a href="http://img42.imageshack.us/i/face1l.jpg/" target="_blank"><img src="http://img42.imageshack.us/img42/4348/face1l.th.jpg" border="0" class="linked-image" /></a>
    1: i try to create a face by selecting 4 edges, it doesnt work

    <a href="http://img692.imageshack.us/i/face2t.jpg/" target="_blank"><img src="http://img692.imageshack.us/img692/1774/face2t.th.jpg" border="0" class="linked-image" /></a>
    2: i move the bottom left vertice to reveal that the shape is not enclosed. from here i have 2 options

    <a href="http://img189.imageshack.us/i/face3v.jpg/" target="_blank"><img src="http://img189.imageshack.us/img189/7070/face3v.th.jpg" border="0" class="linked-image" /></a>
    3: the first option is to connect the bottom right vertice to the floating bottom left vertice to form the enclosed shape. after that its simply moving the vertice into position

    <a href="http://img42.imageshack.us/i/face4.jpg/" target="_blank"><img src="http://img42.imageshack.us/img42/3483/face4.th.jpg" border="0" class="linked-image" /></a>
    4: option 2 is to move the top left vertice so its not overlapping anymore

    <a href="http://img192.imageshack.us/i/face5.jpg/" target="_blank"><img src="http://img192.imageshack.us/img192/9858/face5.th.jpg" border="0" class="linked-image" /></a>
    5: use the line tool and draw in the line circled in red. clean it up by deleting the other vertices and lines<!--QuoteEnd--></div><!--QuoteEEnd-->
  • Mr. EpicMr. Epic Join Date: 2003-08-01 Member: 18660Members, Constellation
    <!--quoteo(post=1746327:date=Jan 8 2010, 02:06 PM:name=Loey)--><div class='quotetop'>QUOTE (Loey @ Jan 8 2010, 02:06 PM) <a href="index.php?act=findpost&pid=1746327"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->if you have 2 meshes next to each other and you join them using the line tool, you join the meshes. the only time it doesnt work is when you have vertices over vertices.

    heres something i wrote up on ns2 devs that kind of explains what im talking about with the overlapping vertices and deleting them, although the problem the original poster had was he couldnt create a face. you would of course take the 2nd option to properly join the 2 meshes<!--QuoteEnd--></div><!--QuoteEEnd-->
    That is the problem, sometimes vertices over vertices happen and even though they are extremely close (if you move into it close enough you can find them) they aren't technically connected, so you run into problems like faces not being created when you think there are 4 sides connected but they aren't because one isn't actually a line connected to the vertex you think it is. PITA. Would be REALLY REALLY nice to have an option for either 100% vertex snapping so we don't run into this, or a key combo to join/merge two selected vertices.
  • LoeyLoey Join Date: 2009-10-31 Member: 69187Members
    it would be helpful and save alot of time. ive been using my method quoted above and it works fine, its just time consuming. the best way at the moment is to avoid having vertices of vertices in the first place.
Sign In or Register to comment.