CesiumGS / obj2gltf

Convert OBJ assets to glTF
Apache License 2.0
1.71k stars 307 forks source link

OBJ2GLTF can't handle with Tile_+000_+000_0.dds #16

Closed liyihongcug closed 8 years ago

liyihongcug commented 8 years ago

I have one group file ( Tile+000+0000.obj Tile+000_+0000.mtl ------------(link Tile+000_+0000.dds ) Tile+000_+000_0.dds) .

These files are from osgconv (osgb --> obj)

I don't find any error :\OBJ2GLTF>node bin/obj2gltf.js -i testobj/obj/Tile+000+000.obj -o testobj/o /Tile+000+000.gltf -e otal: 391ms.

But this gltf can't run in ceseam.js ( Error is "images": { "Tile+000+000_0": { "uri": "data:application/octet-stream;base64,RERTIHwAAAAHEAoAAAE

lexaknyazev commented 8 years ago

Could you check that glTF file with validator?

lilleyse commented 8 years ago

Cesium doesn't support dds images, you should try converting to png or jpeg instead.

zxzfcsu commented 6 years ago

Hi.Have this problem solved?How to show the gltf and its iamge? @liyihongcug