Starting with the excellent PAPI tutorial, I have successfully created VASI, REIL, and MIRL lighting using BGL lights. That said, I have been struggling to properly position the light balls relative to nearby scenery objects.
In the PAPI tutorial, the BGL lights are positioned using small boxes in front of the model of the PAPI lighting box. I am using essentially the same approach for my VASI light boxes. When I slew the plane backwards away from the VASI box, however, the light ball appears to move leftward and upward relative to the visible model of the VASI box.
My observations lead me to believe that the position of a BGL NAV light in XYZ space is not centered in the middle of the bitmap that represents the light ball. Also, when you back away from the light, the light ball stays roughly the same size on screen while the background model shrinks. Since the light ball bitmap is not centered on its position in 3D space, it appears to shift up and to the left relative to the shrinking VASI box.
The consequence of this is that I cannot position the BGL light relative to the visible model of the lighting fixture in a way that looks right at all distances. Am I missing some critical step here, or is this a known bug for which there is no complete solution?
Taylor
In the PAPI tutorial, the BGL lights are positioned using small boxes in front of the model of the PAPI lighting box. I am using essentially the same approach for my VASI light boxes. When I slew the plane backwards away from the VASI box, however, the light ball appears to move leftward and upward relative to the visible model of the VASI box.
My observations lead me to believe that the position of a BGL NAV light in XYZ space is not centered in the middle of the bitmap that represents the light ball. Also, when you back away from the light, the light ball stays roughly the same size on screen while the background model shrinks. Since the light ball bitmap is not centered on its position in 3D space, it appears to shift up and to the left relative to the shrinking VASI box.
The consequence of this is that I cannot position the BGL light relative to the visible model of the lighting fixture in a way that looks right at all distances. Am I missing some critical step here, or is this a known bug for which there is no complete solution?
Taylor
