Overview#
These are notes on how to convert OBJ files to glTF and GLB files.
Target Data#
The target is the “Ishibuchi Family Globe” from the “Kikuchi City / Digital Archive.”
https://adeac.jp/kikuchi-city/catalog/e0001
The OBJ file can be accessed from the following URL.
https://adeac.jp/viewitem/kikuchi-city/viewer/3d/dc-e0097/models/Kikuchi_Globe_180820.obj
Downloading the Target Data#
Download the library.
Prepare the following file.
Execute it.
The .obj, .mtl, and .jpg files are downloaded to the downloads folder.
Converting to glTF#
Download the library.
Prepare the following file.
Execute it.
A model.gltf file is created.
Converting to GLB#
Download the library.
Convert the glTF file to a GLB file.
Summary#
There may be other appropriate conversion methods, but I hope this serves as a helpful reference.