Edges

Sometimes I make myself happy. When I started ToeTag I was determined not to have the traditional set of modes that most editors have. You know: brush, face, edge and vertex. When you go into each mode you can only select those kinds of things and none of the others.

With ToeTag, I’ve managed to implement all of those editing modes but in a completely modeless way. When you select a brush, it highlights but then it also draws it’s edges and vertices. Selecting those will highlight them and you can drag them freely. As for faces, SHIFT clicking any face in the world will select it and you can select as many as you like without having to select the brushes first. This is wonderful for texturing an area as you don’t need to be concerned with which brush owns which face. Just hold down SHIFT and grab the faces you want to work with.

Edges started working this morning. I implemented them in a somewhat cheeky manner. I allow you to click an edge in the viewports and then behind the scenes the editor selects the 2 corresponding vertices that make up that edge. As a final step, the drawing code will draw a thick highlighted line between any 2 selected verts that make up an edge. So it appears as though there is a real edge selection/dragging mode built in but in reality you’re just selecting and dragging vertices in pairs rather than individually.

Tags: ,

Leave a Reply