* Yavuz Onder -- Tuesday 14 March 2006 23:52: > To be able to verify that my objects' dimensions are close to real life, > I thought I would place myself in UFO, first at the base of the object, > and then at the top of the object, and read the altitudes from the > property tree. [...] > Is there another way to achieve what I want (measuring the objects in > Fligtgear scene)?
In the development version (cvs; soon to become 0.9.10) you can fly the UFO to your object, click to some point in the terrain, and you'll see a 3D cursor appear there. With a dialog (Tab-key) you can adjust the position, and finally dump the coordinates of the cursor and the UFO, including the *.stg file path and OBJECT_STATIC line. You can also start the UFO with a different "cursor", e.g. the building itself, so that you can directly place it in the scenery: $ fgfs --aircraft=ufo --prop:/models/model/path=Models/Airport/radar.xml Here's a screenshot of the cursor and the dialog. (The cursor will get improved in the next time, but it's more fun with real objects anyway. :-) http://members.aon.at/mfranz/ufo-cursor.jpg [40 kB] When dumping the coords, you get this in the terminal window: --------------------------- Cursor --------------------------- Longitude: -122.383329 deg Latitude: 37.619509 deg Altitude: 2.8684 m (9.4106 ft) Heading: 176.7 deg Pitch: 0.1 deg Roll: 0.2 deg w130n30/w123n37/942050.stg OBJECT_STATIC -122.383329 37.619509 2.8684 183.3 ---------------------------- UFO ----------------------------- Longitude: -122.383210 deg Latitude: 37.619439 deg Altitude ASL: 5.5687 m (18.2700 ft) Altitude AGL: 2.6325 m (8.6368 ft) Heading: 305.8 deg Ground Elev: 2.9362 m (9.6331 ft) w130n30/w123n37/942050.stg OBJECT_STATIC -122.383210 37.619439 2.9362 54.2 -------------------------------------------------------------- m. ------------------------------------------------------- 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-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/flightgear-users
