commit e4c9a5ceb9be246dcb390c8df776db41ed3bc707
parent ccd6fee1b383201bc0e8babfd3d8c14cb0fcea1b
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date: Wed, 5 Apr 2017 11:40:31 +0200
Change test on hemispheres to use implicit circular clipping.
Diffstat:
2 files changed, 8 insertions(+), 15 deletions(-)
diff --git a/yaml/test07.ref b/yaml/test07.ref
@@ -1,12 +1,12 @@
#--- Sun direction: 0 90 (-6.12323e-17 -0 -1)
7 1 1 10000 0
-110.217 0
+55.836 0
0 0
-0.911235 0.000596785
+0.665595 0.00236307
0 0
-100 0
+28.2742 0
0 0
0 0
-square_receiver 2 100 FRONT: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 BACK: 0 0 94.89 0.220202 0 0 0 0 0 0
-reflector 6 110.217 10000 0 0 0 0
-2 6 FRONT: -1 -1 -1 -1 -1 -1 -1 -1 BACK: 0 0 94.89 0.220202 0 0 0 0
+square_receiver 2 100 FRONT: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 BACK: 0 0 27.4316 0.048076 0 0 0 0 0 0
+reflector 6 55.836 10000 0 0 0 0
+2 6 FRONT: -1 -1 -1 -1 -1 -1 -1 -1 BACK: 0 0 27.4316 0.048076 0 0 0 0
diff --git a/yaml/test07.yaml b/yaml/test07.yaml
@@ -9,14 +9,7 @@
- geometry: &hemisphere
- material: *specular
hemisphere:
- radius: 10
- clip:
- - operation: AND
- vertices:
- - [-5.00, -5.00]
- - [-5.00, 5.00]
- - [5.00, 5.00]
- - [5.00, -5.00]
+ radius: 3
- geometry: &big_square
- material: { virtual: }
@@ -38,5 +31,5 @@
- entity:
name: "square_receiver"
primary: 0
- transform: { rotation: [0, 0, 0], translation: [0, 0, 2] }
+ transform: { rotation: [0, 0, 0], translation: [0, 0, 4] }
geometry: *big_square