Hi Koduri,
You are not assigning texture coordinates to your Quad, so I guess this
texture coordinates are by default. Apply your own texture coordinates, I
did something like this, but this was local to my application:
osg::ref_ptr quad = osg::createTexturedQuadGeometry(
osg::Vec3(0.0f,
Hi,
I am trying to play the video on android device. I did the coding as follows.
in ".H" file.
Code:
osg::ref_ptr geode;
osg::ref_ptr mVideoTexture;
osg::Image* img;
osg::ref_ptr videoStream[2];
osg::ref_ptr mtForMarker[2];
osg::ref_ptr modelSwitch;
In ".CPP" file
Code:
int idx=0;
i
2 matches
Mail list logo