+ | Backface culling choosing on quad so euclidian map + portal

This commit is contained in:
TheRedShip
2025-02-04 00:07:32 +01:00
parent 9ddce8b6d0
commit df9ab16b76
14 changed files with 86 additions and 33 deletions

View File

@ -2,7 +2,7 @@ CAM -2.41462 2.57199 4.09049 -1.80012 -50.2012 0.02 2.973 45.75
MAT 20 20 20 0. 0.9 0.5 // 0 gray
# pl 0 5.2 0 0 -1 0 0 // floor
qu -5 5 -5 10 0 0 0 0 10 0
qu -5 5 -5 0 0 10 10 0 0 0
MAT 255 100 100 1.0 0.0 0.0 //1 red

20
scenes/noneuclidian.rt Normal file
View File

@ -0,0 +1,20 @@
CAM 0 2.59881 7 -4.8 -89.9996 0 1 90 5
MAT 100 200 100 0.0 0.0 0.0 // 0
MAT 200 200 200 0.0 0.0 0.0 // 1
MAT 200 200 200 0 0 0 // 2 portal
pl 0 0 0 0 1 0 0
po -1.5 0 4.5 3 0 0 0 3 0 0 2
po -1.5 0 -4.5 3 0 0 0 3 0 1 2
qu -1.5 0 -5 0 3 0 0 0 10 0 1
qu 1.5 0 -5 0 3 0 0 0 10 0 1
qu -1.5 3 -5 3 0 0 0 0 10 0 1
cu 10 1.5 0 3 3 5 1

View File

@ -8,7 +8,7 @@ sp +0.000 +17.00 +20.00 4.0 0
sp +0.000 +17.00 +0.000 4.0 1
sp +0.000 +17.00 -20.00 4.0 2
MAT 250 250 250 0.0 1.5 0.0 DIE -1 // 3 white 0 0 1
MAT 250 250 250 0.0 1.2 0.0 DIE -1 // 3 white 0 0 1
MAT 250 250 250 0.0 1.0 1.0 // 4 white 0 1 0
MAT 200 200 200 0.0 0.0 0.0 // 5 white 1 0 0

View File

@ -22,8 +22,8 @@ qu -1 4 -1 2 0 0 0 0 2 2
cu 0 2.5 0 5 5 5 1
po -1 1 -1.5 0 2 0 2 0 0 0 3
po -1 1 1.5 0 2 0 2 0 0 1 4
po -1 1 -1.5 0 2 0 2 0 0 1 3
po -1 1 1.5 0 2 0 2 0 0 0 4
po -1.5 1 -1 0 2 0 0 0 2 1 5
po 1.5 1 -1 0 2 0 0 0 2 0 6
po -1.5 1 -1 0 2 0 0 0 2 0 5
po 1.5 1 -1 0 2 0 0 0 2 1 6

View File

@ -18,5 +18,5 @@ pl -3 0 0 1 0 0 3
pl 0 0 -3 0 0 1 4
pl 0 0 3 0 0 -1 2
po -0.33 -0.66 -1 0 1 0 0.5 0.5 -0.5 0 2
po -0.5 -0.5 1 0 1 0 1 0 0 1 4
po -0.5 -0.5 -1 0 1 0 1 0.5 0.5 1 2
po -0.5 -0.5 1 0 1 0 1 0 0 0 4

View File

@ -40,5 +40,5 @@ sp 2.4 1.5 -1 1.5 14
// light quad
qu -1 2.999 -1 2 0 0 0 0 2 0
qu -1 2.999 -1 0 0 2 2 0 0 0

View File

@ -65,7 +65,7 @@ cu -9 0.98 3 3 3 3 28
MAT 244 95 28 0.0 0.5 1.0
cu -9 1.23 -6 3 3 3 29
MAT 200 20 20 0.0 1.0 0.05 LAM 0
MAT 200 20 20 0.0 1.0 0.05 LAM -1
MAT 255 255 255 0.0 1.8 0.0 DIE -1
MAT 255 255 255 0.0 1.0 1.0

View File

@ -1,6 +1,18 @@
CAM -0.181956 1.3733 2.83437 -16 -87.8001 0 1 90 5
CAM 0 1.3733 2.83437 -16 -87.8001 0 1 90 5
MAT 255 255 255 10.0 1.0 0.0 //white
# sp 0 0 0 1 0
# MAT 255 255 255 0.0 1.5 0.0 DIE -1 // 0
# sp 0 0 0 12.5 0
TEX skymap.hdr
MAT 255 255 255 1.0 0.0 0.0 LAM 0 // 0
MAT 255 255 255 0.0 0.0 0.0 // 1
sp 0 2 0 150 0
OBJ scenes/obj/jinx.obj -10 0 0 1.25 0 0 0
# OBJ scenes/obj/Dragon_800K.obj 0 0 0 35 0 0 0 1
OBJ scenes/obj/whitedragon.obj 0 0 0 1 0 0 0
OBJ scenes/obj/jinx.obj 0 0 0 1