Check out Half-Life Re-imagined competition results!
Check out Skewing textures in Hammer, our newest tutorial!
Say hello to Daedle, our newest member!

logo

Site Stuff

Reference

Maps

Community

ShoutBOX

Poll

Feeling Blue

What's your favourite shade of blue?

Azure

11

Cobalt

24

Turquoise

7

Cyan

9

Royal

5

Teal

3

Onliners

1 mins

rufee

4 mins

James Luke

7 mins

Unq

9 mins

Striker

9 mins

SourceSkyBoxer

9 mins

Screamernail

12 mins

ZikShadow

Affiliates

A gaming and technology blog by TWHL admins Penguinboy and Ant. A music blog by TWHL users Ant and Hugh.

EXAMPLE "triangle" construction

Map Vault > Example Maps

map screenshot

Ratings Disabled

[More Screenshots]

Avatar

By Captain Terror (See more)
15th April, 2009

Half-Life
765.5KB - RMF
1873 views
434 downloads
11 comments

Last edited: 4th March, 2012

download

"Triangles", tetragons, 4-sided pyramid, these all describe the same thing: the simplest brush you have avaialable to build stuff with, most commonly describes as "triangles" in the forums.

NOTE: sometimes it is only necessary to clip a rectangualr brush into two triangles to make an "invalid solid" error and others go away, but sometimes if you have avery difficult shape, you are better off using purely tetragons or "triangles".

It is nearly impossible to get errors VMing with only these brushes. (clipping is another story of course).

To avoid the dreaded "leaf saw" errors on your during VIS Compile, construct your complex detail items and props in hammer entirely out of 4-sided polygons.

Included are a cube cut into 6, 4-sided polygons, and a partially hollow cube created out of 4, 4-sided polygons, slightly contorted.

I would recommend using only the first mentioned, 6-piece cube for your construction, as the weirdly hollow, 4-piece cube is more of a novelty, just showing you it's possible. However, if you can find a use for the 4-piece cube, go ahead!
= )

Hope this helps some people endeavoring to create fancy brushwork in Valve Hammer Editor! Again, DO NOT make your entire map out of these stuctures! Doing so would be highly impractical/unnecessary, and boost your compile time to a unmanageable level very quickly..
= )

Comments

avatar Skals says: 15th April 2009, 15:17 PM
a 4 sided triangle is called a pyramid?
avatar TJB says: 15th April 2009, 18:24 PM
No it's not. A triangle is two dimensional, and a pyramid is three dimensional. A four sided triangle is a geometric impossibility.
Unless you're high.
avatar Tetsu0 says: 15th April 2009, 18:53 PM
You do mean tetrahedrons correct? Tetrahedrons have 4 corners, 4 faces, but only 3 sides per face.
Using tetrahedrons eliminate the appearance of invalid brushes. It's what i use to make all my crazy creations.
avatar Captain Terror says: 16th April 2009, 13:10 PM
4-sided polygon i meant to say!
=)
avatar Skals says: 17th April 2009, 06:33 AM
lol ok
avatar Striker says: 18th April 2009, 08:04 AM
Yeah, doubling my work time in hammer.
avatar The Mad Carrot says: 18th April 2009, 09:38 AM
Don't bother using triangles, pyramids, tetrahedrons or whatever to make up your level. The number of brushes used would skyrocket and before you know it, you've reached the brush limit.

Also, the leaf saw into leafs is not an error, its just a warning and it can be ignored, as it won't make you map unplayable.
Just make sure your brush work is grid-safe (IE: vertices on the grid) and compile with full vis for the final compile. Its also recommended to use cliptype precise or cliptype simple.
avatar Captain Terror says: 18th April 2009, 14:27 PM
Yeah, you would NEVER make your whole map out of these things, just uber-complex stuff like the canopy/cockpit shell to my Jedi Starfighter, or my Klein bottle from the Geometry Challenges..

It is virtually impossible to make leaf-saw errors using these structures, that's the whole point, again, not for your whole map, just for crazy detail items and props! ;)
avatar The Mad Carrot says: 19th April 2009, 09:06 AM
True. :)
avatar potatis_invalid says: 19th April 2009, 13:40 PM
I use pyramids and similar for walls, ceilings and floors whenever it doesn't mean I have to use more brushes.
avatar Rimrook says: 24th April 2009, 01:47 AM
... Its a Tetragon.
You must be logged in to comment.