Hello,

I'm seeing some issues with Soya's Cal3D support.

I'm using Sean Lynch's Windows packaging of Soya CVS dated 2004/05/12, which includes GLEW and Cal3D 0.10.

First, I have my data directories split up, because we have lots and lots of art:

soya.path.append(os.path.join(os.path.dirname(sys.argv[0]), "data", "environs")) soya.path.append(os.path.join(os.path.dirname(sys.argv[0]), "data", "chars"))
soya.path.append(os.path.join(os.path.dirname(sys.argv[0]), "data", "misc"))

When the Cal3D importer gets my Cal3D shape from the data/chars/shapes/squirrel directory, it converts the texture located in data/chars/images, but then doesn't respect the location and tries to save it in data/environs/materials. This is wrong. It should save it back to the data directory it got it from, in this case data/chars/images/materials.

And the objmtl2soya module doesn't even search the path at all, so that's totally broken.

When the model loads up, I want it to track the camera, so per previous discussions, I do squirrel.look_at(camera), and this totally screws up the model. It's hard to explain, but rotate_lateral(-90) does the same thing. It's like the texture UVs get messed up, or like polys are rendered with backward normals and such. The approximate shape and movement of the model is correct, but it's not surviving the translation 100% intact.

Help?

Thanks,
Vito

Reply via email to