2

I need to extract a 3d model with all coresponding textures from glb file in a format I can use in some 3d editor tools. The best format suported by many 3d editors is 3ds. A beter solution would be if it is posible to save the model in my own custom format. The textures need to be exported to any comon format for textures. Would be good if the API is crosplatform, at least it should have no OS related or other external dependancies.

3
  • Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer.
    – Community Bot
    Dec 28, 2021 at 21:31
  • What should I limit?
    – convert
    Jan 11 at 16:53
  • 1
    @convert this is just automated message posted when the question get close votes of type "Needs more focus". As the close reason says: "This question currently includes multiple questions in one. It should focus on one problem only.". The automated comment has bad wording, that's all. Jan 12 at 11:05

1 Answer 1

1

TinyGLTF is a header only C++11 glTF 2.0 library. This should give you access to the contents of a glb file, including textures and model. You can then export this in the format of your choice, of course you have to show yourself how to export it.

2
  • 1
    Is there some documentation of that API?
    – convert
    Jan 11 at 19:55
  • @convert Unfortunately, I couldn't find any documentation on this, so I had to explain everything using the examples available there. Jan 12 at 14:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.