Vertex realignment


GoGurt
05-19-2006, 01:24 AM
I just started messing around in Hammer and was wondering if I can prevent Hammer from moving the vertexes on the opposite end of a brush when I'm stretching it. When I stretch one side of a brush, the other side likes to creep back a tiny bit. Any answers?

CoolHand
05-19-2006, 02:38 AM
If I understand you right, I just don't get it. If I move one side, the opposite side never move one unit. Not sure why it would do that for you or I did not understand your question.

MrGrubby
05-19-2006, 05:56 AM
It sounds like the opposite face isnt perpendicular to your stretching direction.
You can only stretch rectagles without this happening.
When you stretch a primative you're actually applying a scale factor in the x, y or z direction. Both sides of a block will be scaled at the same proportion. If the sides of your block that are getting stretched are different lengths, they will grow or shrink by different lengths.
It is difficult to explain with out a picture.

... anyways, to avoid this, you can use the vertex manipulation tool and instead of stretching your block, you can edit/move around its vertices. When you move one or more vertices, the rest will remain unchanged.

ok comp
05-19-2006, 07:37 AM
Yep, vertex manipulation is the only way I know of that will preserve the coordinates of vertices on the opposite side of the brush in these situations.

GoGurt
05-19-2006, 10:57 PM
I don't know why it happend either, I'm just looking for a way to make it so that it doesn't happen. The vertex manipulation works correctly, but I'm too lazy to do that every time, I'd like to be able to just click and then drag the edge out without the opposite edge screwing itself up.
I think what's happening is that since the brush was carved, it's still taking the original edge and not moving that, but stretching out everything in the middle. is there a way to stop that and have it so that it only adds on to the side I'm dragging out without the vertex manipulation?

[edit]...you know what, I just realized that it's probably much better to isolate the carved part of the brush from the other uncarved parts. I wish I would have thought of that before making the thread> :mad:

Dash
05-20-2006, 02:18 AM
Ew... you're carving AND using vertex manipulation on the carved brushes? you're just asking to get map errors now.

Your best bet would be using the clip tool. Carving can be very, very, VERY bad for your map.

GoGurt
05-20-2006, 01:08 PM
eh, it was clipped. I just used the wrong word.

Someth|ngW|cked
05-20-2006, 08:12 PM
Clipping = Good

Carving usually = Bad

Unless the brush is a standard 6 face cube or a 5 faced triangle you should not use the scale tool on it or it will morph on you

Use the vertex manip tool, when you need to move one side of the geometry you can drag-select verticies or you can hold CTRL and click all of the verts you want to moe instead of doing 1 at a time

If you are using scale tool on a cube and the other side is still moving then it sounds like you just have a display issue that makes hammer render the brush wrong in the 2d view

Ca-Chicken-Soup
05-20-2006, 11:19 PM
Originally posted by Someth|ngW|cked


Use the vertex manip tool, when you need to move one side of the geometry you can drag-select verticies or you can hold CTRL and click all of the verts you want to moe instead of doing 1 at a time

Use this method to 'strech' your brushes. Just drag-select one side of the brush and drag away.


(BTW does anyone else have the problem of selecting a brush (in vert edit mode) behind the one you're working on accedently when select-dragging? Old hammer never did it, just annoying..)

Someth|ngW|cked
05-21-2006, 06:05 AM
I always just select the brush in 3d view

Day of Defeat Forum Archive created by Neil Jedrzejewski.

This in an partial archive of the old Day of Defeat forums orignally hosted by Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.