Hi Torben, I wrote the osgmultitexturecontrol example primarily as a unit test and demonstrator of controlling the mixing of multiple texture layers found on VPB generated databases. I've never used it on other scene graphs, it could simply be that the check is not appropriate for your subgraphs - so try commenting it out.
Robert. On Wed, Dec 23, 2009 at 11:27 PM, Torben Dannhauer <[email protected]> wrote: > Hi, > > I would like to control textures on models which are not build by VPB. > > In the sourcecode and in the examples debug message, , it seems that the two > textures must be assigned to to different textureUnits. > > I did this, but I doesnt work. osgmulticontroltexture.exe failes with the > debug hint that at least 2 textureunits are requiered. (sounds logical :) ) > > My model consists of 800 submodels (each with two textures), which I grouped > originally unter a osg::Group. > To enable the texture control, I replaced this osg::Group by > a osgFX::MutilTextureControl node. > > What is the basic design of multitexturecontrol? > > > Thank you very much! > > Cheers, > Torben > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=21839#21839 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

