Primitive: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Sentence made no sense.)
m (otherlang2)
Line 1: Line 1:
{{otherlang2
|pt=Primitive:pt
}}
==Primitive types==
==Primitive types==
A '''primitive''' is by definition a very simple structure. Primitive, as it relates to the [[Valve Hammer Editor]], refers to a [[brush]]-based object that conforms to a common shape. Primitives include arches, blocks, cylinders, spheres, spikes, tori and wedges. Some are made up of multiple brushes but are still considered primitive as they are used commonly and are of a simple shape. Two examples of multiple-brush primitives are tori and arches.
A '''primitive''' is by definition a very simple structure. Primitive, as it relates to the [[Valve Hammer Editor]], refers to a [[brush]]-based object that conforms to a common shape. Primitives include arches, blocks, cylinders, spheres, spikes, tori and wedges. Some are made up of multiple brushes but are still considered primitive as they are used commonly and are of a simple shape. Two examples of multiple-brush primitives are tori and arches.

Revision as of 12:08, 6 September 2011

Template:Otherlang2

Primitive types

A primitive is by definition a very simple structure. Primitive, as it relates to the Valve Hammer Editor, refers to a brush-based object that conforms to a common shape. Primitives include arches, blocks, cylinders, spheres, spikes, tori and wedges. Some are made up of multiple brushes but are still considered primitive as they are used commonly and are of a simple shape. Two examples of multiple-brush primitives are tori and arches.

Note.pngNote:Some primitives have an orientation. To set which way they face upon creation turn on the 'Reorient primitives on creation in the active 2D view' option under the Tools/Options/2D views tab. Now whichever 2D view you leave active (click in last) will be the way the object faces.
Note.pngNote:Another option that may cause problems can be found under the Tools/Options/General tab: 'Stretch arches and toruses to fit original bounding rectangle.' This means any arches or tori you create will fill the box you drew. If turned off it will consider that box as defining the circle the arch or torus is drawn from.

Simple

Block

The block, a basic cube, is the most used object when mapping in Hammer.

Primitive block.jpg

Cylinder

A cylindrical brush created with a specified number of sides.

Note.pngNote:The minimum perceived valid size seems is 64x64

Primitive cylinder.jpg

Sphere

The sphere is a rather complicated piece of geometry, so it would be wise to be careful with the number of faces you give the sphere.

Primitive sphere.jpg

Spike

Like the cylinder, but all the top vertices come to 1 central point.

Primitive spike.jpg

Wedge

The wedge is basically a triangular prism.

Primitive wedge.jpg

Complex

Arch

This creates a basic arch as defined by the Arch Tool. Multiple blocks slightly rotated will be created within 1 group.

Primitive arch.jpg

Torus

The torus resembles an inner tube or a donut. This primitive can easily mass polygons so keep the number of faces on this primitive low. Like the arch it has a special Tool.

Primitive torus.jpg

See also