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?

@HuePark

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

@HuePark

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”?

@HuePark

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?

@HuePark

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

@HuePark

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.

@HuePark

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