Skip to content

Commit

Permalink
examples: add more .obj files for 06_obj_viewer (#19406)
Browse files Browse the repository at this point in the history
  • Loading branch information
spytheman committed Sep 22, 2023
1 parent b440f69 commit edc9ff4
Show file tree
Hide file tree
Showing 10 changed files with 13,425 additions and 1 deletion.
19 changes: 19 additions & 0 deletions examples/sokol/06_obj_viewer/assets/models/cube.obj
@@ -0,0 +1,19 @@
#Name:Cube
#Type:Face-specified
#Direction:Clockwise

v -0.5 -0.5 -0.5
v -0.5 -0.5 0.5
v -0.5 0.5 -0.5
v -0.5 0.5 0.5
v 0.5 -0.5 -0.5
v 0.5 -0.5 0.5
v 0.5 0.5 -0.5
v 0.5 0.5 0.5

f 8 4 2 6
f 8 6 5 7
f 8 7 3 4
f 4 3 1 2
f 1 3 7 5
f 2 1 5 6
12 changes: 12 additions & 0 deletions examples/sokol/06_obj_viewer/assets/models/donut.mtl
@@ -0,0 +1,12 @@
# Blender MTL File: 'donut.blend'
# Material Count: 1

newmtl Material.001
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.259059 0.005681 0.342383
Ni 1.450000
d 0.800000
illum 9

0 comments on commit edc9ff4

Please sign in to comment.