Announcement

Collapse
No announcement yet.

How to import glTF files?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to import glTF files?

    How to import glTF files?

    I totally lost. I am using the Datasmith plugin. But when ever I try to import any free downloadable model from Sketchfab, the import fails.
    • Are there any other import options or plugins?
    • If so, where to download and how to install?
    thank you so much for any little help,
    appreciate it!

    #2
    There is an official glTF importer plugin, you don't have to install it, just search the plugin list.
    Game Programmer at Zen Studios and founder of Rapax Games
    LinkedIn, Engine Contributions, Marketplace
    Polars (WIP), Game Jam Projects

    Comment


      #3
      if your gltf import failed, make sure you send it to us as a technical support ticket and we will have a look
      Pierre-Felix Breton

      Sr Technical Product Designer AEC, Unreal Engine
      Epic Games - LinkedIn

      Comment


        #4
        I am also interested in this plugin.. I was searching and searching. Google and the Unreal forum. I read some posts about free versions, private version, people talking about the Datasmith plugin and a lot of problems. But I couldn't find anywhere the official Unreal Plugin that allows you to import glTF files.

        I also checked the Unreal Marketplace - but nothing.
        • Can someone help me out here and post a direct link to the OFFICIAL UNREAL glTF IMPORTER?
        • Installation instructions, and maybe somewhere a mini-tutorial that shows how that works?

        Thanks a lot!

        Comment


          #5
          It's bundled in the Engine as default, just enable it in the Built-In plugins.

          After you have enabled it, you don't have to do anything, just import glTF files as you'd do with other formats.

          (If for some reason it's not included in Unreal Studio, then sorry for my ignorant comment, but it is the case for the Unreal Engine.)
          Last edited by KristofMorva; 06-18-2019, 11:43 AM.
          Game Programmer at Zen Studios and founder of Rapax Games
          LinkedIn, Engine Contributions, Marketplace
          Polars (WIP), Game Jam Projects

          Comment


            #6
            Thank you so much... I double checked that before.. it's all activated.

            I was able to import files, but the import looks very messy. And the geo looks like it's broken.

            you can download that file here:
            https://skfb.ly/6LsX7


            after importClick image for larger version

Name:	after_import.JPG
Views:	3769
Size:	225.1 KB
ID:	1632651


            Click image for larger version

Name:	rocks.JPG
Views:	3725
Size:	378.1 KB
ID:	1632650

            Click image for larger version

Name:	gtif.JPG
Views:	3780
Size:	181.1 KB
ID:	1632649

            Comment


              #7
              Were you able to check it in any 3D program if the downloaded file is actually valid and looks as it does on the picture? It's possible that the website you're using has automatically converted that glTF format in a wrong way.

              If it's perfect on your local machine (Blender, 3ds Max, Maya, ...), then it is probably a bug, and as pf_breton mentioned, you better open a ticket for it so they can check it out.
              Game Programmer at Zen Studios and founder of Rapax Games
              LinkedIn, Engine Contributions, Marketplace
              Polars (WIP), Game Jam Projects

              Comment


                #8
                one more thing: what about the other way around?

                meaning.. can you export glTF files from the Unreal Engine?

                Comment


                  #9
                  Originally posted by remozseo View Post
                  one more thing: what about the other way around?

                  meaning.. can you export glTF files from the Unreal Engine?
                  I don't believe so, I think UE4 only exports FBX, and you can convert that yourself to whatever you prefer. I'm not a 100% sure on it tho.
                  Game Programmer at Zen Studios and founder of Rapax Games
                  LinkedIn, Engine Contributions, Marketplace
                  Polars (WIP), Game Jam Projects

                  Comment


                    #10
                    thx Kristof.. well.. if I want to check the geometry lets say in 3dsmax.. I would need to have a plugin for that tool as well, right?
                    I was also looking for a 3dsmax gLTF importer.. but heck... lot's of discussions about it.. lot's of forum posts.. but I am not able to find a gLTF Import Plugin for 3dsmax.

                    I am not a developer.. I don't understand the code or their program language.
                    I also found something from a group called Khronos... but I was not able to find something to download on github...

                    it's a real riddle ... uuaahhhh

                    Comment


                      #11
                      I was able to find an exporter from Datasmith.
                      An Exporter for 3dsmax that allows you to save a Datasmith file - but NOT a glTF file.

                      https://www.unrealengine.com/en-US/studio/downloads

                      Comment


                        #12
                        another test, downloading this statue:
                        https://skfb.ly/6LrZI

                        no matter what I try.. all seems to be broken...

                        Statue Free download model in gITF fromat:

                        Click image for larger version

Name:	statue.JPG
Views:	3737
Size:	321.1 KB
ID:	1632670



                        Broken Geo after import using the gITF import
                        Click image for larger version

Name:	broken.JPG
Views:	3711
Size:	390.0 KB
ID:	1632669

                        Comment


                          #13
                          Blender 2.8 seems to have it built-in, maybe it's worth a try "The Khronos glTF 2.0 importer and exporter is enabled by default in beta versions of Blender 2.8."

                          I'm afraid I don't have better ideas for now, as I'm not a 3D artist myself
                          Game Programmer at Zen Studios and founder of Rapax Games
                          LinkedIn, Engine Contributions, Marketplace
                          Polars (WIP), Game Jam Projects

                          Comment


                            #14
                            Hi!

                            I can reproduce the problem on our side. Thanks for reporting we will have a look.
                            Pierre-Felix Breton

                            Sr Technical Product Designer AEC, Unreal Engine
                            Epic Games - LinkedIn

                            Comment


                              #15
                              yeah, it looks like it's scanned geo.. but even so.. at the end it's an .fbx or .obj file.. but more and more objects are getting scanned theses days.. it's fast, and easy.. and for some reason.. sketchfab users are going more and more into that direction.. so yes, it's for sure highly appreciated if the gITF import also works with scanned data.... thanks a lot for looking into that issue!

                              Comment

                              Working...
                              X