mirror of
https://github.com/TheRedShip/RT_GPU.git
synced 2025-09-27 18:48:36 +02:00
+ | Portal matrices reflection
This commit is contained in:
29
scenes/portalcornell.rt
Normal file
29
scenes/portalcornell.rt
Normal file
@ -0,0 +1,29 @@
|
||||
|
||||
CAM 0 2.5 0
|
||||
|
||||
MAT 30 30 30 0.0 0.0 0.0 //white
|
||||
MAT 255 255 255 0.0 1.0 1.0 //mirror
|
||||
MAT 255 255 255 2.0 0.0 0.0 //sun
|
||||
|
||||
MAT 255 100 100 0.0 0.0 0.0 //red
|
||||
MAT 100 100 255 0.0 0.0 0.0 //blue
|
||||
|
||||
MAT 100 255 100 0.0 0.0 0.0 //green
|
||||
MAT 255 255 100 0.0 0.0 0.0 //yellow
|
||||
|
||||
MAT 255 255 255 0.0 1.45 0.0 DIE //glass
|
||||
|
||||
pl 0 0 0 0 1 0 0
|
||||
|
||||
cu 0 0.5 0 1 1 1 1
|
||||
sp 0 1.5 0 1 1
|
||||
|
||||
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.5 1 -1 0 2 0 0 0 2 1 5
|
||||
po 1.5 1 -1 0 2 0 0 0 2 0 6
|
Reference in New Issue
Block a user