Hi Cs? Pan?


On Mon, Jan 10, 2011 at 8:54 AM, PanChangsong <[email protected]> wrote:
> I have a question about osgdem –v command, what does this command mean? and
> how can I compute the value of this command parameter?

To answer you question I had to do a osgdem -h and was confronted by
largely unreadable output of the explanation where the explanation was
jammed into a just a few characters per line...  Clearly the
osg::ArgumentParser::write(..) method was handling the long options
names that osgdem has.  Since I couldn't read the explanation I chose
to improve the ArgumentParser's handling of options names, by pushing
the explanation on the to the next line where the option was very
long.  With the fix to the OSG (now checked into svn/trunk) the output
of osgdem became readable:

> osgdem --help

.... lots of other options information... then finally :

    -v                Set the vertical multiplier.


Which hopefully should give you enough info about what it does ;-)

These days with osgTerrain now being used by default it isn't required
to set the vertical multiple as you can set this at runtime now via
osgTerrain::Terrain::setVerticalScale(float);

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to