Hi Melchior. This is good stuff. I've changed my automated script for placing the runway distance remaining signs to use this apparatus. It works fine in principle, but I've run into a problem (bug? dunno.).
I would naively expect the angle that you give the sign to correspond to the orientation of a normal either going out of the sign face or going into the sign face. However, there seems to be an offset between the angle used and the heading of the sign face. If that offset were constant, I could handle that no problem; but the offset seems to vary from place to place. For example, add the following lines to Objects/w080n30/w078n38/1679411.stg : OBJECT_TAXI_SIGN [EMAIL PROTECTED] -77.037660 38.846302 4.92 175.51 OBJECT_TAXI_SIGN [EMAIL PROTECTED] -77.037660 38.846303 4.92 355.51 OBJECT_TAXI_SIGN [EMAIL PROTECTED] -77.035431 38.852539 4.97 142.76 OBJECT_TAXI_SIGN [EMAIL PROTECTED] -77.035432 38.852539 4.97 322.76 (these are simulating two-sided signs; more on that in a bit) Then start up fgfs at airport KDCA and runway 15. You'll see the lower "signs" ahead to your left. Close inspection will show that they're almost, but not quite, aligned with the runway, despite the fact that the signs were placed using the heading of the runway in apt.dat. Now head off to runway 1. Ahead a little bit, on the left, one will find the upper signs above. Here again, they're placed with angles corresponding to the heading of the runway. However, in this case, the signs are 90 degrees from the correct orientation -- they point towards the runway side. Am I missing something? -c P.S. I hope you get the chance to make the surrounding sign casing/ structure/box/whatever for these signs. If/when you do, consider the fact that the runway distance remaining signs are almost always double-sided. One can simulate that like I do above, but that won't work well when the physical sign is rendered (rather than just doing a plane) -- the physical signs will overlap in the scene. Maybe some way of specifying the surfaces of a two-sided sign in this formalism would be good. Thanks muchly. -- Chris Metzler [EMAIL PROTECTED] (remove "snip-me." to email) "As a child I understood how to give; I have forgotten this grace since I have become civilized." - Chief Luther Standing Bear
signature.asc
Description: PGP signature