Skip to content

Commit

Permalink
Implement key chording for debug scene switching.
Browse files Browse the repository at this point in the history
First work on parsing .mtl files.
  • Loading branch information
zeichensystem committed Jun 27, 2021
1 parent 1500f2a commit 726f35e
Show file tree
Hide file tree
Showing 11 changed files with 903 additions and 14 deletions.
3 changes: 1 addition & 2 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,5 @@
- [x] Don't recalculate vertex projections for each face!
- [x] Better polygon sorting (Ordering table.)
- [x] Mode switching
- [x] Key chording for scene switching

Immediate TODO:
- Key chording for scene switching
142 changes: 142 additions & 0 deletions assets/models/gba.mtl
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
# Blender MTL File: 'gba-joined.blend'
# Material Count: 14

newmtl Material
Ns 225.000000
Ka 1.000000 1.000000 1.000000
Kd 0.090842 0.010330 0.258183
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.450000
d 1.000000
illum 2

newmtl Material.001
Ns 225.000000
Ka 1.000000 1.000000 1.000000
Kd 0.045186 0.006049 0.124772
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.450000
d 1.000000
illum 2

newmtl Material.003
Ns 225.000000
Ka 1.000000 1.000000 1.000000
Kd 0.009721 0.009721 0.009721
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.450000
d 1.000000
illum 2

newmtl Material.005
Ns 225.000000
Ka 1.000000 1.000000 1.000000
Kd 0.274677 0.274677 0.274677
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.450000
d 1.000000
illum 2

newmtl Material.006
Ns 225.000000
Ka 1.000000 1.000000 1.000000
Kd 0.054480 0.074214 0.061246
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.450000
d 1.000000
illum 2

newmtl Material.007
Ns 225.000000
Ka 1.000000 1.000000 1.000000
Kd 0.028426 0.004391 0.074214
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.450000
d 1.000000
illum 2

newmtl Material.010
Ns 225.000000
Ka 1.000000 1.000000 1.000000
Kd 0.109462 0.109462 0.109462
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.450000
d 1.000000
illum 2

newmtl Material.011
Ns 225.000000
Ka 1.000000 1.000000 1.000000
Kd 0.109462 0.109462 0.109462
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.450000
d 1.000000
illum 2

newmtl Material.012
Ns 225.000000
Ka 1.000000 1.000000 1.000000
Kd 0.109462 0.109462 0.109462
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.450000
d 1.000000
illum 2

newmtl Material.013
Ns 225.000000
Ka 1.000000 1.000000 1.000000
Kd 0.109462 0.109462 0.109462
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.450000
d 1.000000
illum 2

newmtl Material.014
Ns 225.000000
Ka 1.000000 1.000000 1.000000
Kd 0.109462 0.109462 0.109462
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.450000
d 1.000000
illum 2

newmtl Material.015
Ns 225.000000
Ka 1.000000 1.000000 1.000000
Kd 0.109462 0.109462 0.109462
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.450000
d 1.000000
illum 2

newmtl Material.016
Ns 225.000000
Ka 1.000000 1.000000 1.000000
Kd 0.035601 0.035601 0.035601
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.450000
d 1.000000
illum 2

newmtl Material.017
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
Loading

0 comments on commit 726f35e

Please sign in to comment.