Hi Erik, ----- "Erik Hofman" a écrit : > Frederic Bouvier wrote: > > The relief (you mean the height of the buildings) can be adjusted in > the effect file. The more important thing to me is to get the right > horizontal scale. > > Nothing will change until the next scenery release because the scale > is engraved in the scenery files (as texture coordinates) > > As far as I know the texture coordinates are normalized, so changing > the coverage size in the materials.xml file changes the horizontal scale. > As can be seen in the latest version of that file. > > BTW the heightmap changes accordingly to match the main texture.
looking for "coverage" in the sources, I can't find something related to the texture. As far as I can see, tex coords are computed by sgCalcTexCoords, and this function is called at run time only for ocean tiles. Otherwise, in is called from Terragear, in int TGGenOutput::build( TGConstruct& c ) function for terrain except airports. -- Frédéric Bouvier http://my.fotolia.com/frfoto/ Photo gallery - album photo http://fgsd.sourceforge.net/ FlightGear Scenery Designer ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel