Hi,
I have a problem to load an image to a texture by using this code.
// create drawable geometry object
osg::Geometry* pGeo = new osg::Geometry;
// add 4 vertices creating a quad
osg::Vec3Array* pVerts = new osg::Vec3Array;
pVerts->push_back( osg::Vec3( 0, 0, 0 ) );
pVerts-
Hi,
I have a problem to load a model by using this code:
// load model
osg::Node* pLoadedModel = osgDB::readNodeFile(
"C:\Programme\ADTF\2.1.1\lib\OpenSceneGraph-2.6.1\bin\tour.obj" );
if(!pLoadedModel)
{
std::cout << "Error: Couldn't find model!" << std::endl;
}
m_pT
2 matches
Mail list logo