Initial commit
BIN
assets/awesomeface.png
Normal file
|
After Width: | Height: | Size: 58 KiB |
BIN
assets/backpack/ao.jpg
Normal file
|
After Width: | Height: | Size: 1.8 MiB |
16
assets/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
assets/backpack/backpack.obj
Normal file
BIN
assets/backpack/diffuse.jpg
Normal file
|
After Width: | Height: | Size: 5.8 MiB |
BIN
assets/backpack/normal.png
Normal file
|
After Width: | Height: | Size: 14 MiB |
BIN
assets/backpack/roughness.jpg
Normal file
|
After Width: | Height: | Size: 4.2 MiB |
3
assets/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
assets/backpack/specular.jpg
Normal file
|
After Width: | Height: | Size: 6.4 MiB |
BIN
assets/container.jpg
Normal file
|
After Width: | Height: | Size: 181 KiB |
BIN
assets/container2.png
Normal file
|
After Width: | Height: | Size: 457 KiB |
BIN
assets/container2_specular.png
Normal file
|
After Width: | Height: | Size: 141 KiB |
BIN
assets/debugempty.png
Normal file
|
After Width: | Height: | Size: 231 B |
BIN
assets/logo/logo.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
43
assets/logo/logo.py
Normal file
@@ -0,0 +1,43 @@
|
||||
import math
|
||||
|
||||
cx, cy = 250, 250
|
||||
R_in = 52
|
||||
R_out = 188
|
||||
|
||||
A_left_in = -10
|
||||
A_left_out = -16
|
||||
A_right_in = 14
|
||||
A_right_out = 34
|
||||
|
||||
color = "#ffffff"
|
||||
|
||||
|
||||
def get_pt(r, angle_deg):
|
||||
rad = math.radians(angle_deg)
|
||||
return cx + r * math.sin(rad), cy - r * math.cos(rad)
|
||||
|
||||
|
||||
il_x, il_y = get_pt(R_in, A_left_in)
|
||||
ol_x, ol_y = get_pt(R_out, A_left_out)
|
||||
or_x, or_y = get_pt(R_out, A_right_out)
|
||||
ir_x, ir_y = get_pt(R_in, A_right_in)
|
||||
|
||||
cpl_x, cpl_y = get_pt(120, -50)
|
||||
cpr_x, cpr_y = get_pt(120, -5)
|
||||
|
||||
|
||||
svg = f'''<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 500" width="500" height="500">
|
||||
<circle cx="250" cy="250" r="215" stroke="{color}" stroke-width="18" fill="none"/>
|
||||
<circle cx="250" cy="250" r="40" fill="{color}"/>
|
||||
<g fill="{color}">'''
|
||||
|
||||
for i in range(6):
|
||||
svg += f'''
|
||||
<path transform="rotate({i*60}, 250, 250)" d="M {il_x:.2f} {il_y:.2f} Q {cpl_x:.2f} {cpl_y:.2f} {ol_x:.2f} {ol_y:.2f} A {R_out} {R_out} 0 0 1 {or_x:.2f} {or_y:.2f} Q {cpr_x:.2f} {cpr_y:.2f} {ir_x:.2f} {ir_y:.2f} A {R_in} {R_in} 0 0 0 {il_x:.2f} {il_y:.2f} Z"/>'''
|
||||
|
||||
svg += '''
|
||||
</g>
|
||||
</svg>'''
|
||||
|
||||
with open("logo.svg", "w") as f:
|
||||
f.write(svg)
|
||||
12
assets/logo/logo.svg
Normal file
@@ -0,0 +1,12 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 500" width="500" height="500">
|
||||
<circle cx="250" cy="250" r="215" stroke="#ffffff" stroke-width="18" fill="none"/>
|
||||
<circle cx="250" cy="250" r="40" fill="#ffffff"/>
|
||||
<g fill="#ffffff">
|
||||
<path transform="rotate(0, 250, 250)" d="M 240.97 198.79 Q 158.07 172.87 198.18 69.28 A 188 188 0 0 1 355.13 94.14 Q 239.54 130.46 262.58 199.54 A 52 52 0 0 0 240.97 198.79 Z"/>
|
||||
<path transform="rotate(60, 250, 250)" d="M 240.97 198.79 Q 158.07 172.87 198.18 69.28 A 188 188 0 0 1 355.13 94.14 Q 239.54 130.46 262.58 199.54 A 52 52 0 0 0 240.97 198.79 Z"/>
|
||||
<path transform="rotate(120, 250, 250)" d="M 240.97 198.79 Q 158.07 172.87 198.18 69.28 A 188 188 0 0 1 355.13 94.14 Q 239.54 130.46 262.58 199.54 A 52 52 0 0 0 240.97 198.79 Z"/>
|
||||
<path transform="rotate(180, 250, 250)" d="M 240.97 198.79 Q 158.07 172.87 198.18 69.28 A 188 188 0 0 1 355.13 94.14 Q 239.54 130.46 262.58 199.54 A 52 52 0 0 0 240.97 198.79 Z"/>
|
||||
<path transform="rotate(240, 250, 250)" d="M 240.97 198.79 Q 158.07 172.87 198.18 69.28 A 188 188 0 0 1 355.13 94.14 Q 239.54 130.46 262.58 199.54 A 52 52 0 0 0 240.97 198.79 Z"/>
|
||||
<path transform="rotate(300, 250, 250)" d="M 240.97 198.79 Q 158.07 172.87 198.18 69.28 A 188 188 0 0 1 355.13 94.14 Q 239.54 130.46 262.58 199.54 A 52 52 0 0 0 240.97 198.79 Z"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.3 KiB |
BIN
assets/wall.jpg
Normal file
|
After Width: | Height: | Size: 251 KiB |