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

Conversion Always Missing One Box. #37

Closed
daiyunbo opened this issue Dec 12, 2016 · 3 comments
Closed

Conversion Always Missing One Box. #37

daiyunbo opened this issue Dec 12, 2016 · 3 comments
Labels

Comments

@daiyunbo
Copy link

draw some boxes in 3ds max 2015,for example,draw six boxes and export as an OBJ file as show below. Then, use the obj2gltf tool to convert this OBJ file to binary gltf and load it in Cesium, as show below, there is always one box missing! Only five boxes instead of six box are in the scene. I have tried other cases like five or seven boxes, after the conversion, always one box was gone.

sixbox_3dsmax2015
fivebox_cesium

@lilleyse
Copy link
Contributor

Thanks for the report. Can you post the obj you used?

@daiyunbo
Copy link
Author

@lilleyse
Thank you for your reply. I tried to post my OBJ file , but it prompts me "We don't support that file type" , even I post a ZIP file. So I just change the extension name of the OBJ files(two file: sixBox.obj and sixBoxmtl.mtl as show below) to an extension ".txt", please just respectively change them to their original extension names: "sixBox.obj" and "sixBoxmtl.mtl".

sixbox_obj

sixBox.txt
sixBoxmtl.txt

@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

However the .mtl file had to change Tr 0 to Tr 1 so it wasn't invisible.

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

3 participants