# GLTF model loading but its not appearing

**URL:** <https://discourse.threejs.org/t/gltf-model-loading-but-its-not-appearing/17327>\
**Category:** Questions\
**Tags:** loaders\
**Created:** [July 22, 2020, 6:02pm UTC](https://discourse.threejs.org/t/gltf-model-loading-but-its-not-appearing/17327 "2020-07-22T18:02:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nirajmchauhan](https://avatars.discourse-cdn.com/v4/letter/n/bb73d2/32.png) [@nirajmchauhan](https://discourse.threejs.org/u/nirajmchauhan)\
**Post date:** [July 22, 2020, 6:02pm UTC](https://discourse.threejs.org/t/gltf-model-loading-but-its-not-appearing/17327/1 "2020-07-22T18:02:33Z")

</div>

Hi,

I just started with Three.JS and I am trying to load an animated GTLF model in my code, but for some reason, the model is not appearing, I tried playing with the camera position, but still it’s not appearing.

```
<body>
  <div class="scene"></div>
</body>
const container = document.querySelector(".scene");

const scene = new THREE.Scene();

const camera = new THREE.PerspectiveCamera(80, container.clientWidth / container.clientHeight);
camera.position.set(100,100,100);

const renderer = new THREE.WebGLRenderer({ alpha: true });
renderer.shadowMap.enabled = true;
renderer.setSize(container.clientWidth, container.clientHeight);
renderer.setPixelRatio(window.devicePixelRatio);

container.appendChild(renderer.domElement);

const loader = new THREE.GLTFLoader();

loader.load("../models/running/scene.gltf", function (gltf) {
  const model = gltf.scene;
  scene.add(model);
  animate();
}, undefined,
  function (error) {
    console.error(error);
  });

function animate() {
  renderer.render(scene, camera);
}

```

The model I am using is from [sketchfab.com](http://sketchfab.com)  
[https://sketchfab.com/3d-models/cyberpunk-character-animated-d97c9947fb184904a58dd637f86d0a88](https://sketchfab.com/3d-models/cyberpunk-character-animated-d97c9947fb184904a58dd637f86d0a88)

---

<div class="post-metadata">

**Author:** ![donmccurdy](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/donmccurdy/32/33209_2.png) [@donmccurdy](https://discourse.threejs.org/u/donmccurdy)\
**Post date:** [July 22, 2020, 6:40pm UTC](https://discourse.threejs.org/t/gltf-model-loading-but-its-not-appearing/17327/2 "2020-07-22T18:40:46Z")

</div>

Please check the troubleshooting steps explained here: [https://threejs.org/docs/#manual/en/introduction/Loading-3D-models](https://threejs.org/docs/#manual/en/introduction/Loading-3D-models)
