[SOLVED] Exported mesh texture problem
Posted: Tue Mar 03, 2009 6:52 pm
Hello,
I am trying to set a texture on my exported blender mesh (it does the same thing with Sketchup), it's COLLADA 1.4, when I put a texture like this :
With this :
It does this...
Can someone help me please ?
Thanks !
I am trying to set a texture on my exported blender mesh (it does the same thing with Sketchup), it's COLLADA 1.4, when I put a texture like this :
With this :
Code: Select all
IMesh *floorMesh = cynScene->getMesh("./assets/models/floors/floor001.dae");
ISceneNode *floorNode = cynScene->addMeshSceneNode(floorMesh);
floorNode->setPosition(vector3df(0,-5,-60));
floorNode->setMaterialTexture(0, cynDriver->getTexture("./assets/textures/concrete/conc001.jpg"));
Can someone help me please ?
Thanks !