Polyfork BrowseKitsCharactersSteerPricingBlog
←

Crash Barrier Run

free remixable HD · show flat
drag to orbit · scroll to zoom
Construction Site low-poly 3D kit Part of Construction Site 62 matching parts, one palette and scale

Use it

The fastest path in three.js: one import, zero loaders. The module returns a ready THREE.Group with named parts.

import { createAsset } from './crash-barrier-run-b47d1d-hd.mjs';
scene.add(createAsset());
Print your logo on it (1 declared area — the same thing the sticker button up in the viewer does)
import * as asset from './crash-barrier-run-b47d1d-hd.mjs';
import { decalsFromSvg } from 'https://polyfork.dev/cdn/decal.mjs';

const model = asset.createAsset();
scene.add(model);

// any SVG with flat colours (up to three, plus transparency); text as paths
const svg = await (await fetch('/your-logo.svg')).text();
await decalsFromSvg(model, asset.decals, svg);

Areas on this asset: unit-flank (0.8m×0.2m) — pass a filtered asset.decals to print on some only. The bake runs in a worker; on a GLB mount read the areas from https://polyfork.dev/cdn/crash-barrier-run-b47d1d-hd-params.json and pass them in place of asset.decals. Full reference: llms.txt § Your own logo.

Full working example (a complete copy-paste HTML page)
<!doctype html>
<script type="importmap">
{ "imports": { "three": "https://unpkg.com/[email protected]/build/three.module.js",
               "three/addons/": "https://unpkg.com/[email protected]/examples/jsm/" } }
</script>
<script type="module">
import * as THREE from 'three';
import { OrbitControls } from 'three/addons/controls/OrbitControls.js';
import { createAsset } from './crash-barrier-run-b47d1d-hd.mjs';

const scene = new THREE.Scene();
scene.background = new THREE.Color(0xf3ecdc);
// Far plane at 5000: terrain blocks are 64 to 256m across and a 100m
// frustum slices them.
const camera = new THREE.PerspectiveCamera(45, innerWidth / innerHeight, 0.1, 5000);
camera.position.set(3, 2, 4);
const renderer = new THREE.WebGLRenderer({ antialias: true });
renderer.setSize(innerWidth, innerHeight);
document.body.style.margin = 0;
document.body.appendChild(renderer.domElement);
scene.add(new THREE.HemisphereLight(0xffffff, 0x998877, 1.2));
const sun = new THREE.DirectionalLight(0xfff2e0, 2);
sun.position.set(4, 7, 5);
scene.add(sun);

scene.add(createAsset());
new OrbitControls(camera, renderer.domElement);
renderer.setAnimationLoop(() => renderer.render(scene, camera));
</script>

The standard route: load the GLB with GLTFLoader. The same file works in any glTF pipeline (Babylon.js, <model-viewer>, custom engines).

import { GLTFLoader } from 'three/addons/loaders/GLTFLoader.js';

new GLTFLoader().load('./crash-barrier-run-b47d1d-hd.glb', (gltf) => {
  scene.add(gltf.scene); // real-world scale in meters, origin on the ground
});

Flat-shaded vertex colors on a single material: no textures to wire up, one draw call.

R3F takes any Object3D through <primitive>, and these modules return a ready THREE.Group synchronously. No useGLTF, no loader, no <Suspense>.

import { useMemo } from 'react';
import { Canvas } from '@react-three/fiber';
import { createAsset } from './crash-barrier-run-b47d1d.mjs';

function CrashBarrierRun(props) {
  const obj = useMemo(() => createAsset(props), [JSON.stringify(props)]);
  return <primitive object={obj} />;
}

<Canvas camera={{ position: [3, 2, 4] }}>
  <hemisphereLight args={[0xffffff, 0x998877, 1.2]} />
  <directionalLight position={[4, 7, 5]} intensity={2} />
  <CrashBarrierRun colorway="traffic-white" />
</Canvas>

Every knob is a prop. colorway="traffic-white" above is one of this model's own parameters, so the component rebuilds when it changes, exactly like any other React component. More on using these in R3F.

Self-animating models, and one draw call

A model that animates itself exposes userData.tick(seconds). Drive it from R3F's own loop:

useFrame((state) => obj.userData.tick?.(state.clock.elapsedTime));

