This bug is fixed in the trunk of osgEarth, try pulling and retest.
Thanks,
Jason
On Mon, Apr 23, 2012 at 10:33 AM, Ou Yang vrcraze2...@gmail.com wrote:
Hi,
The bug has been found in ImageOverlay::init() method.
The original code is:
osg::Vec4Array* colors = new osg::Vec4Array(1);
Hi,
The bug has been found in ImageOverlay::init() method.
The original code is:
osg::Vec4Array* colors = new osg::Vec4Array(1);
(*colors)[0] = osg::Vec4(1,1,1,_alpha);
geometry-setColorArray( colors );
geometry-setColorBinding( osg::Geometry::BIND_OVERALL );
when change it to:
Hi,
I use osgEarth::ImageOverlay::setAlpha(float alpha) to change the transparency
of images, which was draped on terrain, just like what google earth does, but
this method seems has no effect at all! It also doesn't work in the sample
osgearth_imageoverlay. Is it a bug?
I use openscenegraph
I use osgEarth::ImageOverlay::setAlpha(float alpha) to change the
transparency of images, which was draped on terrain, just like what google
earth does, but this method seems has no effect at all! It also doesn't
work in the sample osgearth_imageoverlay. Is it a bug?
I use openscenegraph
Yes, appears to be malfunctioning. I will open an issue for it...thanks.
http://github.com/gwaldron/osgearth/issues/66https://github.com/gwaldron/osgearth/issues/66
Glenn Waldron / @glennwaldron
On Wed, Feb 8, 2012 at 11:38 AM, Ou Yang vrcraze2...@gmail.com wrote:
Hi,
I use
5 matches
Mail list logo