Re: [osg-users] PIXEL_SIZE_ON_SCREEN And RangeList of osgb file

2018-01-13 Thread Andreas Ekstrand
Hi Mouming, With PIXEL_SIZE_ON_SCREEN the specified ranges describe the size in pixels of the PagedLOD's bounding sphere. So in your case, when it's far away and occupies 0 - 1293 pixels (e.g. 300), the first child is shown, i.e. the geometry directly beneath the PagedLOD - no filename is

Re: [osg-users] removing texture from stateset

2018-01-13 Thread Julien Valentin
oups i post too fast I wanted to write Code: StateSet::removeTextureAttribute(unit,texatt) mp3butcher wrote: > Hi Nickolov > use > > Code: > StateSet::removeTextureAttribute(unit,texatt) > > > to remove a texture. > Moreover when you erase you iterator it invalidates it ...so don't do

Re: [osg-users] removing texture from stateset

2018-01-13 Thread Julien Valentin
Hi Nickolov use Code: StateSet::setTextureAttribute(unit,0) to remove a texture. Moreover when you erase you iterator it invalidates it ...so don't do like this Cheers Trajce Nikolov NICK wrote: > Hi Community, > > this should be simple, but I can not make it work. I have ive file with >

[osg-users] removing texture from stateset

2018-01-13 Thread Trajce Nikolov NICK
Hi Community, this should be simple, but I can not make it work. I have ive file with embedded texture and it is big file. All I want is to remove the texture and save it back. When I do this with the code bellow, and save the file, the file is not changing it's size. Any clue/hint? Thanks a

Re: [osg-users] Conan C++ dependency manager

2018-01-13 Thread Julien Valentin
Hi all, The recipe only works for win32 for the moment...i'll continue that on my free time. However, i'm kind of concern about huge source copy involved in conan... Perhaps it's time to change switch spaces to tabs on git to releave my poor hdd (headers only are 4Mo!?) The transition seams