Skip to content

Bug: exported assxml does not show texturename from glb #6368

Closed

Description

@coderofsalvation

Not sure whether its a bug, but the texturename is not reflected in the .assxml when using assimp dump pixelmapping.glb on the cmdline.

btw. thanks for making assimp and the .assxml fileformat. It opens up a world of interoperability (and editibility) of 3D objects without using an actual 3D gui editor.

To Reproduce
Steps to reproduce the behavior:

  1. open a console
  2. run wget https://filebin.net/krugyizfjypxz0li/pixelmapping.glb
  3. run assimp dump pixelmapping.glb -cfull
  4. open the generated pixelmapping.assxml in a texteditor
  5. search for texturename gradient (it is not there)
    Expected behavior
    I was expecting texture indexes and names:
<TextureList num="1">
	<Texture width="4294967295" height="4294967295" name="gradient" compressed="true"> 
		<Data length="484"> 

but instead I found only texture indexes:

<TextureList num="1">
	<Texture width="4294967295" height="4294967295" compressed="true"> 
		<Data length="484"> 

Platform (please complete the following information):

  • OS: nixos 25.05 x86 64 bit
  • assimp 5.4.3

My real usecase: import/export textures via CLI

I would like to extract each texture [from a 3D file] to disk.
Afaik assimp extract does exactly that (but with texturename ...._img0.ext and so on).
Then I would like to re-import each file to their respective textureslot (basically viceversa).

I'd love to be able to do this with the assimp CLI-binary (not having to dive into C coding).

Activity

  1. added
    Bug
    on Oct 9, 2025
  2. added
    Export
    glTF-Common
    on Oct 9, 2025
  3. tellypresence commented on Oct 9, 2025

    @tellypresence
    Collaborator

    Directly attaching file from external site to better ensure future availability: pixelmapping.glb.zip

  4. added
    Textures
    on Oct 9, 2025
  5. coderofsalvation commented on Oct 9, 2025

    @coderofsalvation
    Author

    ah thanks..did not know about the zip trick (it refused glb)

  6. kimkulling commented on Oct 17, 2025

    @kimkulling
    Member

    Good point, I am wondering why.

  7. kimkulling commented on Oct 17, 2025

    @kimkulling
    Member

    Just forgot to add the name.

  8. kimkulling commented on Oct 17, 2025

    @kimkulling
    Member

    Fixed.

  9. added theissue type on Oct 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugExportTexturesglTF-Common

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions