Skip to content

Add-On that imports json file containing PBR data not supported by glTF and recreates it in Blender

Notifications You must be signed in to change notification settings

alexboarotto/glTF-PBR-importer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 

Repository files navigation

glTF-PBR-importer

Add-On that imports json file containing PBR data not supported by glTF and recreates it in Blender

Installation

Download this repo as a zip file clicking on Code > Download ZIP

image

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"

image

Activate it by clicking on the checkbox

UI

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.

image

image

  • 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.

Rendering

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.

image

If you have a graphics card installed on your system you can choose to render with GPU acceleration

image

Now let's change the Output settings. First let's change the output resolution to whatever we'd like (default is 1920 x 1080)

image

Then choose the directory where you'd like the render to be saved.

image

The scene is now ready to be rendered. Feel free to mess around with the settings as much as you'd like!

About

Add-On that imports json file containing PBR data not supported by glTF and recreates it in Blender

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages