# Weird problem with separation plane

#### mamu

Problem: the last third of the runway edge lights must be yellow (in the direction of the airplane) instead of white
Solution: SEPARATION_PLANE and lot of tweak!

Following the skills acquired in this thread
i came to this code

1 1
2 2
3 3
4 4
5 5
. .
. . (ref point is more or less near here)
. .
5 5
4 4
3 3
2 2
1 1

Code:
``````SEPARATION_PLANE primoGruppo_rwy18_bianche, 0, 0, 32767, 35945399
BGL_LIGHT LIGHT_NAV, 148.418, 0.731, 1097.279, 20, 0.60, 0.40, 0FFF2F2C6h, 0.000000, 0.000000, 1.000000 ; source poly num = 1
BGL_LIGHT LIGHT_NAV, 223.077, 0.862, 1097.279, 20, 0.60, 0.40, 0FFF2F2C6h, 0.000000, 0.000000, 1.000000 ; source poly num = 20
BGL_JUMP_32 primoGruppo_rwy18
primoGruppo_rwy18_bianche label word
BGL_LIGHT LIGHT_NAV, 223.077, 0.862, 1097.279, 20, 0.60, 0.40, 0FFEDBF34h, 0.000000, 0.000000, 1.000000 ; source poly num = 43
BGL_LIGHT LIGHT_NAV, 148.418, 0.731, 1097.279, 20, 0.60, 0.40, 0FFEDBF34h, 0.000000, 0.000000, 1.000000 ; source poly num = 38
primoGruppo_rwy18 label word

SEPARATION_PLANE secondoGruppo_rwy18_bianche, 0, 0, 32767, 32013359
BGL_LIGHT LIGHT_NAV, 148.418, 0.731, 977.279, 20, 0.60, 0.40, 0FFF2F2C6h, 0.000000, 0.000000, 1.000000 ; source poly num = 2
BGL_LIGHT LIGHT_NAV, 223.077, 0.862, 977.279, 20, 0.60, 0.40, 0FFF2F2C6h, 0.000000, 0.000000, 1.000000 ; source poly num = 21
BGL_JUMP_32 secondoGruppo_rwy18
secondoGruppo_rwy18_bianche label word
BGL_LIGHT LIGHT_NAV, 148.418, 0.731, 977.279, 20, 0.60, 0.40, 0FFEDBF34h, 0.000000, 0.000000, 1.000000 ; source poly num = 39
BGL_LIGHT LIGHT_NAV, 223.077, 0.862, 977.279, 20, 0.60, 0.40, 0FFEDBF34h, 0.000000, 0.000000, 1.000000 ; source poly num = 44
secondoGruppo_rwy18 label word

SEPARATION_PLANE terzoGruppo_rwy18_bianche, 0, 0, 32767, 28081319
BGL_LIGHT LIGHT_NAV, 148.418, 0.731, 857.279, 20, 0.60, 0.40, 0FFF2F2C6h, 0.000000, 0.000000, 1.000000 ; source poly num = 3
BGL_LIGHT LIGHT_NAV, 223.077, 0.862, 857.279, 20, 0.60, 0.40, 0FFF2F2C6h, 0.000000, 0.000000, 1.000000 ; source poly num = 22
BGL_JUMP_32 terzoGruppo_rwy18
terzoGruppo_rwy18_bianche label word
BGL_LIGHT LIGHT_NAV, 148.418, 0.731, 857.279, 20, 0.60, 0.40, 0FFEDBF34h, 0.000000, 0.000000, 1.000000 ; source poly num = 40
BGL_LIGHT LIGHT_NAV, 223.077, 0.862, 857.279, 20, 0.60, 0.40, 0FFEDBF34h, 0.000000, 0.000000, 1.000000 ; source poly num = 45
terzoGruppo_rwy18 label word

SEPARATION_PLANE quartoGruppo_rwy18_bianche, 0, 0, 32767, 24149279
BGL_LIGHT LIGHT_NAV, 148.418, 0.731, 737.279, 20, 0.60, 0.40, 0FFF2F2C6h, 0.000000, 0.000000, 1.000000 ; source poly num = 4
BGL_LIGHT LIGHT_NAV, 223.077, 0.862, 737.279, 20, 0.60, 0.40, 0FFF2F2C6h, 0.000000, 0.000000, 1.000000 ; source poly num = 23
BGL_JUMP_32 quartoGruppo_rwy18
quartoGruppo_rwy18_bianche label word
BGL_LIGHT LIGHT_NAV, 148.418, 0.731, 737.279, 20, 0.60, 0.40, 0FFEDBF34h, 0.000000, 0.000000, 1.000000 ; source poly num = 41
BGL_LIGHT LIGHT_NAV, 223.077, 0.862, 737.279, 20, 0.60, 0.40, 0FFEDBF34h, 0.000000, 0.000000, 1.000000 ; source poly num = 42
quartoGruppo_rwy18 label word

SEPARATION_PLANE quintoGruppo_rwy18_bianche, 0, 0, 32767, 20192559
BGL_LIGHT LIGHT_NAV, 148.418, 0.731, 617.279, 20, 0.60, 0.40, 0FFF2F2C6h, 0.000000, 0.000000, 1.000000 ; source poly num = 5
BGL_LIGHT LIGHT_NAV, 223.077, 0.862, 617.279, 20, 0.60, 0.40, 0FFF2F2C6h, 0.000000, 0.000000, 1.000000 ; source poly num = 24
BGL_JUMP_32 quintoGruppo_rwy18
quintoGruppo_rwy18_bianche label word
BGL_LIGHT LIGHT_NAV, 223.077, 0.862, 617.379, 20, 0.60, 0.40, 0FFEDBF34h, 0.000000, 0.000000, 1.000000 ; source poly num = 46
BGL_LIGHT LIGHT_NAV, 148.418, 0.731, 617.379, 20, 0.60, 0.40, 0FFEDBF34h, 0.000000, 0.000000, 1.000000 ; source poly num = 47
quintoGruppo_rwy18 label word

; luci bianche
BGL_LIGHT LIGHT_NAV, 148.418, 0.731, 497.279, 20, 0.60, 0.40, 0FFF2F2C6h, 0.000000, 0.000000, 1.000000 ; source poly num = 6
BGL_LIGHT LIGHT_NAV, 148.418, 0.731, 377.279, 20, 0.60, 0.40, 0FFF2F2C6h, 0.000000, 0.000000, 1.000000 ; source poly num = 7
BGL_LIGHT LIGHT_NAV, 148.418, 0.731, 257.279, 20, 0.60, 0.40, 0FFF2F2C6h, 0.000000, 0.000000, 1.000000 ; source poly num = 8
BGL_LIGHT LIGHT_NAV, 148.418, 0.731, 137.279, 20, 0.60, 0.40, 0FFF2F2C6h, 0.000000, 0.000000, 1.000000 ; source poly num = 9
BGL_LIGHT LIGHT_NAV, 148.418, 0.731, 17.279, 20, 0.60, 0.40, 0FFF2F2C6h, 0.000000, 0.000000, 1.000000 ; source poly num = 10
BGL_LIGHT LIGHT_NAV, 148.418, 0.731, -102.721, 20, 0.60, 0.40, 0FFF2F2C6h, 0.000000, 0.000000, 1.000000 ; source poly num = 11
BGL_LIGHT LIGHT_NAV, 148.418, 0.731, -222.721, 20, 0.60, 0.40, 0FFF2F2C6h, 0.000000, 0.000000, 1.000000 ; source poly num = 12
BGL_LIGHT LIGHT_NAV, 148.418, 0.731, -342.721, 20, 0.60, 0.40, 0FFF2F2C6h, 0.000000, 0.000000, 1.000000 ; source poly num = 13
BGL_LIGHT LIGHT_NAV, 148.418, 0.731, -462.721, 20, 0.60, 0.40, 0FFF2F2C6h, 0.000000, 0.000000, 1.000000 ; source poly num = 14
BGL_LIGHT LIGHT_NAV, 223.077, 0.862, 497.279, 20, 0.60, 0.40, 0FFF2F2C6h, 0.000000, 0.000000, 1.000000 ; source poly num = 25
BGL_LIGHT LIGHT_NAV, 223.077, 0.862, 377.279, 20, 0.60, 0.40, 0FFF2F2C6h, 0.000000, 0.000000, 1.000000 ; source poly num = 26
BGL_LIGHT LIGHT_NAV, 223.077, 0.862, 257.279, 20, 0.60, 0.40, 0FFF2F2C6h, 0.000000, 0.000000, 1.000000 ; source poly num = 27
BGL_LIGHT LIGHT_NAV, 223.077, 0.862, 137.279, 20, 0.60, 0.40, 0FFF2F2C6h, 0.000000, 0.000000, 1.000000 ; source poly num = 28
BGL_LIGHT LIGHT_NAV, 223.077, 0.862, 17.279, 20, 0.60, 0.40, 0FFF2F2C6h, 0.000000, 0.000000, 1.000000 ; source poly num = 29
BGL_LIGHT LIGHT_NAV, 223.077, 0.862, -102.721, 20, 0.60, 0.40, 0FFF2F2C6h, 0.000000, 0.000000, 1.000000 ; source poly num = 30
BGL_LIGHT LIGHT_NAV, 223.077, 0.862, -222.721, 20, 0.60, 0.40, 0FFF2F2C6h, 0.000000, 0.000000, 1.000000 ; source poly num = 31
BGL_LIGHT LIGHT_NAV, 223.077, 0.862, -462.721, 20, 0.60, 0.40, 0FFF2F2C6h, 0.000000, 0.000000, 1.000000 ; source poly num = 32

;fine pista 36
SEPARATION_PLANE quintoGruppo_rwy36_bianche, 0, 0, -32767, 19070394
BGL_LIGHT LIGHT_NAV, 223.077, 0.862, -582.721, 20, 0.60, 0.40, 0FFF2F2C6h, 0.000000, 0.000000, 1.000000 ; source poly num = 33
BGL_LIGHT LIGHT_NAV, 148.418, 0.731, -582.721, 20, 0.60, 0.40, 0FFF2F2C6h, 0.000000, 0.000000, 1.000000 ; source poly num = 15
BGL_JUMP_32 quintoGruppo_rwy36
quintoGruppo_rwy36_bianche label word
BGL_LIGHT LIGHT_NAV, 223.077, 0.862, -582.721, 20, 0.60, 0.40, 0FFEDBF34h, 0.000000, 0.000000, 1.000000 ; source poly num = 56
BGL_LIGHT LIGHT_NAV, 148.418, 0.731, -582.721, 20, 0.60, 0.40, 0FFEDBF34h, 0.000000, 0.000000, 1.000000 ; source poly num = 57
quintoGruppo_rwy36 label word

SEPARATION_PLANE quartoGruppo_rwy36_bianche, 0, 0, -32767, 23065059
BGL_LIGHT LIGHT_NAV, 223.077, 0.862, -702.721, 20, 0.60, 0.40, 0FFF2F2C6h, 0.000000, 0.000000, 1.000000 ; source poly num = 34
BGL_LIGHT LIGHT_NAV, 148.418, 0.731, -702.721, 20, 0.60, 0.40, 0FFF2F2C6h, 0.000000, 0.000000, 1.000000 ; source poly num = 16
BGL_JUMP_32 quartoGruppo_rwy36
quartoGruppo_rwy36_bianche label word
BGL_LIGHT LIGHT_NAV, 148.418, 0.731, -702.721, 20, 0.60, 0.40, 0FFEDBF34h, 0.000000, 0.000000, 1.000000 ; source poly num = 49
BGL_LIGHT LIGHT_NAV, 223.077, 0.862, -702.721, 20, 0.60, 0.40, 0FFEDBF34h, 0.000000, 0.000000, 1.000000 ; source poly num = 54
quartoGruppo_rwy36 label word

SEPARATION_PLANE terzoGruppo_rwy36_bianche, 0, 0, -32767, 26934474
BGL_LIGHT LIGHT_NAV, 223.077, 0.862, -822.721, 20, 0.60, 0.40, 0FFF2F2C6h, 0.000000, 0.000000, 1.000000 ; source poly num = 35
BGL_LIGHT LIGHT_NAV, 148.418, 0.731, -822.721, 20, 0.60, 0.40, 0FFF2F2C6h, 0.000000, 0.000000, 1.000000 ; source poly num = 17
BGL_JUMP_32 terzoGruppo_rwy36
terzoGruppo_rwy36_bianche label word
BGL_LIGHT LIGHT_NAV, 148.418, 0.731, -822.721, 20, 0.60, 0.40, 0FFEDBF34h, 0.000000, 0.000000, 1.000000 ; source poly num = 50
BGL_LIGHT LIGHT_NAV, 223.077, 0.862, -822.721, 20, 0.60, 0.40, 0FFEDBF34h, 0.000000, 0.000000, 1.000000 ; source poly num = 53
terzoGruppo_rwy36 label word

SEPARATION_PLANE secondoGruppo_rwy36_bianche, 0, 0, -32767, 30866514
BGL_LIGHT LIGHT_NAV, 148.418, 0.731, -942.721, 20, 0.60, 0.40, 0FFF2F2C6h, 0.000000, 0.000000, 1.000000 ; source poly num = 18
BGL_LIGHT LIGHT_NAV, 223.077, 0.862, -942.721, 20, 0.60, 0.40, 0FFF2F2C6h, 0.000000, 0.000000, 1.000000 ; source poly num = 36
BGL_JUMP_32 secondoGruppo_rwy36
secondoGruppo_rwy36_bianche label word
BGL_LIGHT LIGHT_NAV, 148.418, 0.731, -942.721, 20, 0.60, 0.40, 0FFEDBF34h, 0.000000, 0.000000, 1.000000 ; source poly num = 51
BGL_LIGHT LIGHT_NAV, 223.077, 0.862, -942.721, 20, 0.60, 0.40, 0FFEDBF34h, 0.000000, 0.000000, 1.000000 ; source poly num = 55
secondoGruppo_rwy36 label word

SEPARATION_PLANE primoGruppo_rwy36_bianche, 0, 0, -32767, 34818541
BGL_LIGHT LIGHT_NAV, 223.077, 0.862, -1062.721, 20, 0.60, 0.40, 0FFF2F2C6h, 0.000000, 0.000000, 1.000000 ; source poly num = 37
BGL_LIGHT LIGHT_NAV, 148.418, 0.731, -1062.721, 20, 0.60, 0.40, 0FFF2F2C6h, 0.000000, 0.000000, 1.000000 ; source poly num = 19
BGL_JUMP_32 primoGruppo_rwy36
primoGruppo_rwy36_bianche label word
BGL_LIGHT LIGHT_NAV, 223.077, 0.862, -1062.721, 20, 0.60, 0.40, 0FFEDBF34h, 0.000000, 0.000000, 1.000000 ; source poly num = 48
BGL_LIGHT LIGHT_NAV, 148.418, 0.731, -1062.721, 20, 0.60, 0.40, 0FFEDBF34h, 0.000000, 0.000000, 1.000000 ; source poly num = 52
primoGruppo_rwy36 label word``````

If I look in top-down, spot or tower view the lights are working well. From cockpit view, as soon as I taxy forward the quintoGruppo and quartoGruppo (number 5 and 4 in the schema above), terzoGruppo-secondoGruppo-primoGruppo disappears (3-2-1) (both white and yellow ones).As soon as I turn the airplane by 180°, the white lights appears again...pretty strange,isn't it?
Any suggestion?