Re: [osg-users] [3rdparty] Installing osg for Android on Windows (Eclipse)

2012-06-12 Thread Ou Yang
Hi, Jorge Thanks for your advice! After learning all the basic thing about linux and android programming, I successed in building osg for android and tested the sample with my android phone. As an absolute novice, it's really a long journey. For other newbies like me, i have found a easy to

Re: [osg-users] [3rdparty] Installing osg for Android on Windows (Eclipse)

2012-05-07 Thread Ou Yang
Hi, Jordi I had read the linked page in your post carefully, but still can't figure out how to build osg for android on windows. Since i have learned android development only recently, i'd like to ask something more concrete. When building for android on win7, could i generate project file

Re: [osg-users] Problem with osgEarth::ImageOverlay::setAlpha

2012-04-23 Thread Ou Yang
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:

[osg-users] Problem with osgEarth::ImageOverlay::setAlpha

2012-02-21 Thread Ou Yang
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