Below I discuss some of the differences between the OBJ and the glTF file formats and when to use each. This is when I started researching the glTF file format. Over the course of my project, I struggled consistently with my texture files and loading speeds. For my first full three.js project, I choose to use OBJ files simply because the file extensions made more sense to me (OBJ= object, makes sense. Much of the newer learning resources encouraged readers to use the glTF file format but with little to no explanation of why given. Many of those resources, while not inaccurate, turned out to be outdated and with deprecated code. I recently started exploring three.js and some of the first YouTube tutorials and blog posts I found, referred to OBJ and MTL file formats for importing 3D models. Learning new technologies starts with documentation and a little guesswork I write up my findings, trying to save you a potential headache. I research a bunch because I didn’t want to change my file formats. I research known OBJ and MTL textures issues. The Problem: My MTL textures will not load…
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |