Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect texturing with multiple UV maps #384

Closed
orlade opened this issue May 11, 2015 · 4 comments
Closed

Incorrect texturing with multiple UV maps #384

orlade opened this issue May 11, 2015 · 4 comments
Labels

Comments

@orlade
Copy link

orlade commented May 11, 2015

I'm trying to import a KMZ into Cesium by first converting the DAE inside into glTF with COLLADA2GTF. However when I import the glTF mesh into Cesium, it doesn't seem to apply the texture correctly to the geometry (the location is deliberately incorrect):

cesium

My guess is that it's because the DAE has multiple UV maps and for some reason either COLLADA2GLTF or Cesium can't handle that.

Here is the source file as a KMZ, which you can unzip to get the DAE and images.

Here is what it should look like (KMZ in Google Earth):

earth

However, here is what the DAE alone looks like in Autodesk FBX Review. The second image is the same model as the first, but flipped upside-down.

fbx1

fbx2

Do you know either a) if this is a problem with COLLADA2GLTF that can be fixed, or b) if it's a problem with either the COLLADA model or with Cesium, in which case is there an obvious attribute that I can fix?

@pjcozzi
Copy link
Member

pjcozzi commented Jul 18, 2015

@orlade any updates? To help find the problem, have you tried the troubleshooting section here - https://cesiumjs.org/2014/03/03/Cesium-3D-Models-Tutorial/

@tfili any thoughts on the multiple texture coordinates?

@orlade
Copy link
Author

orlade commented Jul 19, 2015

@pjcozzi I'm afraid not. It wasn't a very common failure mode, so we didn't manage to get to the bottom of it before the end of the project. You can close this if it doesn't seem like a glTF issue.

As for an update on the project(s), I replied to the mailing list.

@pjcozzi
Copy link
Member

pjcozzi commented Jul 19, 2015

Let's leave this open in case it is a converter bug, thanks.

@pjcozzi
Copy link
Member

pjcozzi commented Dec 23, 2017

Replaced by KhronosGroup/COLLADA2GLTF#116

@pjcozzi pjcozzi closed this as completed Dec 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants