From 3155c6737832c54310c70ecaaf8667d0362de5e8 Mon Sep 17 00:00:00 2001 From: rodri Date: Thu, 26 Sep 2024 15:22:02 +0000 Subject: implement a parser for a model(6). get rid of the libobj dependency. --- model.6.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 model.6.txt (limited to 'model.6.txt') diff --git a/model.6.txt b/model.6.txt new file mode 100644 index 0000000..f91527d --- /dev/null +++ b/model.6.txt @@ -0,0 +1,18 @@ +p x y z [w] +n x y z +t u v +c r g b [a] +v pᵢ [nᵢ|-] [tᵢ|-] [cᵢ|-] + +T x y z +prim nverts vᵢ... [Tᵢ|-] [mtlname] + +mtl name { + ambient: r g b [a] + diffuse: r g b [a] + specular: r g b [a] + shininess: n + diffusemap: path + specularmap: path + normals: path +} -- cgit v1.2.3