Add-On that imports json file containing PBR data not supported by glTF and recreates it in Blender
Download this repo as a zip file clicking on Code > Download ZIP
Copy the PBR-Importer folder into your Blender "addons" directory (In Windows it's usually C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons) To find the Blender directory on your system check out: https://docs.blender.org/manual/en/latest/advanced/blender_directory_layout.html
In Blender, go to Edit > Preferences > Add-Ons and search for "Import-Export: glTF PBR Importer"
Activate it by clicking on the checkbox
In the properties panel open the scene tab. There you will find a Header called "Import PBR Data". Click on it to see the plugin's UI.
- The Import JSON button will open a file browser where you will be able to select the .json file containing the data related to the scene.
- The Create Scene button will import all objects defined in the json file and their respective textures and material data.
To Render the scene we may have to chenge some of Blender's render settings. First off let's make sure the render engine is set to Cycles. To do so go to the render properties tab and make sure that Cycles is selected in the dropdown menu.
If you have a graphics card installed on your system you can choose to render with GPU acceleration
Now let's change the Output settings. First let's change the output resolution to whatever we'd like (default is 1920 x 1080)
Then choose the directory where you'd like the render to be saved.
The scene is now ready to be rendered. Feel free to mess around with the settings as much as you'd like!