Transporter
13-08-2013 10:15:22
Hi,
I create a cylinder like this:
Now I want to set a texture only on the top cap of the cylinder. How can I realize that? It should be easy if each part (casing, top cap, bottom cap) is realized as a submesh.
Thanks,
Transporter
I create a cylinder like this:
Ogre::MeshPtr pMesh = Procedural::CylinderGenerator().setRadius(MAN_RADIUS).setCapped(true).setHeight(MAN_HEIGHT).setNumSegHeight(1).realizeMesh("Cylinder4684", "Res4684");
Now I want to set a texture only on the top cap of the cylinder. How can I realize that? It should be easy if each part (casing, top cap, bottom cap) is realized as a submesh.
Thanks,
Transporter