From 09fa1809ab285d41180a5767d8cf408855986129 Mon Sep 17 00:00:00 2001 From: sanine Date: Sun, 7 May 2023 22:12:00 -0500 Subject: implement basic third-person camera --- assets/attribution.txt | 1 + assets/skybox.mtl | 13 ++++++++++++ assets/skybox.obj | 46 +++++++++++++++++++++++++++++++++++++++++++ assets/skyboxsun5deg2_tn.jpg | Bin 0 -> 20477 bytes 4 files changed, 60 insertions(+) create mode 100644 assets/attribution.txt create mode 100644 assets/skybox.mtl create mode 100644 assets/skybox.obj create mode 100644 assets/skyboxsun5deg2_tn.jpg (limited to 'assets') diff --git a/assets/attribution.txt b/assets/attribution.txt new file mode 100644 index 0000000..9755abb --- /dev/null +++ b/assets/attribution.txt @@ -0,0 +1 @@ +skyboxsun5deg2_tn.jpg: https://reije081.home.xs4all.nl/skyboxes/ diff --git a/assets/skybox.mtl b/assets/skybox.mtl new file mode 100644 index 0000000..60d07e9 --- /dev/null +++ b/assets/skybox.mtl @@ -0,0 +1,13 @@ +# Blender MTL File: 'None' +# Material Count: 1 + +newmtl Material.001 +Ns 250.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 skyboxsun5deg2_tn.jpg diff --git a/assets/skybox.obj b/assets/skybox.obj new file mode 100644 index 0000000..1a34cf8 --- /dev/null +++ b/assets/skybox.obj @@ -0,0 +1,46 @@ +# Blender v3.5.1 OBJ File: '' +# www.blender.org +mtllib skybox.mtl +o Cube_Cube.001 +v -100.000000 -100.000000 100.000000 +v -100.000000 100.000000 100.000000 +v -100.000000 -100.000000 -100.000000 +v -100.000000 100.000000 -100.000000 +v 100.000000 -100.000000 100.000000 +v 100.000000 100.000000 100.000000 +v 100.000000 -100.000000 -100.000000 +v 100.000000 100.000000 -100.000000 +vt 0.750000 0.334117 +vt 1.000000 0.665883 +vt 1.000000 0.334117 +vt 0.500000 0.334117 +vt 0.750000 0.665883 +vt 0.250000 0.334117 +vt 0.500000 0.665883 +vt -0.000000 0.334117 +vt 0.250000 0.665883 +vt 0.250000 0.002352 +vt 0.500000 0.002352 +vt 0.500000 0.997648 +vt -0.000000 0.665883 +vt 0.250000 0.997648 +vn 1.0000 0.0000 0.0000 +vn 0.0000 0.0000 1.0000 +vn -1.0000 0.0000 0.0000 +vn 0.0000 0.0000 -1.0000 +vn 0.0000 1.0000 0.0000 +vn 0.0000 -1.0000 0.0000 +usemtl Material.001 +s off +f 3/1/1 2/2/1 1/3/1 +f 7/4/2 4/5/2 3/1/2 +f 5/6/3 8/7/3 7/4/3 +f 1/8/4 6/9/4 5/6/4 +f 1/10/5 7/4/5 3/11/5 +f 6/9/6 4/12/6 8/7/6 +f 3/1/1 4/5/1 2/2/1 +f 7/4/2 8/7/2 4/5/2 +f 5/6/3 6/9/3 8/7/3 +f 1/8/4 2/13/4 6/9/4 +f 1/10/5 5/6/5 7/4/5 +f 6/9/6 2/14/6 4/12/6 diff --git a/assets/skyboxsun5deg2_tn.jpg b/assets/skyboxsun5deg2_tn.jpg new file mode 100644 index 0000000..d3e9904 Binary files /dev/null and b/assets/skyboxsun5deg2_tn.jpg differ -- cgit v1.2.1