   SHOW_HOW_TO_USE_TCI, what is tci
  texture coordinate index.. how why is this different... what is it?  I can''t seem to grasp it from the tutorial in the d3d sdk help, texture section.  I know when I #define SHOW_HOW_TO_USE_TCI, it gets rid of the u,v texture coordinates.. right.. but.. can anyone explain this better?  thanks.   Kings of Chaos
  It''s refering to the "D3DTSS_TEXCOORDINDEX" TextureStageState.D3DTSS_TEXCOORDINDEX allows you to set which set of texture coordinates a particular texture stage will use to sample its texture. However it ALSO allows you to enable automatic   texture coordinate generation where D3D will generate values for the texture coordinates for you based on various elements of the vertex as seen from the camera. D3DTSS_TCI_CAMERASPACENORMALD3DTSS_TCI_CAMERASPACEPOSITIOND3DTSS_TCI_CAMERASPACEREFLECTIONVECTORD3DTSS_TCI_SPHEREMAPWhile this isn''t of that much use for static texture coordinates, it''s great for things like environment mapping, projected lights, projected shadows etc - where D3D does most of the hard work for you.A good place to start when learning about automatic texture coordinate generation (aka TexGen) and texture coordinate processing in general is in the DirectX docs at:DirectX Graphics ->Programming Guide ->Fixed Function Pipeline ->Textures ->Texture Coordinates ->Texture Coordinate Processing --Simon O''Connorex  -Creative AsylumProgrammer &Microsoft MVP