# Milking Parlour (Pixel Modern Farm)

Milking parlour with a run of stalls along the front, a bulk tank bay and a hinged side door.

- **URL:** https://3dassets.dev/assets/pixel-modern-farm-milking-parlour-ce3511ca
- **GLB (direct, CORS *, immutable):** https://cdn.3dassets.dev/assets/29104/v1/model.glb
- **Download (counted):** https://3dassets.dev/download/pixel-modern-farm-milking-parlour-ce3511ca
- **Licence:** CC0 1.0 Universal: https://creativecommons.org/publicdomain/zero/1.0/ (no attribution required)
- **Contributor:** 3D Assets (@3dassets): https://3dassets.dev/u/3dassets
- **Category:** Buildings & Architecture
- **Tags:** Modern, Pixel / Retro, Kit / Set, Animated
- **Geometry:** 652 triangles, 1,956 vertices, 6 meshes, 4 materials, 1 textures
- **Size (m):** 9.49 × 4.7 × 8.705
- **Animations:** open, close
- **File size:** 0.05 MB
- **Downloads:** 0
- **AI used (contributor-reported):** yes; model: Claude Fable 5.1

## About

Milking parlour with a run of stalls along the front, a bulk tank bay and a hinged side door. Dimensions 9.49 × 4.70 × 8.70 m (X × Y × Z). Footprint centred origin resting at ground level. Metres, +Y up, +Z front. Named pivot nodes: door at 2.75, 0.00, 3.00. Nine by six metres with a shallow pitched roof. The door is the one animated node; the stalls, tank and pipework do not move. The tank display is the only lit surface. Rigid node-transform clips: open and close. No skinning. Pixel Modern family palette (warm white, light oak, soil brown, charcoal, slate blue, sage, coral, mustard and a screen cyan) with 32 px nearest filtered maps on every surface. Free 3D model for a modern farming game: pixel art 3D built low poly, CC0 and ready for Unity, Godot, Unreal, three.js and Blender. Original design with blank painted panels; no brands, logos or copied artwork.

## Use with three.js

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

let mixer

const loader = new GLTFLoader()
loader.load('https://cdn.3dassets.dev/assets/29104/v1/model.glb', (gltf) => {
  scene.add(gltf.scene)
  mixer = new AnimationMixer(gltf.scene)
  mixer.clipAction(gltf.animations[0]).play()
})

// Call from your render loop; deltaSeconds is time since the previous frame.
function updateAssetAnimation(deltaSeconds) {
  mixer?.update(deltaSeconds)
}
```

## React Three Fiber

```jsx
import { useGLTF, useAnimations } from '@react-three/drei'
import { useEffect } from 'react'

export function MilkingParlourPixelModernFarm(props) {
  const { scene, animations } = useGLTF('https://cdn.3dassets.dev/assets/29104/v1/model.glb')
  const { actions, names } = useAnimations(animations, scene)
  useEffect(() => {
    const action = actions[names[0]]
    action?.reset().play()
    return () => { action?.stop() }
  }, [actions, names])
  return <primitive object={scene} {...props} />
}
useGLTF.preload('https://cdn.3dassets.dev/assets/29104/v1/model.glb')
```

## <model-viewer>

```html
<model-viewer src="https://cdn.3dassets.dev/assets/29104/v1/model.glb" alt="Milking Parlour (Pixel Modern Farm)" camera-controls auto-rotate autoplay></model-viewer>
```

## Blender

```python
# Blender 4.x: File > Import > glTF 2.0, or from the Python console after downloading the file.
import bpy
bpy.ops.import_scene.gltf(filepath='model.glb')  # from https://cdn.3dassets.dev/assets/29104/v1/model.glb
# Metres and +Y up are converted to Blender's Z-up scene automatically.
# Clips arrive as actions; play them from the Dope Sheet > Action Editor.
```

## Godot

```gdscript
# Godot 4: copy model.glb into res://models/ and the editor imports it as a scene.
var packed := load("res://models/model.glb") as PackedScene
var model := packed.instantiate()
add_child(model)
var player := model.find_child("AnimationPlayer", true, false) as AnimationPlayer
player.play(player.get_animation_list()[0])
```

## Unity

```csharp
// Unity: import model.glb with glTFast (Package Manager: com.unity.cloud.gltfast) and drag the prefab in,
// or load it at runtime straight from the CDN:
using GLTFast;
var gltf = new GltfImport();
if (await gltf.Load("https://cdn.3dassets.dev/assets/29104/v1/model.glb")) await gltf.InstantiateMainSceneAsync(transform);
// Clips import as legacy AnimationClips on the root; GetComponent<Animation>().Play() starts the first.
```

---
JSON: https://3dassets.dev/api/v1/assets/pixel-modern-farm-milking-parlour-ce3511ca · Loads with a plain GLTFLoader: no Draco/KTX2 loaders needed.