On Tue, 11 Oct 2005 22:30:42 -0700 Mark Ivey <[EMAIL PROTECTED]> wrote:
> I can't get UV textures working on my models. The > character-animation-1.py tutorial works fine, but if I substitute my own > models the textures don't load. I get this error message as it starts: > > Exception exceptions.ValueError: <exceptions.ValueError instance at > 0xb6f2842c> in '_soya._Cal3dShape._set_texture_from_model' ignored > > > More details: > I made the model in blender, did the UV mapping, and exported it using > blender2cad3d. The .xrf file created by the export has the full path to > the image, like this: > <MAP>/home/mivey/svn_co/hello-soya/data/blender/gus.png</MAP> > > I tried changing the path in the .xrf file. If I change it to something > which doesn't exist I get a "file not found" error, so I know it is > finding my file. > > I noticed the balazar model from character-animation-1.py has binary > files in the shapes/balazar directory, while my files are XML. Not sure > if this matters... > > Any ideas? You need to put your texture in the data/images/ directory, and Soya should find it automatically. XML should be right ; but there is an option for using binary files (which are smaller). You may also use the auto-exporter feature (see tuto blender-auto-exporter). Jiba
