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.

GLTF export not working

Home Forums General Questions GLTF export not working

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #71399
    jelteh
    Participant

    Hello everybody,

    I am working on a project in Maya and Verge3d. Today I loaded up the project and made an animation in Maya. I exported it, I thought, to the gltf in the project and loaded up Verge. To my surprise I could not find the animation, and also non of the objects I had created today.

    I looked in the files and discovered that my .gltf file had not been modified since monday, which is strange since I exported a new one just five minutes ago. I exported multiple times to test it out, even to my desktop. I found out it is not exporting any .gltf files at all, but a few normal maps and the environment.exr …. I do not know what is going on, can anybody help me out?

    I already reloaded the plug-in within Maya but to no avail.

    #71427
    xeon
    Customer

    So just to make sure we are on the same page…
    You have your Verge3D application folder set in side the App Manager.
    You have gone to this folder and verified your V3D project is in that folder.
    You have exported a Verge3D GLTF (not a standard GLTF) to that same folder.

    And the result you are getting is that some of the map files are updating but the GLTF and .BIN are not being over-written?

    I would suggested deleting your .GLTF and .BIN from the Verge3D applications folder and see if you get a new file.

    Xeon
    Route 66 Digital
    Interactive Solutions - https://www.r66d.com
    Tutorials - https://www.xeons3dlab.com

    #71473
    jelteh
    Participant

    That is correct! Although the .gltf file has got a diffirent name now, it has changed somehow to a .gltfa69816 file. It has got corrupted I think.

    I deleted the .GLTF and .BIN file. Upon exporting no new ones appeared in the folder. The only thing that has appeared after exporting are the texture maps of the most recently applied textures, which is odd. So two new normal maps and Basecolor maps appeared, but not the .Bin or .Gltf files. Same thing happens whenever I export to another location, such as the desktop. Would I have to reinstall Verge3D in order to solve this?

    #71488
    jelteh
    Participant

    Update:

    I have opened a new Verge3D project and I also opened a new Maya file with some basic objects. I exported the .gltf file and replaced the one in the new Verge project folder with that one. It works! So there must be something within my Maya scene that causes the issue, I wager.

    Some more context: when I press export .gltf in the faulty project it takes a long time to do so. It loads for a minute or so. When I then go to check if the .gltf has updated in the project folder, nothing will have happened, apart from some new normal maps appearing.

    This however does not happen in my new test project, it simply exports the .gltf properly and it updates.

    Any suggestions would be golden, I will start looking for a faulty model or some sort of setting perhaps.

    #71496
    jelteh
    Participant

    Yet another update:

    I have found that there is an error that keeps occuring:


    # Error: KeyError: file C:\Program Files\Verge3D_for_Maya\maya_plugin\lib\mayaUtils.py line 989: ‘autoease’
    select -r Kapel_AB Boeideel_AB KozijnAB Zonnescherm_AB aiSkyDomeLight1 ;
    V3D-WARNING: Not enough UV mapping info: VentHendel_RShapemap1
    V3D-WARNING: Not enough UV mapping info: Kapel_ABOutdatedShapemap1
    V3D-WARNING: Not enough UV mapping info: Kapel_BABShapemap1
    V3D-WARNING: Not enough UV mapping info: Kozijn_BABShapemap1
    V3D-WARNING: Not enough UV mapping info: Boeideel_BAABShapemap1
    V3D-WARNING: Not enough UV mapping info: Kapel_BAABShapemap1
    V3D-WARNING: Not enough UV mapping info: Kozijn_BABABShapemap1
    V3D-WARNING: Not enough UV mapping info: Kozijn_BABBABShapemap1
    # Error: KeyError: file C:\Program Files\Verge3D_for_Maya\maya_plugin\lib\mayaUtils.py line 989: ‘autoease’

    #71510
    kdv
    Participant

    V3D-WARNING: Not enough UV mapping info:

    Dig in this direction.

    Puzzles and JS. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of meaning at all.

    #71511
    jelteh
    Participant

    I have found the (likely) candidate. I opened the file from which the error emerged and went to the line 989; there I found some code about “keyTangents”. I fooled around a bit within Maya and got inside the graph editor. There I found that there was an object with keyframes on it, they were all “eased” and non-linear. I set them to linear and exported again.

    It worked, as long as I export it with LZMA compression. I suppose the file has become larger. But the errors went away, though not the { not enough UV-mapping info} errors; verge manages now anyways.

    Thanks for the help.

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