Free Support Forum - aspose.com

Cannot open glb

image.png (106.0 KB)
https://drive.google.com/file/d/1aleLP-aF1HbCp1gybDNnvuv_m012u7YK/view?usp=sharing

Can you explain why it import failing?

@HuePark

We were unable to notice any issue while loading your shared file with Aspose.3D for .NET 20.12.2. Would you kindly make sure to use the latest available version of the API and in case you still face any issue, please feel free to let us know.

image.png (48.6 KB)

I think I’m already using 20.12.2.

but still having same issue.
Can you give me a few check list?

@HuePark

Would you kindly make sure that you are using a valid license while using the API. In case you do not have one, please consider using a 30-days free temporary license. Please let us know if issue still persists.

I found issue my self.
when I pass “LoadOption” argument to Scene.Open() function then it makes error.
for now I can use without load option.

for your information here what I tried with this code it makes error.

thanks

var fullPath = Path.GetFullPath(filePath) ;
var directory = Path.GetDirectoryName(fullPath );
var loadOpt = new GLTFLoadOptions();
loadOpt.FlipTexCoordV = true;
loadOpt.LookupPaths = new List(){directory };
scene.Open( directory, loadOpt);

@HuePark

It is good to know that you were able to sort your issue out.