-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support loading PBR textures in OBJLoader (#216)
Extends the OBJLoader to support loading PBR textures. The Wavefront OBJ format has PBR extensions which our current version of the tiny_obj_loader is already able to parse and load. This updates the loader to load these new fields into the common::Material and common::Pbr data structures. Signed-off-by: Ian Chen <[email protected]>
- Loading branch information
Showing
6 changed files
with
13,129 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Blender MTL File: 'WheelchairLightmap.blend' | ||
# Material Count: 1 | ||
|
||
newmtl WheelchairUnfolded | ||
Ns 225.000000 | ||
Ka 1.000000 1.000000 1.000000 | ||
Kd 0.800000 0.800000 0.800000 | ||
Ks 0.500000 0.500000 0.500000 | ||
Ke 0.000000 0.000000 0.000000 | ||
Ni 1.450000 | ||
d 1.000000 | ||
illum 2 | ||
map_Bump mesh_Normal.png | ||
map_Kd mesh_Diffuse.png | ||
map_Ns mesh_Rough.png | ||
refl mesh_Metal.png |
Oops, something went wrong.