Initial commit.
55
models/alien-hominid/alien.mtl
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
# Blender MTL File: 'None'
|
||||||
|
# Material Count: 4
|
||||||
|
|
||||||
|
newmtl AlienHominid
|
||||||
|
Ns 225.000000
|
||||||
|
Ka 1.000000 1.000000 1.000000
|
||||||
|
Kd 0.800000 0.533344 0.000000
|
||||||
|
Ks 0.500000 0.500000 0.500000
|
||||||
|
Ke 0.000000 0.000000 0.000000
|
||||||
|
Ni 1.450000
|
||||||
|
d 1.000000
|
||||||
|
illum 2
|
||||||
|
map_Bump normal.png
|
||||||
|
map_Kd diffuse.png
|
||||||
|
map_Ns roughness.png
|
||||||
|
refl specular.png
|
||||||
|
|
||||||
|
newmtl Blaster
|
||||||
|
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 blaster_normal.png
|
||||||
|
map_Kd blaster_diffuse.png
|
||||||
|
map_Ke blaster_emissive.png
|
||||||
|
map_Ns blaster_roughness.png
|
||||||
|
refl blaster_specular.png
|
||||||
|
|
||||||
|
newmtl Screenshot_2021-04-19_194508
|
||||||
|
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_Kd smoke.png
|
||||||
|
map_d smoke.png
|
||||||
|
|
||||||
|
newmtl Untitled-1
|
||||||
|
Ns 77.904748
|
||||||
|
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_Kd Untitled-1.png
|
||||||
|
map_d Untitled-1.png
|
116822
models/alien-hominid/alien.obj
Normal file
BIN
models/alien-hominid/blaster_diffuse.png
Normal file
After Width: | Height: | Size: 14 MiB |
BIN
models/alien-hominid/blaster_emissive.png
Normal file
After Width: | Height: | Size: 455 KiB |
BIN
models/alien-hominid/blaster_normal.png
Normal file
After Width: | Height: | Size: 9.4 MiB |
BIN
models/alien-hominid/blaster_roughness.png
Normal file
After Width: | Height: | Size: 5.2 MiB |
BIN
models/alien-hominid/blaster_specular.png
Normal file
After Width: | Height: | Size: 2.8 MiB |
BIN
models/alien-hominid/diffuse.png
Normal file
After Width: | Height: | Size: 8.8 MiB |
BIN
models/alien-hominid/normal.png
Normal file
After Width: | Height: | Size: 10 MiB |
BIN
models/alien-hominid/roughness.png
Normal file
After Width: | Height: | Size: 4.0 MiB |
BIN
models/alien-hominid/specular.png
Normal file
After Width: | Height: | Size: 26 KiB |
BIN
models/backpack/ao.jpg
Normal file
After Width: | Height: | Size: 1.8 MiB |
16
models/backpack/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
models/backpack/backpack.obj
Normal file
BIN
models/backpack/diffuse.jpg
Normal file
After Width: | Height: | Size: 5.8 MiB |
BIN
models/backpack/normal.png
Normal file
After Width: | Height: | Size: 14 MiB |
BIN
models/backpack/roughness.jpg
Normal file
After Width: | Height: | Size: 4.2 MiB |
3
models/backpack/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
models/backpack/specular.jpg
Normal file
After Width: | Height: | Size: 6.4 MiB |
7
models/bird/bird.mtl
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
newmtl material_0
|
||||||
|
map_bump normal.jpg
|
||||||
|
norm normal.jpg
|
||||||
|
map_Kd diffuse.jpg
|
||||||
|
occlusion occlusion.jpg
|
||||||
|
Pm 0
|
||||||
|
Pr 0.793152
|
80009
models/bird/bird.obj
Executable file
BIN
models/bird/diffuse.jpg
Executable file
After Width: | Height: | Size: 11 MiB |
BIN
models/bird/normal.jpg
Executable file
After Width: | Height: | Size: 3.3 MiB |
BIN
models/bird/occlusion.jpg
Executable file
After Width: | Height: | Size: 1.7 MiB |
12
models/floor.obj
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# Blender v2.82 (sub 7) OBJ File: ''
|
||||||
|
# www.blender.org
|
||||||
|
mtllib floor.mtl
|
||||||
|
o floor
|
||||||
|
v -1.000000 -0.000000 1.000000
|
||||||
|
v 1.000000 -0.000000 1.000000
|
||||||
|
v 1.000000 0.000000 -1.000000
|
||||||
|
v -1.000000 0.000000 -1.000000
|
||||||
|
vn 0.0000 1.0000 0.0000
|
||||||
|
usemtl Default_OBJ
|
||||||
|
s off
|
||||||
|
f 1//1 2//1 3//1 4//1
|
BIN
models/scythe/diffuse.png
Executable file
After Width: | Height: | Size: 133 KiB |
8
models/scythe/scythe.mtl
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
# WaveFront *.mtl file (generated by CINEMA 4D)
|
||||||
|
|
||||||
|
newmtl item/objectcomponents/weapon/staff_2h_artifactdeadwind_d_03.m2_Geoset_000
|
||||||
|
Ka 0.25 0.25 0.25
|
||||||
|
Kd 1 1 1
|
||||||
|
map_Kd diffuse.png
|
||||||
|
illum 7
|
||||||
|
|
5915
models/scythe/scythe.obj
Executable file
BIN
models/spartan/Spartan_Arms_Mat_AO.png
Normal file
After Width: | Height: | Size: 1.4 MiB |
BIN
models/spartan/Spartan_Arms_Mat_BaseColor.png
Normal file
After Width: | Height: | Size: 4.0 MiB |
BIN
models/spartan/Spartan_Arms_Mat_Metallic.png
Normal file
After Width: | Height: | Size: 807 KiB |
BIN
models/spartan/Spartan_Arms_Mat_Normal.png
Normal file
After Width: | Height: | Size: 5.9 MiB |
BIN
models/spartan/Spartan_Arms_Mat_Roughness.png
Normal file
After Width: | Height: | Size: 1.5 MiB |
BIN
models/spartan/Spartan_Arms_Mat_Specular.png
Normal file
After Width: | Height: | Size: 614 KiB |
BIN
models/spartan/Spartan_Chest_Mat_AO.png
Normal file
After Width: | Height: | Size: 1.7 MiB |
BIN
models/spartan/Spartan_Chest_Mat_BaseColor.png
Normal file
After Width: | Height: | Size: 4.8 MiB |
BIN
models/spartan/Spartan_Chest_Mat_Metallic.png
Normal file
After Width: | Height: | Size: 1.3 MiB |
BIN
models/spartan/Spartan_Chest_Mat_Normal.png
Normal file
After Width: | Height: | Size: 4.5 MiB |
BIN
models/spartan/Spartan_Chest_Mat_Roughness.png
Normal file
After Width: | Height: | Size: 2.2 MiB |
BIN
models/spartan/Spartan_Chest_Mat_Specular.png
Normal file
After Width: | Height: | Size: 885 KiB |
BIN
models/spartan/Spartan_Ears_Mat_AO.png
Normal file
After Width: | Height: | Size: 96 KiB |
BIN
models/spartan/Spartan_Ears_Mat_BaseColor.png
Normal file
After Width: | Height: | Size: 1.1 MiB |
BIN
models/spartan/Spartan_Ears_Mat_Metallic.png
Normal file
After Width: | Height: | Size: 426 KiB |
BIN
models/spartan/Spartan_Ears_Mat_Normal.png
Normal file
After Width: | Height: | Size: 983 KiB |
BIN
models/spartan/Spartan_Ears_Mat_Roughness.png
Normal file
After Width: | Height: | Size: 484 KiB |
BIN
models/spartan/Spartan_Ears_Mat_Specular.png
Normal file
After Width: | Height: | Size: 279 KiB |
BIN
models/spartan/Spartan_Helmet_Mat_AO.png
Normal file
After Width: | Height: | Size: 930 KiB |
BIN
models/spartan/Spartan_Helmet_Mat_BaseColor.png
Normal file
After Width: | Height: | Size: 3.9 MiB |
BIN
models/spartan/Spartan_Helmet_Mat_Metallic.png
Normal file
After Width: | Height: | Size: 1.3 MiB |
BIN
models/spartan/Spartan_Helmet_Mat_Normal.png
Normal file
After Width: | Height: | Size: 4.4 MiB |
BIN
models/spartan/Spartan_Helmet_Mat_Roughness.png
Normal file
After Width: | Height: | Size: 1.7 MiB |
BIN
models/spartan/Spartan_Helmet_Mat_Specular.png
Normal file
After Width: | Height: | Size: 862 KiB |
BIN
models/spartan/Spartan_Legs_Mat_AO.png
Normal file
After Width: | Height: | Size: 1.4 MiB |
BIN
models/spartan/Spartan_Legs_Mat_BaseColor.png
Normal file
After Width: | Height: | Size: 4.0 MiB |
BIN
models/spartan/Spartan_Legs_Mat_Metallic.png
Normal file
After Width: | Height: | Size: 1008 KiB |
BIN
models/spartan/Spartan_Legs_Mat_Normal.png
Normal file
After Width: | Height: | Size: 4.8 MiB |
BIN
models/spartan/Spartan_Legs_Mat_Roughness.png
Normal file
After Width: | Height: | Size: 1.8 MiB |
BIN
models/spartan/Spartan_Legs_Mat_Specular.png
Normal file
After Width: | Height: | Size: 638 KiB |
BIN
models/spartan/Spartan_Shoulder_Mat_AO.png
Normal file
After Width: | Height: | Size: 844 KiB |
BIN
models/spartan/Spartan_Shoulder_Mat_BaseColor.png
Normal file
After Width: | Height: | Size: 3.4 MiB |
BIN
models/spartan/Spartan_Shoulder_Mat_Metallic.png
Normal file
After Width: | Height: | Size: 1.1 MiB |
BIN
models/spartan/Spartan_Shoulder_Mat_Normal.png
Normal file
After Width: | Height: | Size: 3.8 MiB |
BIN
models/spartan/Spartan_Shoulder_Mat_Roughness.png
Normal file
After Width: | Height: | Size: 1.7 MiB |
BIN
models/spartan/Spartan_Shoulder_Mat_Specular.png
Normal file
After Width: | Height: | Size: 761 KiB |
BIN
models/spartan/Spartan_Sketchfab.fbx
Normal file
BIN
models/spartan/Spartan_Undersuit_Mat_AO.png
Normal file
After Width: | Height: | Size: 3.1 MiB |
BIN
models/spartan/Spartan_Undersuit_Mat_BaseColor.png
Normal file
After Width: | Height: | Size: 14 MiB |
BIN
models/spartan/Spartan_Undersuit_Mat_Metallic.png
Normal file
After Width: | Height: | Size: 2.5 MiB |
BIN
models/spartan/Spartan_Undersuit_Mat_Normal.png
Normal file
After Width: | Height: | Size: 24 MiB |
BIN
models/spartan/Spartan_Undersuit_Mat_Roughness.png
Normal file
After Width: | Height: | Size: 4.9 MiB |
BIN
models/spartan/Spartan_Undersuit_Mat_Specular.png
Normal file
After Width: | Height: | Size: 1.1 MiB |
BIN
models/spartan/lambert1_Colour-Opacity.png
Normal file
After Width: | Height: | Size: 7.8 MiB |
BIN
models/spartan/lambert1_Nrm.png
Normal file
After Width: | Height: | Size: 4.3 MiB |
BIN
models/spartan/lambert1_Roughness.png
Normal file
After Width: | Height: | Size: 1.9 MiB |
104
models/spartan/spartan.mtl
Normal file
@ -0,0 +1,104 @@
|
|||||||
|
# Blender MTL File: 'None'
|
||||||
|
# Material Count: 8
|
||||||
|
|
||||||
|
newmtl Spartan_Arms_Mat
|
||||||
|
Ns 179.999996
|
||||||
|
Ka 1.000000 1.000000 1.000000
|
||||||
|
Kd 1.000000 1.000000 1.000000
|
||||||
|
Ks 0.500000 0.500000 0.500000
|
||||||
|
Ke 0.000000 0.000000 0.000000
|
||||||
|
Ni 1.450000
|
||||||
|
d 1.000000
|
||||||
|
illum 2
|
||||||
|
map_Kd Spartan_Arms_Mat_BaseColor.png
|
||||||
|
map_Bump Spartan_Arms_Mat_Normal.png
|
||||||
|
refl Spartan_Arms_Mat_Specular.png
|
||||||
|
|
||||||
|
|
||||||
|
newmtl Spartan_Chest_Mat
|
||||||
|
Ns 179.999996
|
||||||
|
Ka 1.000000 1.000000 1.000000
|
||||||
|
Kd 1.000000 1.000000 1.000000
|
||||||
|
Ks 0.500000 0.500000 0.500000
|
||||||
|
Ke 0.000000 0.000000 0.000000
|
||||||
|
Ni 1.450000
|
||||||
|
d 1.000000
|
||||||
|
illum 2
|
||||||
|
map_Kd Spartan_Chest_Mat_BaseColor.png
|
||||||
|
map_Bump Spartan_Chest_Mat_Normal.png
|
||||||
|
refl Spartan_Chest_Mat_Specular.png
|
||||||
|
|
||||||
|
newmtl Spartan_Ear_Mat
|
||||||
|
Ns 179.999996
|
||||||
|
Ka 1.000000 1.000000 1.000000
|
||||||
|
Kd 1.000000 1.000000 1.000000
|
||||||
|
Ks 0.500000 0.500000 0.500000
|
||||||
|
Ke 0.000000 0.000000 0.000000
|
||||||
|
Ni 1.450000
|
||||||
|
d 1.000000
|
||||||
|
illum 2
|
||||||
|
map_Kd Spartan_Ears_Mat_BaseColor.png
|
||||||
|
map_Bump Spartan_Ears_Mat_Normal.png
|
||||||
|
refl Spartan_Ears_Mat_Specular.png
|
||||||
|
|
||||||
|
newmtl Spartan_Helmet_Mat
|
||||||
|
Ns 179.999996
|
||||||
|
Ka 1.000000 1.000000 1.000000
|
||||||
|
Kd 1.000000 1.000000 1.000000
|
||||||
|
Ks 0.500000 0.500000 0.500000
|
||||||
|
Ke 0.000000 0.000000 0.000000
|
||||||
|
Ni 1.450000
|
||||||
|
d 1.000000
|
||||||
|
illum 2
|
||||||
|
map_Kd Spartan_Helmet_Mat_BaseColor.png
|
||||||
|
map_Bump Spartan_Helmet_Mat_Normal.png
|
||||||
|
refl Spartan_Helmet_Mat_Specular.png
|
||||||
|
|
||||||
|
newmtl Spartan_Legs_Mat
|
||||||
|
Ns 179.999996
|
||||||
|
Ka 1.000000 1.000000 1.000000
|
||||||
|
Kd 1.000000 1.000000 1.000000
|
||||||
|
Ks 0.500000 0.500000 0.500000
|
||||||
|
Ke 0.000000 0.000000 0.000000
|
||||||
|
Ni 1.450000
|
||||||
|
d 1.000000
|
||||||
|
illum 2
|
||||||
|
map_Kd Spartan_Legs_Mat_BaseColor.png
|
||||||
|
map_Bump Spartan_Legs_Mat_Normal.png
|
||||||
|
refl Spartan_Legs_Mat_Specular.png
|
||||||
|
|
||||||
|
newmtl Spartan_Shoulders_Mat
|
||||||
|
Ns 179.999996
|
||||||
|
Ka 1.000000 1.000000 1.000000
|
||||||
|
Kd 1.000000 1.000000 1.000000
|
||||||
|
Ks 0.500000 0.500000 0.500000
|
||||||
|
Ke 0.000000 0.000000 0.000000
|
||||||
|
Ni 1.450000
|
||||||
|
d 1.000000
|
||||||
|
illum 2
|
||||||
|
map_Kd Spartan_Shoulder_Mat_BaseColor.png
|
||||||
|
map_Bump Spartan_Shoulder_Mat_Normal.png
|
||||||
|
refl Spartan_Shoulder_Mat_Specular.png
|
||||||
|
|
||||||
|
newmtl Spartan_Undersuit_Mat
|
||||||
|
Ns 179.999996
|
||||||
|
Ka 1.000000 1.000000 1.000000
|
||||||
|
Kd 1.000000 1.000000 1.000000
|
||||||
|
Ks 0.500000 0.500000 0.500000
|
||||||
|
Ke 0.000000 0.000000 0.000000
|
||||||
|
Ni 1.450000
|
||||||
|
d 1.000000
|
||||||
|
illum 2
|
||||||
|
map_Kd Spartan_Undersuit_Mat_BaseColor.png
|
||||||
|
map_Bump Spartan_Undersuit_Mat_Normal.png
|
||||||
|
refl Spartan_Undersuit_Mat_Specular.png
|
||||||
|
|
||||||
|
newmtl lambert1
|
||||||
|
Ns 179.999996
|
||||||
|
Ka 1.000000 1.000000 1.000000
|
||||||
|
Kd 0.500000 0.500000 0.500000
|
||||||
|
Ks 0.500000 0.500000 0.500000
|
||||||
|
Ke 0.000000 0.000000 0.000000
|
||||||
|
Ni 1.450000
|
||||||
|
d 1.000000
|
||||||
|
illum 2
|
121956
models/spartan/spartan.obj
Normal file
1834
models/sphere.obj
Normal file
BIN
skybox/back.png
Normal file
After Width: | Height: | Size: 3.0 MiB |
BIN
skybox/bottom.png
Normal file
After Width: | Height: | Size: 3.1 MiB |
BIN
skybox/front.png
Normal file
After Width: | Height: | Size: 3.3 MiB |
BIN
skybox/left.png
Normal file
After Width: | Height: | Size: 3.4 MiB |
BIN
skybox/right.png
Normal file
After Width: | Height: | Size: 1.7 MiB |
9
skybox/skybox.frag
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#version 330
|
||||||
|
uniform samplerCube uTexture;
|
||||||
|
|
||||||
|
varying vec3 vTexCoord;
|
||||||
|
|
||||||
|
void main()
|
||||||
|
{
|
||||||
|
gl_FragColor = texture(uTexture, vTexCoord);
|
||||||
|
}
|
15
skybox/skybox.vert
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
#version 330
|
||||||
|
layout(location = 0) in vec3 aPosition;
|
||||||
|
|
||||||
|
out vec3 vTexCoord;
|
||||||
|
|
||||||
|
uniform mat4 uProjectionMatrix;
|
||||||
|
uniform mat4 uViewMatrix;
|
||||||
|
|
||||||
|
void main()
|
||||||
|
{
|
||||||
|
// Strip translation column from camera's 4x4 matrix
|
||||||
|
mat4 view = mat4(mat3(uViewMatrix));
|
||||||
|
gl_Position = uProjectionMatrix * view * vec4(aPosition, 1.0);
|
||||||
|
vTexCoord = aPosition;
|
||||||
|
}
|
BIN
skybox/top.png
Normal file
After Width: | Height: | Size: 1.8 MiB |