High size gltf export problem

hello, when I try to export my project in gltf or glb format, the file size is 2-3gb and when I do not include textures, I still encounter the same size, what is the solution?

Are you saying that it is the same size, either way, with or without textures? It may be that it is packaging the entire file, regardless of the textures option. But I am sure you want it with textures anyway right? The more important question is, how well does it export? Does it look good? Does it export correctly with textures?

If you need to export it without textures, try deleting the mdls and textures from the usd file first, and re-save it as a new version, and then try to export. Another additional step would be to then do a “save as flattened” usd file which should purge old information and make the usd file smaller. Then try exporting that.

However, what are you going to do with a 2-3GB gltf file? That is HUGE. Where will you load it? For the web, I think you are going to need it a lot smaller.

I am trying to reduce the file size, but despite following all the suggestions, the size is still too large. Here’s a screenshot from my project. I want to export it in GLTF format, and my project includes animations. Besides this, I created a new project in Omniverse, added a cube, and exported it in GLTF format. However, I cannot open this export in Omniverse or Visualize. What am I doing wrong? I’ve tried all combinations of export settings, but none of them seem to work.

That is an very complex project for gltf. Wow. How will that run in a browser?

You know we have usd streaming solutions for browsers. Gltf may not be the way to do this. Are you trying to view this on the web?

Also you are using the OLD version. 2023.2.5 right? New version here
GitHub - NVIDIA-Omniverse/kit-app-template: Omniverse Kit App Template

Have you seen this? Our usd web streaming system? GitHub - NVIDIA-Omniverse/web-viewer-sample: This sample demonstrates how a front-end client can present a streamed Omniverse Kit application and how to send messages between the two apps.

Let me do some testing with the new kit 106.5 version from GitHub and see how far I can push GLTF.

Ok I did some testing. We are having issues right now with our gLTF exporter. It works great for geometry, but not for materials. We apologize. I cannot get it to work right in 106.5. I do have it working in the next dev build, so you will just have to be patient. I am sorry. It will not be long.

If you want to send me the file, DM me and I can take a look. You will have to use the “File > Collect” tool and zip it up and send it.