# skined mesh

**URL:** <https://community.cesium.com/t/skined-mesh/3225>\
**Category:** CesiumJS\
**Created:** [October 26, 2015, 6:20pm UTC](https://community.cesium.com/t/skined-mesh/3225 "2015-10-26T18:20:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![retepik](https://avatars.discourse-cdn.com/v4/letter/r/ec9cab/32.png) [@retepik](https://community.cesium.com/u/retepik)\
**Post date:** [October 26, 2015, 6:20pm UTC](https://community.cesium.com/t/skined-mesh/3225/1 "2015-10-26T18:20:28Z")

</div>

Hi everyone,  
I created easy model with bones,skinned mesh and animation in 3DS. I need to access to bones from my code. I exported this model into dae and next with collada2glTF 0.8 to gltf file.  
I used this code from tutorial to add my model to globe in Cesium:

var viewer = new Cesium.Viewer('cesiumContainer');  
var scene = viewer.scene;  
&nbsp;&nbsp;  
var modelMatrix = Cesium.Transforms.eastNorthUpToFixedFrame(  
&nbsp;&nbsp;&nbsp;&nbsp;Cesium.Cartesian3.fromDegrees(-75.62898254394531, 40.02804946899414, 0.0));  
&nbsp;&nbsp;&nbsp;&nbsp;var model = scene.primitives.add(Cesium.Model.fromGltf({  
&nbsp;&nbsp;&nbsp;&nbsp;url : '../SampleData/models/CesiumGround/example.gltf',  
&nbsp;&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;modelMatrix : modelMatrix,  
&nbsp;&nbsp;&nbsp;&nbsp;scale : 200.0  
&nbsp;&nbsp;&nbsp;&nbsp;}));

But I got an error:

An error occurred while rendering. Rendering has stopped.  
undefined  
TypeError: Cannot read property 'transformToRoot' of undefined  
TypeError: Cannot read property 'transformToRoot' of undefined  
&nbsp;&nbsp;&nbsp;&nbsp;at rr ([http://localhost:8080/Build/Cesium/Cesium.js:443:17117](http://localhost:8080/Build/Cesium/Cesium.js:443:17117))  
&nbsp;&nbsp;&nbsp;&nbsp;at \_r.update ([http://localhost:8080/Build/Cesium/Cesium.js:443:27972](http://localhost:8080/Build/Cesium/Cesium.js:443:27972))  
&nbsp;&nbsp;&nbsp;&nbsp;at a.update ([http://localhost:8080/Build/Cesium/Cesium.js:457:15103](http://localhost:8080/Build/Cesium/Cesium.js:457:15103))  
&nbsp;&nbsp;&nbsp;&nbsp;at Tt ([http://localhost:8080/Build/Cesium/Cesium.js:459:13328](http://localhost:8080/Build/Cesium/Cesium.js:459:13328))  
&nbsp;&nbsp;&nbsp;&nbsp;at xt ([http://localhost:8080/Build/Cesium/Cesium.js:459:14030](http://localhost:8080/Build/Cesium/Cesium.js:459:14030))  
&nbsp;&nbsp;&nbsp;&nbsp;at Mt.render ([http://localhost:8080/Build/Cesium/Cesium.js:459:20433](http://localhost:8080/Build/Cesium/Cesium.js:459:20433))  
&nbsp;&nbsp;&nbsp;&nbsp;at P.render ([http://localhost:8080/Build/Cesium/Cesium.js:464:23489](http://localhost:8080/Build/Cesium/Cesium.js:464:23489))  
&nbsp;&nbsp;&nbsp;&nbsp;at t ([http://localhost:8080/Build/Cesium/Cesium.js:464:10458](http://localhost:8080/Build/Cesium/Cesium.js:464:10458))

this dae file work fine in ThreeJS and Blender  
I didn't find topic for this error in google  
Has somebody idea what is the problem?

Thank you very much.

retepik

---

<div class="post-metadata">

**Author:** ![retepik](https://avatars.discourse-cdn.com/v4/letter/r/ec9cab/32.png) [@retepik](https://community.cesium.com/u/retepik)\
**Post date:** [October 28, 2015, 8:43am UTC](https://community.cesium.com/t/skined-mesh/3225/2 "2015-10-28T08:43:06Z")

</div>

I found solution. I replaced bones with dummy in 3DS max, exported into FBX, opened in Blender, exported into collada and dae file converted in glTF with [http://cesiumjs.org/convertmodel.html](http://cesiumjs.org/convertmodel.html)

retepik

---

<div class="post-metadata">

**Author:** ![retepik](https://avatars.discourse-cdn.com/v4/letter/r/ec9cab/32.png) [@retepik](https://community.cesium.com/u/retepik)\
**Post date:** [November 4, 2015, 5:43pm UTC](https://community.cesium.com/t/skined-mesh/3225/3 "2015-11-04T17:43:38Z")

</div>

And I translate and rotate pivot of skinned meshes in 3ds Max in [0,0,0]

---

<div class="post-metadata">

**Author:** ![sean\_lilley](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/sean_lilley/32/2083_2.png) [@sean\_lilley](https://community.cesium.com/u/sean_lilley)\
**Post date:** [November 20, 2015, 2:18pm UTC](https://community.cesium.com/t/skined-mesh/3225/4 "2015-11-20T14:18:53Z")

</div>

Hi, we recently fixed a bug related to skinned mesh loading that may solve this problem. Do you have the original dae/gltf that I can test with? You can also try running it yourself with the latest code on master.
