Hi Nickolia, I haven't seen VPB generate terrain like this, are you forcing the height field resolution higher than what VPB chooses by default? I say this as this is the type of artefact I'd expect with over sampling.
As where to modify VPB to add filtering in, I'm afraid I don't recall off the top of my head, it's been a number of years since I worked on it. Do a search for HeightField in the code. However, if it's just a sampling artefact I would suggest just let VPB decide what is the appropriate resolution for the input data and see what result it comes up with. Robert. On 10 October 2016 at 13:44, Nickolai Medvedev <raizel....@yandex.ru> wrote: > Hi again, Robert. > > All sense in "roughnesses": > > __ __ > |_ \ > |_ must be \ > |__ \__ > > | | > VPB With Box Filter > > > I would like to insert Box Filter into the VPB code. > I would like to know, where to take float array of heights values, before > creation of geometry to pass them through box filter for smoothing of > roughnesses. > > P.S. Sorry, Robert, i badly know English, therefore me it is difficult to > express my thoughts. I hope, you understood something... > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=68943#68943 > > > > > _______________________________________________ > 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