#13
|
|||
|
|||
Karthi-
Have you succeeded in running the filterHead.py script and creating the face_x.txt file (where x is any number between 1 and 6)? If so, you should be able to open that file in a text editor and see that it contains lots of lines that represent vertex coordinates and texture coordinates. At the very top should be something like: *6 - Filename for Texture********* probio1_0.jpg where probio1_0.jpg should be the name of your texture instead. You need to be sure that that texture file is in the same folder as the face_x.txt file. Finally, you need to issue something like: Bob.replaceHead(3) #This will load face_3.txt where you replace "3" with the number "x" you used in naming your face_x.txt file. Hope this helps. If you're still stuck, please attach the face_x.txt file and the textures and we'll check if you've built everything correctly. |
|
|