Super optimizing your GLB files - Texture Compression with ZenCompress

Поделиться
HTML-код
  • Опубликовано: 3 фев 2025

Комментарии • 54

  • @ashleylong7900
    @ashleylong7900 Год назад +13

    Thanks for making this tutorial, Conor! Wanted to add a quick tip for anyone whose scenes/models contain armature animations. When exporting your separated glTF from Blender, make sure that the “Animation > Skinning > Include All Bone Influences” setting is OFF at export. That setting injects some extra joints/weights info into the exported glTF JSON that ZenCompress can't parse, which results in an error during .glTF import. Bone animations should re-export to .glb from ZenCompress just fine with that setting disabled.

  • @FelixWest-v4p
    @FelixWest-v4p Год назад +10

    Finally a man who is not talking a lot of bullshit to fill out the video, going straight on and deliver! You are the man!

    • @ConorW
      @ConorW  Год назад +2

      Thanks so much!! Glad you find it useful!!

  • @AdventureDreamingStudio
    @AdventureDreamingStudio Год назад +4

    Great Video Conor!
    I noticed the editing at 3:04 - 3:17 Duplicate takes otherwise when i go to deal with GLB files ill definitely refer back to this! Thanks for the tutorial!

    • @ConorW
      @ConorW  Год назад +3

      Hahaha yup! Gotta check to see if you're paying attention y'know 🫣

  • @Sergij_Vari
    @Sergij_Vari 5 месяцев назад +1

    Please, more videos about testing optimization glb models!

  • @princesharish
    @princesharish 7 месяцев назад +2

    Super helpful 😊
    Thank you 👍

    • @ConorW
      @ConorW  2 месяца назад +1

      @@princesharish happy to help!

  • @helloWorld432Hz
    @helloWorld432Hz Год назад +6

    on my experience with ktx2 textures on three.js I had a problem losing texture data like metallic, normal... it was basically just diffuse data, I asked on a dc channel and i was told that ktx2 is actually and old way to process textures, therefore it was not a good resource if you wanted detailed textures. Hope it helps!

    • @TranTien-xn1ty
      @TranTien-xn1ty 6 месяцев назад

      I had the same problem when optimizing my 3D model (losing texture data... ), do you have any suggestions? 🙏

  • @jenkims1953
    @jenkims1953 Год назад +3

    You may of worked it out but Basis is googles texture format

  • @sadashiv1684
    @sadashiv1684 2 месяца назад +2

    while importing in Zen compress, it is showing an error of "Object reference not set to an instance of an object".. What should I do connor!!

    • @ConorW
      @ConorW  2 месяца назад

      @@sadashiv1684 I am not sure! It is probably something specific to that gltf file. My recommendation is to start with a cube at 0,0,0, and get that to work, then add the material, or continue advancing the object incrementally closer towards the erroring object until you find what specific thing is tripping it up. You can also ask the good people in the hubs discord for help, there are many!

  • @syedkhalid9829
    @syedkhalid9829 Год назад +3

    hy connor! I got a problem while importing the gltf file in zen compress it says buffer file not found

    • @ConorW
      @ConorW  Год назад +3

      Try renaming your export! Someone in the discord had the same error and that worked for them!

    • @syedkhalid9829
      @syedkhalid9829 Год назад +2

      @@ConorW the export was successful thanks but I got another error while importing the glb file into blender. The error says "Extension KHR_texture_basisu is not available on this addon version"

    • @ConorW
      @ConorW  Год назад +2

      @@syedkhalid9829 Blender doesn't currently support basis compression. This is a very-end-of-the-pipeline procedure. It should be considered the final step.

  • @adsasdasist
    @adsasdasist Год назад +4

    thanks for the vid! im exporting from sketchup to gltf and opening in Zen Compress but Im having the error "object reference not set to an instance of an object". No idea what that is, tried googling but got even more confused. I guess im gonna try from sketchup to blender to gltf although not much exp with Blender.

    • @ConorW
      @ConorW  Год назад +2

      Blender will be easy enough to use if it's just for re-exporting. I would definitely try that. If it doesn't work, maybe just try exporting out a cube from SketchUp to see if the problem persists. If it does not, you can import your object piece by piece until you find the thing that is triggering the error.

  • @xThree65x
    @xThree65x Год назад +3

    Why did you not show the Draco compression that is built into Blender in this comparison?

    • @ConorW
      @ConorW  Год назад +2

      Great question! ZenCompress doesn't seem to support Draco compression currently. Though it would be a great thing to add.
      If I were to use draco compression, I wouldn't be able to use zencompress' etc1s or uastc compression. So this video is just for textures, not models!

  • @felipeparanhos374
    @felipeparanhos374 Год назад +2

    Very good video, congratulations. Are these glb models capable of being imported into 3dvista?

    • @ConorW
      @ConorW  Год назад

      Thanks! And I don't know! Never used 3dvista.

  • @sandyvdbrink
    @sandyvdbrink Год назад +3

    When I try to import the gltf it says "object reference not set to an instance of an object" Any idea how to fix that?

    • @ConorW
      @ConorW  Год назад +1

      I am not sure! It is probably something specific to that gltf file. My recommendation is to start with the simplest object and get that to work, then add the material, or continue advancing the object incrementally closer towards the erroring object until you find what specific thing is tripping it up. You can also ask the good people in the hubs discord for help, there are many!

    • @mardeformas3534
      @mardeformas3534 Год назад

      same here, just export the object, cant simplify that. do you solve it?

    • @ConorW
      @ConorW  2 месяца назад

      @@mardeformas3534 are you able to export a cube at 0,0,0 or does that still not work

  • @997turboabs2
    @997turboabs2 16 дней назад

    Hi, im getting 1 detection on virustotal?

  • @threethreekyanb1502
    @threethreekyanb1502 2 месяца назад

    i have an issue like 'buffer file not found'.how to solve this problem

    • @threethreekyanb1502
      @threethreekyanb1502 2 месяца назад

      I can't import my glbt file that say "Buffer file not found".

    • @ConorW
      @ConorW  2 месяца назад +1

      @@threethreekyanb1502 start with a cube at 0,0,0. If that doesn't work, I would probably uninstall and reinstall, or revert to an earlier version. If it does work, continue to add it bits of your model until you figure out what's causing it to break

  • @ChrisDerrell-w3p
    @ChrisDerrell-w3p Год назад +1

    Both my Windows Defender & Norton deleted automatically marked ZenCompress as unsafe and deleted it from my PC. Any idea why? @Connor?

    • @ConorW
      @ConorW  Год назад +1

      No idea why. Make sure you're downloading it from the correct source, but there's nothing malicious about the official release.

  • @cristovieneya8997
    @cristovieneya8997 5 месяцев назад

    Thanks for the video.
    It didn't work for me. Nothing shows when I open the GLTF file in Zen.

    • @ConorW
      @ConorW  5 месяцев назад

      Make sure that your asset is in the center of the world in your scene file, and it's transforms have been applied. Whatever it's transforms are will be applied to the GLTF. That means it could be in Zen, but it's a million miles away, or it's 1/100th the size or something like that.

    • @cristovieneya8997
      @cristovieneya8997 5 месяцев назад

      @@ConorW Thanks for your reply Connor. I did as you said, and I am still having the same issue: nothing shows, and nothing seems to change in the data in the OPTIONS panel, which tells me that in fact, somehow the object is not being imported into ZenCompress.

  • @markkuykendall5475
    @markkuykendall5475 Год назад +2

    A while back, a couple of folks (one of which was me) expressed interest in learning about compression. Is THIS your answer?

    • @markkuykendall5475
      @markkuykendall5475 Год назад +2

      Please dont' read my question as critical or sarcastic. :)

    • @ConorW
      @ConorW  Год назад +2

      @@markkuykendall5475 it's the first of many answers to that question!! Thanks for your support Mark!

  • @chriswilfrid
    @chriswilfrid Год назад +2

    can we convert gltf to glb?

    • @ConorW
      @ConorW  Год назад

      I'm sure there are plenty of converters online, but you can export out .glbs from blender!

  • @samirtiwari3904
    @samirtiwari3904 11 месяцев назад

    Hey Connor very detailed and informative video, although I encounted "Invalid typed array length: 436376" when I tried to uplaod the final glb file to GLTF report. Any idea what this issue is ?

    • @ConorW
      @ConorW  11 месяцев назад

      Not sure! Make sure the file name is short and doesn't have any funny characters. Also, try it on a simple object like a textured cube, to see if you get the same error.

  • @reactjs1900
    @reactjs1900 11 месяцев назад +1

    .basis uses google webp as texture image format

  • @zeebpc
    @zeebpc 2 месяца назад

    linux version?

    • @ConorW
      @ConorW  2 месяца назад

      check the github, I didn't develop this!

  • @catscanmeow
    @catscanmeow Год назад +1

    is this crypto?

    • @ConorW
      @ConorW  Год назад +5

      no, this is dog.

  • @designbydaris833
    @designbydaris833 Год назад +2

    hi conor, i tried this, but when i upload the compressed glb to mozilla hub spoke it say "cannot read properties of undefined (reading 'uri')" do you have any solution for this?

    • @ConorW
      @ConorW  Год назад +1

      Strange! Does it happen on the uncompressed .glb?
      Can you simplify the textures and shaders, say just a checkerbox texture on a cube, and see if that works?
      Add your textures / shaders / geo one at a time until you find what triggers the issue.
      If you need further help, join the hubs discord and mention me (conorw) in the #art channel and we'll work it out

    • @nishantdawadi6831
      @nishantdawadi6831 Год назад

      Yeah I am having the same issue

  • @mahboobalavi4193
    @mahboobalavi4193 Год назад +2

    F**k this dude is good, love it ! after 10 sec of watching ! BOM sub it , i like this kind of RUclipsrs , Straight and Eloquent. thank u . sir can you drop down you email or some thing that we can be in touch, for question asking . peace

    • @ConorW
      @ConorW  Год назад +2

      hey thank you so much dude! I try to make the content that I would watch haha. You can find me in the Mozilla Hubs discord server!