erebus
annotate test/scene @ 34:d15ee526daa6
- changed the UI font, made it a bit smaller
- fixed the text positioning in the status bar
- added ThreadPool::clear to remove all pending jobs
- fixed the TargetCamera matrix calculation to avoid singularities when the
camera looks straight up or down.
- fixed ommited normalization in TargetCamera's matrix calculation
- added paths/sec display in the status bar
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 08 Jun 2014 08:12:05 +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 |