View Single Post
  #3  
Old 10-25-2004, 07:22 PM
vr_boyko vr_boyko is offline
Member
 
Join Date: Sep 2004
Posts: 19
When I did what you suggested (adding a new function to my person class to texture the head with jpegs)

def changehead(self, texture):

newtexture = viz.add(texture)
self.head.texture(newtexture, 'geom_0')


And I called the function using some arbitrary key:

person1.changehead('disgust.jpg')

The head in the world turns black...the texture doesn't look like it's been applied to the head...am I doing something wrong?
Reply With Quote