google-ar / sceneform-android-sdk

Sceneform SDK for Android
https://developers.google.com/sceneform/develop/
Apache License 2.0
1.23k stars 604 forks source link

Some gltf items are not rendered properly #247

Closed hcjung2000 closed 5 years ago

hcjung2000 commented 6 years ago

Hi, I'm using gltf files exported by 3ds Max babylon.js gltf exporter.

These files are rendered pretty cool on https://gltf-viewer.donmccurdy.com/ But, when I convert these gltf files to sfb files, items are not rendered properly.

these are gltf and sfb files. thank you. Playground_Sofa.zip Playground_Sofa_sfb.zip

pg pg

claywilkinson commented 6 years ago

Just to confirm the issues - it looks like the shadow is getting cut off when you rotate the sofa, and the plane visualization is on top?

It is possible both of these are caused by having the renderable model extend below the node position? Did you try moving the center of the model to the bottom of the mesh (or in the code move the node up to confirm the problem)?

malik-at-work commented 5 years ago

Closing due to inactivity.