f



Bump mapping

Hey

I'm looking for information about how to make texture maps like in
3DSMax.

Materials in 3DS files are described as follow :


#define		   MATERIAL_TEXTURE1				0xa200
#define		   MATERIAL_TEXTURE1_MASK			0xa33e
#define		   MATERIAL_TEXTURE2				0xa33a
#define		   MATERIAL_TEXTURE2_MASK			0xa340
#define		   MATERIAL_TEXTURE_OPACITY			0xa210
#define		   MATERIAL_TEXTURE_OPACITY_MASK	0xa342
#define		   MATERIAL_TEXTURE_BUMP			0xa230
#define		   MATERIAL_TEXTURE_BUMP_MASK		0xa344
#define		   MATERIAL_TEXTURE_SPECULAR		0xa204
#define		   MATERIAL_TEXTURE_SPECULAR_MASK	0xa348
#define		   MATERIAL_TEXTURE_SHININESS		0xa33c
#define		   MATERIAL_TEXTURE_SHININESS_MASK	0xa346
#define		   MATERIAL_TEXTURE_SELFILLUM		0xa33d
#define		   MATERIAL_TEXTURE_SELFILLUM_MASK	0xa34a
#define		   MATERIAL_TEXTURE_REFLECTION		0xa220
#define		   MATERIAL_TEXTURE_REFLECTION_MASK	0xa34c

it's not too hard to understand what TEXTURE1 and TEXTURE2 are, but i'd
like to be able to reproduce the other textures too.

Also anyone having information on if (and where) noise textures
arestored in material/3DS files.


thanx a lot
0
nscreetch (2)
10/16/2003 7:16:13 PM
comp.graphics.api.opengl 7074 articles. 1 followers. Post Follow

0 Replies
569 Views

Similar Articles

[PageSpeed] 51

Reply: