SEPARATION_PLANE lamp1below, -1001, 32715, 1565, 32768
IFSIZEV _13apapi_fs9_skip_11, 677,1000 ; lod test 70..100
; Node 45 - Plane101 transform:
BGL_SET_MATRIX_INDIRECT 11
BGL_CALL_32 _13apapi_fs9_Plane101_12 ; Node 45 - Plane101
_13apapi_fs9_skip_11 label BGLCODE
IFSIZEV _13apapi_fs9_skip_12, 1579,1000 ; lod test 30..70
IFSIZEV _13apapi_fs9_lod_9, 677,1000
JUMP _13apapi_fs9_skip_12
_13apapi_fs9_lod_9 label BGLCODE
; Node 46 - Plane102 transform:
BGL_SET_MATRIX_INDIRECT 12
BGL_CALL_32 _13apapi_fs9_Plane102_13 ; Node 46 - Plane102
_13apapi_fs9_skip_12 label BGLCODE
IFSIZEV _13apapi_fs9_skip_13, 4739,1000 ; lod test 10..30
IFSIZEV _13apapi_fs9_lod_10, 1579,1000
JUMP _13apapi_fs9_skip_13
_13apapi_fs9_lod_10 label BGLCODE
; Node 47 - Plane103 transform:
BGL_SET_MATRIX_INDIRECT 13
BGL_CALL_32 _13apapi_fs9_Plane103_14 ; Node 47 - Plane103
_13apapi_fs9_skip_13 label BGLCODE
IFSIZEV _13apapi_fs9_skip_14, 9479,1000 ; lod test 5..10
IFSIZEV _13apapi_fs9_lod_11, 4739,1000
JUMP _13apapi_fs9_skip_14
_13apapi_fs9_lod_11 label BGLCODE
; Node 48 - Plane104 transform:
BGL_SET_MATRIX_INDIRECT 14
BGL_CALL_32 _13apapi_fs9_Plane104_15 ; Node 48 - Plane104
_13apapi_fs9_skip_14 label BGLCODE
IFSIZEV _13apapi_fs9_lod_12, 9479,1000 ; lod test 0..5
JUMP _13apapi_fs9_skip_15
_13apapi_fs9_lod_12 label BGLCODE
; Node 49 - Plane105 transform:
BGL_SET_MATRIX_INDIRECT 15
BGL_CALL_32 _13apapi_fs9_Plane105_16 ; Node 49 - Plane105
_13apapi_fs9_skip_15 label BGLCODE
BGL_JUMP_32 lamp1above
lamp1below label BGLCODE
;BGL_SET_MATRIX_INDIRECT 0
IFSIZEV _13apapi_fs9_skip_1, 677,1000 ; lod test 70..100
; Node 35 - Plane01 transform:
BGL_SET_MATRIX_INDIRECT 1
BGL_CALL_32 _13apapi_fs9_Plane01_2 ; Node 35 - Plane01
_13apapi_fs9_skip_1 label BGLCODE
IFSIZEV _13apapi_fs9_skip_2, 1579,1000 ; lod test 30..70
IFSIZEV _13apapi_fs9_lod_1, 677,1000
JUMP _13apapi_fs9_skip_2
_13apapi_fs9_lod_1 label BGLCODE
; Node 36 - Plane02 transform:
BGL_SET_MATRIX_INDIRECT 2
BGL_CALL_32 _13apapi_fs9_Plane02_3 ; Node 36 - Plane02
_13apapi_fs9_skip_2 label BGLCODE
IFSIZEV _13apapi_fs9_skip_3, 4739,1000 ; lod test 10..30
IFSIZEV _13apapi_fs9_lod_2, 1579,1000
JUMP _13apapi_fs9_skip_3
_13apapi_fs9_lod_2 label BGLCODE
; Node 37 - Plane03 transform:
BGL_SET_MATRIX_INDIRECT 3
BGL_CALL_32 _13apapi_fs9_Plane03_4 ; Node 37 - Plane03
_13apapi_fs9_skip_3 label BGLCODE
IFSIZEV _13apapi_fs9_skip_4, 9479,1000 ; lod test 5..10
IFSIZEV _13apapi_fs9_lod_3, 4739,1000
JUMP _13apapi_fs9_skip_4
_13apapi_fs9_lod_3 label BGLCODE
; Node 38 - Plane04 transform:
BGL_SET_MATRIX_INDIRECT 4
BGL_CALL_32 _13apapi_fs9_Plane04_5 ; Node 38 - Plane04
_13apapi_fs9_skip_4 label BGLCODE
IFSIZEV _13apapi_fs9_lod_4, 9479,1000 ; lod test 0..5
JUMP _13apapi_fs9_skip_5
_13apapi_fs9_lod_4 label BGLCODE
; Node 39 - Plane05 transform:
BGL_SET_MATRIX_INDIRECT 5
BGL_CALL_32 _13apapi_fs9_Plane05_6 ; Node 39 - Plane05
_13apapi_fs9_skip_5 label BGLCODE
lamp1above label BGLCODE
SEPARATION_PLANE lamp2below, -1308, 32678, 2046, 32768
IFSIZEV _13apapi_fs9_skip_16, 677,1000 ; lod test 70..100
; Node 50 - Plane111 transform:
BGL_SET_MATRIX_INDIRECT 16
BGL_CALL_32 _13apapi_fs9_Plane111_17 ; Node 50 - Plane111
_13apapi_fs9_skip_16 label BGLCODE
IFSIZEV _13apapi_fs9_skip_17, 1579,1000 ; lod test 30..70
IFSIZEV _13apapi_fs9_lod_13, 677,1000
JUMP _13apapi_fs9_skip_17
_13apapi_fs9_lod_13 label BGLCODE
; Node 51 - Plane112 transform:
BGL_SET_MATRIX_INDIRECT 17
BGL_CALL_32 _13apapi_fs9_Plane112_18 ; Node 51 - Plane112
_13apapi_fs9_skip_17 label BGLCODE
IFSIZEV _13apapi_fs9_skip_18, 4739,1000 ; lod test 10..30
IFSIZEV _13apapi_fs9_lod_14, 1579,1000
JUMP _13apapi_fs9_skip_18
_13apapi_fs9_lod_14 label BGLCODE
; Node 52 - Plane113 transform:
BGL_SET_MATRIX_INDIRECT 18
BGL_CALL_32 _13apapi_fs9_Plane113_19 ; Node 52 - Plane113
_13apapi_fs9_skip_18 label BGLCODE
IFSIZEV _13apapi_fs9_skip_19, 9479,1000 ; lod test 5..10
IFSIZEV _13apapi_fs9_lod_15, 4739,1000
JUMP _13apapi_fs9_skip_19
_13apapi_fs9_lod_15 label BGLCODE
; Node 53 - Plane114 transform:
BGL_SET_MATRIX_INDIRECT 19
BGL_CALL_32 _13apapi_fs9_Plane114_20 ; Node 53 - Plane114
_13apapi_fs9_skip_19 label BGLCODE
IFSIZEV _13apapi_fs9_lod_16, 9479,1000 ; lod test 0..5
JUMP _13apapi_fs9_skip_20
_13apapi_fs9_lod_16 label BGLCODE
; Node 54 - Plane115 transform:
BGL_SET_MATRIX_INDIRECT 20
BGL_CALL_32 _13apapi_fs9_Plane115_21 ; Node 54 - Plane115
_13apapi_fs9_skip_20 label BGLCODE
BGL_JUMP_32 lamp2above
lamp2below label BGLCODE
IFSIZEV _13apapi_fs9_skip_6, 677,1000 ; lod test 70..100
; Node 40 - Plane11 transform:
BGL_SET_MATRIX_INDIRECT 6
BGL_CALL_32 _13apapi_fs9_Plane11_7 ; Node 40 - Plane11
_13apapi_fs9_skip_6 label BGLCODE
IFSIZEV _13apapi_fs9_skip_7, 1579,1000 ; lod test 30..70
IFSIZEV _13apapi_fs9_lod_5, 677,1000
JUMP _13apapi_fs9_skip_7
_13apapi_fs9_lod_5 label BGLCODE
; Node 41 - Plane12 transform:
BGL_SET_MATRIX_INDIRECT 7
BGL_CALL_32 _13apapi_fs9_Plane12_8 ; Node 41 - Plane12
_13apapi_fs9_skip_7 label BGLCODE
IFSIZEV _13apapi_fs9_skip_8, 4739,1000 ; lod test 10..30
IFSIZEV _13apapi_fs9_lod_6, 1579,1000
JUMP _13apapi_fs9_skip_8
_13apapi_fs9_lod_6 label BGLCODE
; Node 42 - Plane13 transform:
BGL_SET_MATRIX_INDIRECT 8
BGL_CALL_32 _13apapi_fs9_Plane13_9 ; Node 42 - Plane13
_13apapi_fs9_skip_8 label BGLCODE
IFSIZEV _13apapi_fs9_skip_9, 9479,1000 ; lod test 5..10
IFSIZEV _13apapi_fs9_lod_7, 4739,1000
JUMP _13apapi_fs9_skip_9
_13apapi_fs9_lod_7 label BGLCODE
; Node 43 - Plane14 transform:
BGL_SET_MATRIX_INDIRECT 9
BGL_CALL_32 _13apapi_fs9_Plane14_10 ; Node 43 - Plane14
_13apapi_fs9_skip_9 label BGLCODE
IFSIZEV _13apapi_fs9_lod_8, 9479,1000 ; lod test 0..5
JUMP _13apapi_fs9_skip_10
_13apapi_fs9_lod_8 label BGLCODE
; Node 44 - Plane15 transform:
BGL_SET_MATRIX_INDIRECT 10
BGL_CALL_32 _13apapi_fs9_Plane15_11 ; Node 44 - Plane15
_13apapi_fs9_skip_10 label BGLCODE
lamp2above label BGLCODE
BGL_RETURN