Re: [Misfitmodel3d-devel] Quake3 MD3 file format
Brought to you by:
kworces
|
From: Russell V. <ru...@co...> - 2005-12-25 09:05:51
|
Russell Valentine said the following on 12/24/05 13:57: > I think I need also to read in the skin files, especially if shaderName > doesn't exists. Probably look for modelBaseName_default.skin and read in > meshName,texture_file. Attached does this different now: Tags get setup before animation mode. Reads all the skin files for a model, it loads up all the textures in the skin files so you can easily view a certain skin on your model. The default skin is what material it is using initially. Can use any supported image format for skin and shadername textures. Doesn't load duplicate materials if same image is in multiple skins. I've been spoiled with higher level languages it seems, if someone would give me a hint how I could do line 622-663 (reading the skin file) a bit better I'd be grateful. Russell Valentine |