# Doorway Frame (Sunken City and Underwater Ruins)

Four metre wall bay with a 1.72 by 2.3 m doorway, a carved lintel band and one timber and bronze leaf that swings on its jamb.

- **URL:** https://3dassets.dev/assets/sunken-city-and-underwater-ruins-doorway-frame-1292bfb7
- **GLB (direct, CORS *, immutable):** https://cdn.3dassets.dev/assets/36955/v1/model.glb
- **Download (counted):** https://3dassets.dev/download/sunken-city-and-underwater-ruins-doorway-frame-1292bfb7
- **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:** Fantasy, Low Poly, Modular, Animated, Exterior
- **Geometry:** 600 triangles, 1,800 vertices, 4 meshes, 4 materials, 0 textures
- **Size (m):** 3.98 × 3.02 × 0.871
- **Animations:** open, close
- **File size:** 0.03 MB
- **Downloads:** 0
- **AI used (contributor-reported):** yes; model: Claude Opus 5

## About

Four metre wall bay with a 1.72 by 2.3 m doorway, a carved lintel band and one timber and bronze leaf that swings on its jamb. Dimensions 3.98 by 3.02 by 0.87 m (X by Y by Z). Metre units, +Y up, +Z front, origin on the footprint at seabed level. Animated pivot nodes: leaf-door at (-0.86, 0.00, 0.31) m. Connectors: east (wall-4m) at (2.00, 0.00, 0.00) facing (1, 0, 0); west (wall-4m) at (-2.00, 0.00, 0.00) facing (-1, 0, 0). The leaf is the only moving part; the wall, jambs, lintel and carved band are solid. The carved band is invented ornament and not a script. Sunken city palette: weathered grey limestone and dark algae stained stone, pale silt, deep green weed, coral pink, waterlogged timber, tarnished bronze and one translucent blue emissive for glow, bubbles and light. Rigid node-transform clips: open and close. No skinning. No collision or navigation data.

## 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/36955/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 DoorwayFrameSunkenCityAndUnderwaterRuins(props) {
  const { scene, animations } = useGLTF('https://cdn.3dassets.dev/assets/36955/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/36955/v1/model.glb')
```

## <model-viewer>

```html
<model-viewer src="https://cdn.3dassets.dev/assets/36955/v1/model.glb" alt="Doorway Frame (Sunken City and Underwater Ruins)" 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/36955/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/36955/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/sunken-city-and-underwater-ruins-doorway-frame-1292bfb7 · Loads with a plain GLTFLoader: no Draco/KTX2 loaders needed.