Re: [osg-users] VPB: Multitexture control question

2009-10-06 Thread J.P. Delport
Hi, BTW, did you place the high res images on a different layer when using vpb? jp J.P. Delport wrote: Hi, Alejandro Aguilar Sierra wrote: Hello: I have a terrain with two layers of texture, the first one is from bluemarble and the other is a landsat image of much higher resolution. I

Re: [osg-users] VPB: Multitexture control question

2009-10-06 Thread Alejandro Aguilar Sierra
Yes. Bluemarble is in layer 0 and Landsat in layer 1. Using just one landsat image it works like a charm. If I use all, as in the image I sent, they are present both all times o matter how far and close I go. -- A. On Tue, Oct 6, 2009 at 2:12 AM, J.P. Delport jpdelp...@csir.co.za wrote: Hi,

Re: [osg-users] VPB: Multitexture control question

2009-10-06 Thread J.P. Delport
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

Re: [osg-users] VPB: Multitexture control question

2009-10-06 Thread Alejandro Aguilar Sierra
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

Re: [osg-users] VPB: Multitexture control question

2009-10-06 Thread J.P. Delport
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

[osg-users] VPB: Multitexture control question

2009-10-05 Thread Alejandro Aguilar Sierra
Hello: I have a terrain with two layers of texture, the first one is from bluemarble and the other is a landsat image of much higher resolution. I first tested the multitexturecontrol example with just one landsat image and it works fine: from a distance it shows only the bluemarble layer. When I