I committed a first version of the new signs code. I didn't ask for permission first, because the old code wasn't used anyway. Hope the changes to materials.xml and the matlib are ok. Here's a screenshot:
http://members.aon.at/mfranz/rwysigns.jpg [27 kB] The signs on it were created with these entries in w130n30/w123n37/942050.stg: OBJECT_TAXI_SIGN {R}_6L-24R_ -122.357357 37.613917 8 150 OBJECT_TAXI_SIGN {R,no-exit} -122.357357 37.613917 6 150 OBJECT_TAXI_SIGN {r}FLIGHTGEAR{l} -122.357357 37.613917 4 150 OBJECT_TAXI_SIGN {dl}B_|{L}[B5]{Y}|_B{ur} -122.357357 37.613917 2 150 The syntax may change, but for now the following rules apply: - text outside curly braces is set verbatim. The respective <glyph><name> in materials.xml as well as the texture in $FG_ROOT/Textures/Signs/ decides how it looks like. (_ is used as space, [ and ] to start/stop framed boxes in the L font) - commands in curly braces (comma-separated) are interpreted. These are either font switch commands (the letters are the suffixes from the sign type according to the spec[1]) Y ... black on yellow -> direction, destination, boundary R ... white on red -> mandatory instruction L ... yellow on black with frame -> runway/taxiway location B ... white on black -> runway distance remaining or glyph names: {no-exit} -> no-exit sign (only in the R font) {l} -> left arrow {r} -> right arrow {ur} -> up-right arrow ... All signs are currently lighted (day and night). This needs to be configurable via additional entry in the OBJECT_TAXI_SIGN line. Also the sign size needs to be configurable that way. Currently all signs are 1 m high. I don't know if the textures are too big. One could certainly scale them down -- haven't tried if the blurriness would be acceptable. TODO: add some simple "hardware" to the naked signs. (Box and stems.) As I didn't ask for permission to commit, I now have to live with negative criticism, and will fix whatever people complain about (if it makes sense and if I feel like it ;-) m. [1] http://www.google.com/search?q=5345-44f ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Flightgear-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/flightgear-devel

