joaopccosta
22-11-2010 15:15:17
the topic says it all...
any way to scale and rotate a triangle mesh? :\
I need it for some static walls...
any way to scale and rotate a triangle mesh? :\
I need it for some static walls...
joaopccosta
22-11-2010 15:15:17
betajaen
22-11-2010 15:21:57
joaopccosta
22-11-2010 15:50:16
Ogre::SceneNode* wall = mSceneMgr->getRootSceneNode()->createChildSceneNode(Ogre::Vector3(0,0,0));
wall->attachObject(mSceneMgr->createEntity(name, "wall1.mesh"));
wall->setScale(20,20,20);
wall->yaw(Ogre::Degree(90));
wall->translate(20,0,20*i);
wall->setVisible(false);
mesh = mMeshManager->load("ogre://General/wall1.nxs","barrier");
mScene->createSceneGeometry(NxOgre::TriangleGeometryDescription(mesh),(NxOgre::Vec3)wall->getPosition());
joaopccosta
23-11-2010 14:35:55
joaopccosta
25-11-2010 11:52:20