View Single Post
# 5 14-04-2010 , 10:03 AM
elephantinc's Avatar
Level 32 pachyderm
Join Date: Dec 2007
Location: England
Posts: 1,859
I tried it with a cube and got the same error, but I tried it with someone else's model and it did work. I wonder if Maya does something my program doesn't like.
I'll go back to the cube and see if I can find anything strange in there.

Code:
texture_path = os.path.join(model_path, material.texture_fname)
This seems to be the problem with my program. Maybe it doesn't like the fact that it has no texture.

edit: :attn:
I've got it to work. It didn't like the fact that no texture was specified.
Thanks for the help.
user added image


https://users.ecs.soton.ac.uk/as28g11/

Last edited by elephantinc; 14-04-2010 at 11:59 AM.