[osg-users] Please test OpenSceneGraph master in prep for 3.5.6 dev release

Li Chi s12345uperman at sohu.com
Tue Mar 28 07:13:36 PDT 2017


Hi Robert,

When I create a heightfield (640x320) the generated mesh distorted, please take a look at the attached picture.

...
       heightfield->allocate(640, 320);
       heightfield->setXInterval(1.0f);
       heightfield->setYInterval(1.0f);
       heightfield->setSkirtHeight(1.0f);
...

ENV: Win10 + VS2015

Thank you!

Cheers,
Li

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=70581#70581




Attachments: 
http://forum.openscenegraph.org//files/heightfield_176.png





More information about the osg-users mailing list