erebus
annotate test/scene @ 31:53a98c148bf8
- introduced SurfaceGeometry to carry all the geometric information input to
BRDF sampling and evaluation functions.
- made Reflectance keep an (optional) pointer to its material
- simplified PhongRefl::sample_dir, with the help of SurfaceGeometry
- worked around microsoft's broken std::thread implementation's deadlock on join
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 07 Jun 2014 09:14:17 +0300 |
parents | 56d504cc555a |
children | 5e27c85e79ca |
rev | line source |
---|---|
nuclear@19 | 1 # test scene |
nuclear@19 | 2 |
nuclear@28 | 3 sphere -position 0 0 0 -scaling 1 1 1 -diffuse 1 0.6 0.5 -brdf composite \ |
nuclear@28 | 4 -brdf lambert -brdf-weight 0.5 \ |
nuclear@28 | 5 -brdf phong -brdf-weight 0.5 |
nuclear@22 | 6 |
nuclear@28 | 7 box -position 0 -1.25 0 -scaling 4 0.5 4 -diffuse 0.3 0.4 1.0 -brdf composite \ |
nuclear@28 | 8 -brdf lambert -brdf-weight 0.3 \ |
nuclear@28 | 9 -brdf mirror -brdf-weight 0.7 |
nuclear@23 | 10 box -position 0 3.75 0 -scaling 20 10 20 -diffuse 1.0 1.0 1.0 -brdf lambert |
nuclear@19 | 11 |
nuclear@23 | 12 box -position 0 4 0 -scaling 3 0.1 3 -emissive 6 6 6 |
nuclear@19 | 13 |
nuclear@19 | 14 camera -position 0 3 -6 -target 0 0 0 |