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.

Cannot export gltf error

Home Forums Bug Reports and Feature Requests Cannot export gltf error

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #9990
    tcdoe
    Customer

    Hi,
    again error.

    cannot export. cannot update site. this is exhausting. every step of the way there is error.

    here is window console:

    INFO: Starting glTF 2.0 export
    ERROR: Profiling already started
    PROFILE: Delta time: 124.50584435462952 (asset)
    Traceback (most recent call last):
    File “H:\verge3d291\addons\verge3d\__init__.py”, line 237, in execute
    return gltf2_export.save(self, context, export_settings)
    File “H:\verge3d291\addons\verge3d\gltf2_export.py”, line 116, in save
    generateGLTF(operator, context, export_settings, glTF)
    File “H:\verge3d291\addons\verge3d\gltf2_generate.py”, line 3148, in generateGLTF
    generateImages(operator, context, export_settings, glTF)
    File “H:\verge3d291\addons\verge3d\gltf2_generate.py”, line 2456, in generateImages
    img_data = extract_image_bindata(bl_image, context.scene)
    File “H:\verge3d291\addons\verge3d\gltf2_extract.py”, line 1915, in extract_image_bindata
    return extract_image_bindata_jpeg(bl_image, scene)
    File “H:\verge3d291\addons\verge3d\gltf2_extract.py”, line 1977, in extract_image_bindata_jpeg
    bl_image.save_render(tmp_img.name, scene)
    TypeError: Image.save_render(): required parameter “scene” to be a keyword argument!

    location: <unknown location>:-1

    location: <unknown location>:-1

    CEO, ABĒMIS LLC
    visit: abemis.com

    #9993

    Hi,

    It looks like you hit the same snag as was reported here. Please check if your scene uses some unusual image formats like TIFF etc.

    Chief 3D Verger | LinkedIn | Twitter

    #10015
    tcdoe
    Customer

    Hi Ok,
    I went over it and looks like it was an object that had a dual transparent material, i.e. two sets of value/trans/PBR/mix shaders.
    I took out one set and now it works.

    thx.

    CEO, ABĒMIS LLC
    visit: abemis.com

    #10023

    Glad you figured it out. :good: We’d appreciate if you shared a narrowed down .blend file with the bug, so that we can fix it and prevent it happening in the future.

    Chief 3D Verger | LinkedIn | Twitter

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