[osg-users] Correct creation of the terrain

Robert Osfield robert.osfield at gmail.com
Mon Oct 10 06:07:26 PDT 2016

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

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.


On 10 October 2016 at 13:44, Nickolai Medvedev <raizel.dev at 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 at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

More information about the osg-users mailing list