problem scalling a 3DS mesh object
Posted: Sat Dec 15, 2007 1:17 pm
Hello
I'm trying to scale a mesh and nothing happens.
Here is the code:
I've searched the forums, but nothing found ![Sad :(](./images/smilies/icon_sad.gif)
//later
my object is a "camera" without floor ... and each wall is only a plane with a texture on it
I'm trying to scale a mesh and nothing happens.
Here is the code:
Code: Select all
sprintf( szFile, "%s%s", instance()->dir(), "objetcs/cub_4_laturi.3ds" );
scene::IAnimatedMesh* m = instance()->irrSceneManager()->getMesh( szFile );
IMeshManipulator* meshMan = instance()->irrSceneManager()->getMeshManipulator();
meshMan->scaleMesh( m, core::vector3df( 100.0f, 1.0f, 100.0f ) );
scene::IAnimatedMeshSceneNode* model = instance()->irrSceneManager()->addAnimatedMeshSceneNode( m );
![Sad :(](./images/smilies/icon_sad.gif)
//later
my object is a "camera" without floor ... and each wall is only a plane with a texture on it