Primitive: Difference between revisions
Speedvoltage (talk | contribs) mNo edit summary |
Kestrelguy (talk | contribs) m (updated language bar.) |
||
Line 1: | Line 1: | ||
{{ | {{lang|Primitive}} | ||
| | ==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. | ||
==Primitive | {{note|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.}} | ||
A | {{note|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.}} | ||
{{note|Some primitives have an orientation. To set which way they face upon creation turn on the | |||
{{note|Another option that may cause problems can be found under the Tools/Options/General tab: | |||
===Simple=== | ===Simple=== | ||
====Block==== | ====Block==== | ||
The block, a basic cube, is the most-used object when mapping in Hammer. | |||
The block, a basic cube, is the most used object when mapping in Hammer. | |||
[[Image:primitive_block.jpg]] | [[Image:primitive_block.jpg]] | ||
====Cylinder==== | ====Cylinder==== | ||
A cylindrical brush created with a specified number of sides. | A cylindrical brush created with a specified number of sides. | ||
{{note|The minimum perceived valid size seems to be 64x64.}} | |||
{{note|The minimum perceived valid size seems | |||
[[Image:primitive_cylinder.jpg]] | [[Image:primitive_cylinder.jpg]] | ||
====Sphere==== | ====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. | 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. | ||
Line 33: | Line 24: | ||
====Spike==== | ====Spike==== | ||
Like the cylinder, but all the top vertices come to 1 central point. | Like the cylinder, but all the top vertices come to 1 central point. | ||
Line 39: | Line 29: | ||
====Wedge==== | ====Wedge==== | ||
The wedge is basically a triangular prism. | The wedge is basically a triangular prism. | ||
[[Image:primitive_wedge.jpg]] | [[Image:primitive_wedge.jpg]] | ||
{{Note|You are better off creating a 6-sided block and using the [[Hammer Clipping Tool|clipping tool]].}} | {{Note|You are often better off creating a 6-sided block and using the [[Hammer Clipping Tool|clipping tool]].}} | ||
===Complex=== | ===Complex=== | ||
====Arch==== | ====Arch==== | ||
This creates a basic arch as defined by the [[Hammer Arch Properties | Arch Tool]]. Multiple blocks slightly rotated will be created within 1 group. | This creates a basic arch as defined by the [[Hammer Arch Properties | Arch Tool]]. Multiple blocks slightly rotated will be created within 1 group. | ||
[[Image:primitive_arch.jpg]] | [[Image:primitive_arch.jpg]] | ||
====Torus==== | ====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 [[Hammer Torus Properties | Tool]]. | |||
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 [[Hammer Torus Properties | Tool]]. | |||
[[Image:primitive_torus.jpg]] | [[Image:primitive_torus.jpg]] | ||
==See | ==See Also== | ||
* [[Brush Creation]] | * [[Brush Creation]] | ||
* [[Hammer Block Tool]] | * [[Hammer Block Tool]] | ||
[[Category:Glossary]][[Category:Level Design]] | |||
[[Category:Glossary]] | |||
[[Category:Level Design]] |
Revision as of 20:58, 13 May 2022
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.


Simple
Block
The block, a basic cube, is the most-used object when mapping in Hammer.
Cylinder
A cylindrical brush created with a specified number of sides.

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.

Spike
Like the cylinder, but all the top vertices come to 1 central point.
Wedge
The wedge is basically a triangular prism.

Complex
Arch
This creates a basic arch as defined by the Arch Tool. Multiple blocks slightly rotated will be created within 1 group.
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.