You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In yoga/model/assimp.cpp, extract_image_nodes does not extract already embedded textures, they are ignored.
Keeping the very same convention than assimp, we could just fill imageNode with:
auto imageNode = new ImageNode();
imageNode->path = "*1"; // Same convention, the 1 is the index of the textures in scene->mTextures
imageNode->bytes = /* extract bytes for scene->mTextures */;
imageNode->bytes_length = /* extract bytes length */;
The text was updated successfully, but these errors were encountered:
In
yoga/model/assimp.cpp
,extract_image_nodes
does not extract already embedded textures, they are ignored.Keeping the very same convention than assimp, we could just fill
imageNode
with:The text was updated successfully, but these errors were encountered: