iv got a feeling you havent set the soya path
you need to do soya.path.append('/path/to/your/data/dir/')
more info at:
http://home.gna.org/soya/doc/cvs/node14.html
and in the tutorial files
On Sat, Jul 16, 2005 at 02:40:59PM +0200, mathieu boulier wrote:
> hello,
>
> I 'm trying to use objmtl2soya.py. I'm using soya 0.10 . But when
> there's textures in the obj files I have this error message in the
> console:
>
>
> "1 : mtllib cube.mtl
> Traceback (most recent call last):
> File "objmtl2soya.py", line 171, in ?
> main()
> File "objmtl2soya.py", line 167, in main
> world = loadObj(infilename)
> File "objmtl2soya.py", line 87, in loadObj
> m=loadMat(os.path.join(os.path.dirname(fileName),pr[0]),materials)
> File "objmtl2soya.py", line 61, in loadMat
> mat[curmat].texture = soya.Image.get(pr[0])
> File "/usr/lib/python2.4/site-packages/soya/__init__.py", line 145, in
> get
> return klass._alls.get(filename) or klass._alls.setdefault(filename,
> klass.load(filename))
> File "/usr/lib/python2.4/site-packages/soya/__init__.py", line 239, in
> load
> raise ValueError("No %s named %s" % (klass.__name__, filename))
> ValueError: No Image named roue.jpeg "
>
>
> I have tried to place textures in different places without success.
> objmtl2soya.py works well without textures in *.mtl files.
> Could someone give me some tips to resolve this problem ?
>
>
>
>
>
> _______________________________________________
> Soya-user mailing list
> [email protected]
> https://mail.gna.org/listinfo/soya-user
>
>