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

Some model transform error, The texture can not display #34

Closed
WanghuiShmily opened this issue Nov 24, 2016 · 5 comments
Closed

Some model transform error, The texture can not display #34

WanghuiShmily opened this issue Nov 24, 2016 · 5 comments
Labels

Comments

@WanghuiShmily
Copy link

Tile_+004_+004.zip

@webprofusion-chrisc
Copy link

webprofusion-chrisc commented Dec 3, 2016

capture
For reference - this is what the submitted file looks like as .obj with mtl.

@WanghuiShmily
Copy link
Author

Thanks for your reply, I want to know how did you do it, would you tell me why my model does not have texture after using "obj2gltf" tool. The submitted file is a .obj with mtl.

@lilleyse
Copy link
Contributor

lilleyse commented Dec 5, 2016

I'm running the command node bin/obj2gltf Tile_+004_+004.obj and it's working fine.

snip

Are you using http://cesiumjs.org/convertmodel.html to convert it? I did notice it failing there:

snip2

@WanghuiShmily
Copy link
Author

I'm running the command "node bin/obj2gltf C:\Users\Administrator\Desktop\Tile_+004_+004\Tile_+004_+004.obj", And "Tile_+004_+004.gltf" file is created.
qq 20161206111316
Tile_+004_+004.zip

@pjcozzi pjcozzi added the bug label Jan 3, 2017
@lilleyse lilleyse mentioned this issue Mar 14, 2017
1 task
@lilleyse
Copy link
Contributor

Fixed in #49

Lighting should be improved for models without normals.

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

4 participants