Yes, from multitexturecontrol example, I wrote a program in which, key 2 brings layer 2, key 3 brings layer 3 (assigning 1.o to their weights). But I really would like it to work based on distance, as the example is intended for.
Regards, -- A. On Tue, Oct 6, 2009 at 9:21 AM, J.P. Delport <jpdelp...@csir.co.za> wrote: > Have you tried manually using setTextureWeight? > > >>>>> Any hint? >>>> >>>> you can just call setTextureWeight manually to get whatever mix of >>>> textures you want. The example only shows one possible way to use it, >>>> where >>>> the weight is coupled to height. >>>> >>>> jp > > -- > This message is subject to the CSIR's copyright terms and conditions, e-mail > legal notice, and implemented Open Document Format (ODF) standard. The full > disclaimer details can be found at http://www.csir.co.za/disclaimer.html. > > This message has been scanned for viruses and dangerous content by > MailScanner, and is believed to be clean. MailScanner thanks Transtec > Computers for their support. > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org