kuz / BrainActivity3D

Computer Graphics Project 2013
GNU General Public License v3.0
22 stars 5 forks source link

.mtl and textures #1

Closed kuz closed 11 years ago

kuz commented 11 years ago
Traceback (most recent call last):
  File "brainactivity.py", line 111, in <module>
    main()
  File "brainactivity.py", line 107, in main
    init()
  File "brainactivity.py", line 44, in init
    init_model()
  File "brainactivity.py", line 101, in init_model
    brain = objloader.OBJ('al.obj', 'model', swapyz=False)
  File "/Users/kuz/Development/BrainActivity3D/lib/objloader.py", line 61, in __init__
    self.mtl = MTL(values[1], path)
  File "/Users/kuz/Development/BrainActivity3D/lib/objloader.py", line 18, in MTL
    surf = pygame.image.load(mtl['map_Kd'])
pygame.error: Couldn't open textures/fabric1.rgb