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.

techmobo

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Use Verge3d with three.js #51640
    techmobo
    Participant

    Hello xeon, and thank you for your response.
    I appreciate very much the time you took for analyzing our request.

    Unfortunately Maya doesn’t have a direct export to gltf, this is mainly the reason why I am searching for alternatives.
    My first attempt (working) was exporting model in fbx (natively from maya) and then use fbx2gltf (open source program) to have my gltf. Everything is fine (materials too), for small models (<100mb) but the problem is that no automatic optimization are done in this way on bigger models. (unusable 1Tb gltf done on big project).
    Verge3d indeed does a pretty good job in exporting, reducing poly (same big model produces very usable 150mb gltf). Even external textures png are produced in the gltf folder.
    The only problem is that if I load this model, or something simpler in a standard player or in our three.js based system (example the cube of attached images), the materials are not shown. N.B. in verge3d preview everything works fine, so I think that the problem is the way verge3d exporter put material links in gltf file.
    So I’m asking you if I have to put something different (js call of preload materials?) of GltfLoader of three.js to load materials too.

    Just to clarify … these are the step to reproduce:

    – Take some very simple verge3d gltf generated file with simple texture on it (working in verge3d viewer). No puzzle or interaction.
    – Open it in some gltf viewer free online:
    https://gltf-viewer.donmccurdy.com/
    https://viewer.autodesk.com/

    it will show no materials at all.

    If you think that verge3d it’s not the solution for us, ok, I’ll search something different, but it’s a little bit sad, because it seems to work very well, except for this little issue (i think it’s just some non standard js function to call for loading materials – but I may be wrong).

Viewing 1 post (of 1 total)