Hi
I used this function to draw a checkers sphere player. I download the jpeg file as a texture for it but it is being draw badly, only half of it is draw !!
Please see what i am doing wrong!!
Code:
pCube = PRM_SceneMgr->addSphereSceneNode();
if (pCube)
{
pCube->setPosition(core::vector3df(GET_PLAYER1_POSX(iCube),GET_PLAYER1_POSY(iCube),0));
pCube->setScale(core::vector3df(0.6f,0.6f,0.01f));
pCube->setMaterialTexture(0, PRM_device->getVideoDriver()->getTexture(./white.jpg));
pCube->setMaterialFlag(video::EMF_LIGHTING, false);
pCube->setID(0x1);
}