Added model loading
This commit is contained in:
parent
707687b682
commit
8c62929e3c
24 changed files with 199852 additions and 23 deletions
BIN
examples/model/assets/ao.jpg
Normal file
BIN
examples/model/assets/ao.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.8 MiB |
16
examples/model/assets/backpack.mtl
Normal file
16
examples/model/assets/backpack.mtl
Normal file
|
@ -0,0 +1,16 @@
|
|||
# Blender MTL File: 'None'
|
||||
# Material Count: 1
|
||||
|
||||
newmtl Scene_-_Root
|
||||
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.0 0.0 0.0
|
||||
Ni 1.450000
|
||||
d 1.000000
|
||||
illum 2
|
||||
map_Kd diffuse.jpg
|
||||
map_Bump normal.png
|
||||
map_Ks specular.jpg
|
||||
|
199481
examples/model/assets/backpack.obj
Normal file
199481
examples/model/assets/backpack.obj
Normal file
File diff suppressed because it is too large
Load diff
BIN
examples/model/assets/diffuse.jpg
Normal file
BIN
examples/model/assets/diffuse.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.8 MiB |
BIN
examples/model/assets/normal.png
Normal file
BIN
examples/model/assets/normal.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 MiB |
BIN
examples/model/assets/roughness.jpg
Normal file
BIN
examples/model/assets/roughness.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.2 MiB |
3
examples/model/assets/source_attribution.txt
Normal file
3
examples/model/assets/source_attribution.txt
Normal file
|
@ -0,0 +1,3 @@
|
|||
Model by Berk Gedik, from: https://sketchfab.com/3d-models/survival-guitar-backpack-low-poly-799f8c4511f84fab8c3f12887f7e6b36
|
||||
|
||||
Modified material assignment (Joey de Vries) for easier load in OpenGL model loading chapter, and renamed albedo to diffuse and metallic to specular to match non-PBR lighting setup.
|
BIN
examples/model/assets/specular.jpg
Normal file
BIN
examples/model/assets/specular.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.4 MiB |
Loading…
Add table
Add a link
Reference in a new issue