Hi,
Alejandro Aguilar Sierra wrote:
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.
if manual setting works it probably means that distances in the example
are not what is expected. Maybe print out some values for elevation in
ElevationLayerBlendingCallback and try to follow what it is doing.
jp
Regards,
-- A.
On Tue, Oct 6, 2009 at 9:21 AM, J.P. Delport <[email protected]> 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
[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
--
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
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org