To merge a static set into a single draw call, import mergeAssets from https://polyfork.dev/cdn/merge.mjs and pass the merged group to one <primitive>.

  1. The HD .glb downloads from this page with Pro; the low poly one is free.
  2. Unity: drag the file into Assets (glTFast or UnityGLTF import it). Godot: drop it into the project, it imports natively. Blender: File → Import → glTF 2.0.
  3. Place it as-is: real-world scale in meters, origin at ground level.
  4. Materials arrive as vertex colors on one material: no texture files, nothing to relink.

Using Claude Code, Cursor or another coding agent? This site is built for them: agent-readable docs at /llms.txt and a JSON API at /api. Paste this prompt:

Your agent authenticates with an API key: create one under My assets after purchase, and it can fetch everything you own.

I own "Crash Barrier Run" on polyfork.dev. My API key is in
the POLYFORK_KEY env var. Download it into my project and add it
to my three.js scene:

  metadata: GET https://polyfork.dev/api/assets/crash-barrier-run-b47d1d  files:    GET https://polyfork.dev/dl/crash-barrier-run-b47d1d-hd.glb
            GET https://polyfork.dev/dl/crash-barrier-run-b47d1d-hd.mjs
  (both with header  Authorization: Bearer $POLYFORK_KEY)

Site docs for agents: https://polyfork.dev/llms.txt

Every asset in this catalog shares one identical vertex-colored material, with no textures at all. That means whole scenes collapse into a single draw call: the same result Synty-style packs get from a texture atlas, without the atlas.

import { mergeAssets } from 'https://polyfork.dev/cdn/merge.mjs';

// position your assets first, then:
const { merged, dynamic } = mergeAssets([
  terrain, tree, rock,
  { object: asset, rig },   // 'gate' stays animatable
]);
scene.add(merged);                  // ONE draw call, static
dynamic.forEach(d => scene.add(d)); // rigged parts, still movable

Placing many copies of one model? Use THREE.InstancedMesh instead: one draw call and even less memory. The landing page's forest demo ends with exactly this merge.

Rigged parts: gate. Each is a named group with its pivot at the hinge or axle, so one line animates it.

const asset = createAsset();
scene.add(asset);

// swing 'gate' open (tween this value for smooth motion):
asset.getObjectByName('gate').rotation.y = Math.PI / 4;

Loading the GLB instead? The same named nodes are there: gltf.scene.getObjectByName('gate').

Crash Barrier Run HDPro

The HD edition comes with Pro: high poly, PBR materials made in code, every slider still works. The low poly model stays free.

or $149/year · what is included

Lifetime $100once

One-time purchase, no renewal. Every HD edition, current and future, and everything in Pro.

KCTJRPSW+55

9 of 200 seats left

A 4 m bay of temporary road barrier for closing a lane on somebody else's street: interlocking plastic water-filled barrier units 1.0 m tall and 0.6 m wide in hi-vis orange with moulded hand holes, pin-and-eye ends and a filler cap. Part of the Construction Site kit.

  • 1,592 triangles · 7 materials
  • 4 × 1.24 × 0.6 m, real-world scale
  • GLB (756 KB) + drop-in ES module, PBR materials generated in code
  • The viewer here is preview quality: the download is the full-detail file
  • Animated parts: gate (pivots at the hinge or axle)
  • Detachable: beacon, ballast (surface behind stays closed)
  • Commercial license: games, apps, client work, anything. No attribution required. (No reselling the raw assets, and no building a commercial asset generator from them.)

Need a different version of this? Request a variant.

Related assets

Free Site Tool Vault low-poly 3D model
Site Tool Vault
893 tris
Free Crawler Bulldozer low-poly 3D model
Crawler Bulldozer
3,586 tris
Free Tower Crane Mast low-poly 3D model
Tower Crane Mast
1,242 tris
Free Surveyor low-poly 3D model
Surveyor
4,341 tris
Free Arrow Board low-poly 3D model
Arrow Board
964 tris
Free Chain Trencher low-poly 3D model
Chain Trencher
3,278 tris

One of 3,058 free 3D models for three.js, every one hotlinkable from the CDN with no account.

Polyfork

Sign in

One account for your purchases and downloads.

Continue with Google
or

No password needed: the link signs you in directly.