View Single Post
Old 03-10-2004, 11:02 PM
tobin tobin is offline
WorldViz Team Member
Join Date: Feb 2003
Posts: 251

Have you succeeded in running the 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*********

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.
Reply With Quote