Wintermute Engine Forum

Wintermute Engine => Technical forum => Topic started by: greg on November 30, 2006, 07:28:27 PM

Title: .X Questions
Post by: greg on November 30, 2006, 07:28:27 PM
Hi All,

I have two, possibly naive questions about .X files:

1. Can a 3D character consist of multiple meshes, or do .X files not permit this?

2. If a character has multiple textures--for example, Trinity has a body texture and a belt-buckle texture--where (and how) is it specified which texture applies to which part of the mesh?

Thanks!
Greg
Title: Re: .X Questions
Post by: Mnemonic on November 30, 2006, 11:19:04 PM
1. Can a 3D character consist of multiple meshes, or do .X files not permit this?
Yes, it's possible,

2. If a character has multiple textures--for example, Trinity has a body texture and a belt-buckle texture--where (and how) is it specified which texture applies to which part of the mesh?
You mean, in the X file, or...? In the X file it's the "MeshMaterialList" section. It maps each face of the mesh to a material index.