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

editor fails to load dae #11936

Closed
makc opened this issue Aug 12, 2017 · 6 comments
Closed

editor fails to load dae #11936

makc opened this issue Aug 12, 2017 · 6 comments
Labels

Comments

@makc
Copy link
Contributor

makc commented Aug 12, 2017

Going collada route because of #11935 I see following error in the editor:
screen shot 2017-08-12 at 22 57 23

File attached below:
chibi.dae.zip

@Mugen87
Copy link
Collaborator

Mugen87 commented Aug 12, 2017

I will have a look at this tomorrow. Thanks for the file so far!

@Mugen87
Copy link
Collaborator

Mugen87 commented Aug 12, 2017

After a quick look at the dae, i suppose the error occurs because there are no material definitions in the file. If i remember correctly, this case is not considered by ColladaLoader2 so far.

@makc Can you try to export your model with a material applied on it? (I've not looked in the source code yet but it's a good trial i think)

@makc
Copy link
Contributor Author

makc commented Aug 12, 2017

@Mugen87 yep, this seems to work, thanks. the bounding box is off, but I can live with that.
screen shot 2017-08-13 at 0 32 44

@makc
Copy link
Contributor Author

makc commented Aug 12, 2017

editor does not export the bones 😩 how deep is this rabbit hole (it actually exports them as Obj3D-s... useless)

@Mugen87
Copy link
Collaborator

Mugen87 commented Aug 13, 2017

@makc I've provided a little improvement to ColladaLoader2. Even if you apply no materials, ColladaLoader2 should load the file with a default material now. So there should be no errors anymore and you see your object in the 3D scene.

@Mugen87
Copy link
Collaborator

Mugen87 commented Aug 13, 2017

editor does not export the bones 😩 how deep is this rabbit hole (it actually exports them as Obj3D-s... useless)

I think the editor just doesn't support skinned meshes so far. Let's discuss this problem here #8422

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