2009/9/28 cullam Bruce-Lockhart <culla...@yahoo.com>: > So the question is: once I've created custom textures, and added them to the > materials.xml file, what else do I need to do to allow them to be used in > fgfs-construct?
Link between material name and its vertices creates in shape-decode. For example, I'm add an OSM roads with custom textures, with new "TexturedRoad" material in materials.xml: shape-decode --max-segment 500 --line-width 10 data/shapefiles/fromOSM work/OSMroads TexturedRoad where "data/shapefiles/fromOSM" is folder with .shp files, where "work/OSMroads" is work dir for them, where "TexturedRoad" is new material in materials.xml And later: fgfs-construct --work-dir=/home/user/TG/work --output-dir=/home/user/TG/output --tile-id=3531408 AirportArea SRTM-30 Flood OSMroads etc So, in 3531408.btg you will have some polys named "TexturedRoad", and fgfs will ask materials.xml how to paint it. -- --- WBR, Vadym. ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel