test06.yaml (1606B)
1 - sun: &sun { dni: 1 } 2 3 - material: &lambertian 4 front: 5 matte: { reflectivity: 1 } 6 back: 7 matte: { reflectivity: 1 } 8 9 - material: &specular 10 mirror: { reflectivity: 1, slope_error: 0 } 11 12 13 - template: &self_oriented_parabol 14 name: "ground" 15 primary: 0 16 geometry: 17 - material: *lambertian 18 plane: 19 clip: 20 - operation: AND 21 vertices: 22 - [-20.0, -20.0] 23 - [-20.0, 20.0] 24 - [ 20.0, 20.0] 25 - [ 20.0, -20.0] 26 children: 27 - name: "pivot" 28 transform: { translation: [0, 0, 4], rotation: [0, 0, 90] } 29 x_pivot: 30 target: { sun: *sun } 31 children: 32 - name: "parabol" 33 primary: 1 34 geometry: 35 - material: *specular 36 parabol: 37 focal: 4 38 clip: 39 - operation: AND 40 vertices: [[-5.0, -5.0], [-5.0, 5.0], [5.0, 5.0], [5.0, -5.0]] 41 - name: "small_square" 42 transform: { translation: [0, 0, 4] } 43 primary: 0 44 geometry: 45 - material: { virtual: } 46 plane: 47 clip: 48 - operation: AND 49 vertices: 50 - [-0.50, -0.50] 51 - [-0.50, 0.50] 52 - [0.50, 0.50] 53 - [0.50, -0.50] 54 55 56 - entity: 57 name: "reflector" 58 transform: { rotation: [0, 0, 0], translation: [0, 0, 0] } 59 children: [ *self_oriented_parabol ] 60