KhronosGroup / glTF

glTF – Runtime 3D Asset Delivery
Other
7.06k stars 1.13k forks source link

Conversion issue #363

Closed satishkashyap closed 9 years ago

satishkashyap commented 9 years ago

Facing an error in conversion of a SketchUp Collada model to glTF. Have tried multiple options to convert a wind turbine but end up losing 2 blades of the turbine in the conversion. The rest of the structure is intact. Please suggest..

RemiArnaud commented 9 years ago

Hard to tell anything without the model. Could be a problem with sketchup exporter, could be a problem with glTF converter. Can you first check your model is correct to begin with. If you have access to a mac, double click on the dae to open the model in preview. On a PC you can use FBX preview to load/display .dae but it is not as reliable.

I don't know if sketchup can import .dae. If it can, try importing the model in sketchup. More reliable are the openCollada import/export plig-ins for Max and Maya. Blender works most of the time but has issues with skeletons and animations - but you have none of that in sketchup so you should be fine.

fabrobinet commented 9 years ago

@satishkashyap You need to provide a test-case to repro so that we can look at the issue. Thank you.

satishkashyap commented 9 years ago

Have emailed the files - input dae as well as output gltf.

@RemiArnaud - To confirm that dae is working, have opened it in VisualStudio. The dae exported from SketchUp is fine. However, the converted file has only one blade (out of three). The rest of the turbine structure is in order...

fabrobinet commented 9 years ago

@satishkashyap thanks - how did you figure the glTF file was missing 2 blades ? by watching in a viewer, if so which one ? or by inspecting the glTF file ?

satishkashyap commented 9 years ago

@fabrobinet - I checked the glTF file in Cesium by placing it on the map..

fabrobinet commented 9 years ago

@pjcozzi this could be a dup of https://github.com/AnalyticalGraphicsInc/cesium/issues/1754 . What do you think ? can you check with the model @satishkashyap sent to both of us ?

satishkashyap commented 9 years ago

@pjcozzi @fabrobinet & @RemiArnaud Find the final image rendered by Cesium..

image

pjcozzi commented 9 years ago

This is a Cesium bug that we will have a fix for soon: https://github.com/AnalyticalGraphicsInc/cesium/issues/1754

@satishkashyap keep an eye on the above issue.