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

Support loading a 3D model's textures from memory #97

Open
3 tasks
johannesugb opened this issue Apr 1, 2021 · 0 comments
Open
3 tasks

Support loading a 3D model's textures from memory #97

johannesugb opened this issue Apr 1, 2021 · 0 comments
Labels
C++ C++-centric task enhancement New feature or request urgent This issue has high priority

Comments

@johannesugb
Copy link
Member

Some 3D models include the texture data directly in the 3D model file. Currently, Gears-Vk only supports loading textures from file during model loading, but the functionality should be extended s.t. they can also be loaded from memory.

These two 3D model files can serve as test subjects (TODO: To be verified):

And there's already someone who implemented this, so the following post by alexforever82 is probably helpful: assimp/assimp#408 (comment)

Definition of done:

  • 3D model files with integrated textures can be loaded gvk::model_t::load_from_file
  • The serializer functionality is supported, i.e. by the means of gvk::create_image_from_file_cached or a similar *_cached function
  • The code is well documented and the Contribution Guidelines have been followed.
@johannesugb johannesugb added enhancement New feature or request C++ C++-centric task urgent This issue has high priority labels Apr 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C++ C++-centric task enhancement New feature or request urgent This issue has high priority
Development

No branches or pull requests

1 participant