We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

GLB export with PNG

Home Forums Bug Reports and Feature Requests GLB export with PNG

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #58556
    radek
    Customer

    Hi.

    Verge3D 4.2.0 pre3
    Blender 3.3.0

    If a texture in PNG format is used in any 3D object material, export to Verge .GLB does not work

    Blender Log:

    Python: Traceback (most recent call last):
      File "C:\Users\rvendelberger\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\verge3d\__init__.py", line 144, in execute
        return gltf2_export.save(self, context, exportSettings)
      File "C:\Users\rvendelberger\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\verge3d\gltf2_export.py", line 100, in save
        generateGLTF(operator, context, exportSettings, glTF)
      File "C:\Users\rvendelberger\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\verge3d\gltf2_generate.py", line 3190, in generateGLTF
        generateImages(operator, context, exportSettings, glTF)
      File "C:\Users\rvendelberger\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\verge3d\gltf2_generate.py", line 2505, in generateImages
        image = createImage(bl_image, context, exportSettings, glTF)
      File "C:\Users\rvendelberger\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\verge3d\gltf2_generate.py", line 2564, in createImage
        img_data = extractImageBindata(bl_image, context.scene, exportSettings)
      File "C:\Users\rvendelberger\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\verge3d\gltf2_extract.py", line 1977, in extractImageBindata
        return imageSaveRender(bl_image, scene, 'PNG', 'RGBA', color_depth=16, compression=90)
      File "C:\Users\rvendelberger\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\verge3d\gltf2_extract.py", line 2001, in imageSaveRender
        img_set.color_depth = color_depth
    TypeError: bpy_struct: item.attr = val: expected a string enum, not int
    
    #58574

    Hi,

    This issue has been fixed since that pre3 build. We are releasing the stable version really soon (likely today!).

    Chief 3D Verger | LinkedIn | Twitter

    #58724
    radek
    Customer

    I confirm. The bug is fixed in Verge3D 4.2
    Thanks

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.