We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How can I get texture?

Hi, Im concidering using Aspose.3D for load/save 3D model data.

Currently, Im testing load 3D object formats “FBX, OBJ, GLTF, GLB”
question is how can I get byte[] data for each texture map?


We are looking into your requirement and will get back to you soon.


Currently you can only get the byte[] from embedded texture. Texture.Content is the Property which will serve the purpose. Please let us know in case you need further assistance.

Can you support texture byte[] for “glb, gltf, obj”?


We will definitely look into it. Would you kindly provide your sample file so that we can investigate the feasibility accordingly.


here few samples glb, obj, fbx.
everyone having texture.

when I load this file Texture.Contents is null.
also Texture.FilePath is incorrect.

I tested with “20.12.2” version can you check this issue?


We are checking this and will get back to you in a while.


We have logged a ticket as THREEDNET-817 in our issue tracking system for the investigation against your case presented in this forum thread. We will perform investigation and let you know as soon as the ticket is resolved. Please be patient and spare us some time.

We are sorry for the inconvenience.


Please check our comments in the linked thread of yours which will help you figure out how to get the texture data.

When Texture.Contents is empty and the image path corresponding to Texture.FilePath does not exist (the relative path of the file name does not exist, and the external file does not exist), the texture image can still be seen when opening the FBX file with other software. May I ask which other location in the FBX file the texture image I see is stored in, and how can I read the texture image data.

Free Stock Textures. Created by two photographers and artists, this website hosts a ton of textures all licensed under Creative Commons Zero.


We have recorded your feedback under the logged ticket and will let you know after analysis is done.

I tested with “20.12.2” version can you check this issue?


It depends on how the other software handles the texture file access, some may uses a predefined search directories, some may infer the base file name from Texture.FileName and try to find it in current directory or “{main file directory}\textures” or “{main file directory}\assets”.