#include <visp/vpAROgre.h>
#include <visp/vpFeatureBuilder.h>
#include <visp/vpServo.h>
#include <visp/vpSimulatorCamera.h>
int main()
{
#if defined(VISP_HAVE_OGRE)
ogre.setCameraParameters(cam);
ogre.addResource("./");
ogre.init(background, false, true);
std::vector<std::string> name(4);
for (int i=0; i<4; i++) {
std::ostringstream s; s << "Sphere" << i; name[i] = s.str();
ogre.load(name[i], "Sphere.mesh");
ogre.setScale(name[i], 0.02f, 0.02f, 0.02f);
ogre.setPosition(name[i],
vpTranslationVector(point[i].get_oX(), point[i].get_oY(), point[i].get_oZ()));
}
Ogre::Light * light = ogre.getSceneManager()->createLight();
light->setDiffuseColour(1, 1, 1);
light->setSpecularColour(1, 1, 1);
light->setPosition((Ogre::Real)cdMo[0][3], (Ogre::Real)cdMo[1][3], (Ogre::Real)(-cdMo[2][3]));
light->setType(Ogre::Light::LT_POINT);
#endif
for (int i = 0 ; i < 4 ; i++) {
}
wMo = wMc * cMo;
for (unsigned int iter=0; iter < 150; iter ++) {
for (int i = 0 ; i < 4 ; i++) {
}
#if defined(VISP_HAVE_OGRE)
ogre.display(background, cMo);
#endif
}
}