+ | New window2 scene + better light direct sampling, to tweak and see

This commit is contained in:
TheRedShip
2025-01-15 12:18:21 +01:00
parent 2899055b51
commit 8048d0b799
6 changed files with 113 additions and 11 deletions

View File

@ -7,7 +7,7 @@ MAT 255 255 255 10.0 0.0 0.0 //light
pl 0 0 0 0 1 0 1
sp -10 10 -9 0.01 2
sp -10 10 -9 10 2
qu 0 0 0 0 6 0 18 0 0 0
qu 0 0 -18 0 6 0 18 0 0 0

30
scenes/window2.rt Normal file
View File

@ -0,0 +1,30 @@
CAM 0 2 -2 0 90
MAT 255 255 255 0.0 1.0 0.0 //white
MAT 150 150 150 0.0 1.0 0.0 //grey
MAT 255 255 255 10.0 0.0 0.0 //light
sp -5 5 0 1 2
# qu -5 0 -2.5 0 5 0 0 0 5 2
pl 0 0 0 0 1 0 1
qu 2.5 0 -2.5 0 5 0 0 0 5 0
qu -2.5 0 -2.5 0 5 0 5 0 0 0
qu -2.5 0 2.5 0 5 0 5 0 0 0
qu -2.5 5 -2.5 0 0 5 5 0 0 0
qu -2.5 0 -2.5 0 2.5 0 0 0 5 0
qu -2.5 3.5 -2.5 0 1.5 0 0 0 5 0
qu -2.5 2.5 0.5 0 1 0 0 0 2 0
qu -2.5 2.5 -2.5 0 1 0 0 0 2 0