[osg-users] A parameter in VirtualPlanetBuilder-0.9.1

Robert Osfield robert.osfield at gmail.com
Thu Nov 1 02:22:52 PDT 2007


On 10/31/07, GuiYe <guiyesi at 163.com> wrote:
>
>    arguments.getApplicationUsage()->addCommandLineOption("--layer
> <layer_num>","Specify the layer that the next source Texture will contribute
> to..");
>
>    Who can tell me the meaning of the parameter and how to use this
> parameter?
>

I can't really add much beyond the command line documentation, a layer in
VPB is simply a separate texture unit, a database with just layer 0 will
have just a single texture applied to texture unit 0, a database with a
layer 0 and layer 1 will have two texture units used 0 and 1.

Robert.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20071101/7aea2c61/attachment.html 


More information about the osg-users mailing list