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

About the error of saving the object file as gltf. #28

Open
sxy771 opened this issue Sep 8, 2022 · 6 comments
Open

About the error of saving the object file as gltf. #28

sxy771 opened this issue Sep 8, 2022 · 6 comments

Comments

@sxy771
Copy link

sxy771 commented Sep 8, 2022

I tried to save and hope to check that file by blender.

writeToGLTF in saveScene doesn't seem to work well.

스크린샷 2022-09-08 오전 9 41 34

Because it cant be opened caused by worn saved file format.

스크린샷 2022-09-07 오후 5 38 24

Then, I checked the file compared with the commonly used gltf file as Damaged Helmet.

if showed quite different data information as below.

Caused by the lack of access permission, I could just look up the header files.
How to fix and save the gltf file appropriately to be able to be shown by blender?

스크린샷 2022-09-07 오후 5 35 01

If anyonw knows the solution, could you give me advice about that?

@sxy771
Copy link
Author

sxy771 commented Sep 13, 2022

Is there anyone who can know/solve this issue?

@geodesicDavid
Copy link

I've also been running into the same issue

@meichen8050753
Copy link

I have the same issue

@aaptho
Copy link
Collaborator

aaptho commented Dec 9, 2022

The GLTF format we write here is actually not quite valid. If anyone wants to volunteer and fix our GLTF writing, I’d welcome the PR! Check out SceneGraphFileIO_GLTF.cpp

@macayer
Copy link

macayer commented Nov 6, 2023

Hello @aaptho

Did anyone found a solution yet to export the GLTF file with a valid format nor the 3d object outside the app?

I would need to use the file outside of the application.

Thx

@aaptho
Copy link
Collaborator

aaptho commented Nov 12, 2023

Nobody has submitted a PR to fix the implementation of WriteSceneGraphToGltf, but I welcome the fix. It’s likely to be something simple.

In the mean time, PLY and OBJ export may work correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants