add obj parser

This commit is contained in:
2025-01-13 18:09:25 +01:00
parent 0482f34ce5
commit 449f059a07
10 changed files with 10480 additions and 18 deletions

View File

@ -12,12 +12,14 @@ MAT 255 255 255 5.0 0.0 0.0 //light
# sp -100 30 50 50 6
sp 0 -25 0 50 4
#sp 0 -25 0 50 4
#
#sp 1 1 -0.5 2 0
#sp -0.8 0.8 0 1.5 1
#sp -2.2 0.4 0.25 1 2
#sp -3 0.2 0.50 0.75 3
#sp -3.8 -0.1 0.60 0.5 5
#
#cy 0 1 2 0.5 2 -1.5 0 0.75 1
sp 1 1 -0.5 2 0
sp -0.8 0.8 0 1.5 1
sp -2.2 0.4 0.25 1 2
sp -3 0.2 0.50 0.75 3
sp -3.8 -0.1 0.60 0.5 5
cy 0 1 2 0.5 2 -1.5 0 0.75 1
OBJ obj/teapot.obj