SHOW_HOW_TO_USE_TCI
The tutorials bundled with DX9 SDK include lines like
#ifdef SHOW_HOW_TO_USE_TCI
etc.
But none of the documentation actually tells you what it''s used for. The symbol is not defined anywhere so what''s the point? What does it actually mean? It''s something to do with textures but that''s all I can figure out.
''Your theory of a donut shaped universe is intriguing Homer'' - Stephen Hawking
define it yourself using
#define SHOW_HOW_TO_USE_TCI
that define may be commented out in some samples, check beginnings of source files.
what it does is it causes the respective sample to generate texture coordinates on the fly instead of using precomputed coordinates - either loaded from a model file, or hardcoded in c code. the docs elaborate on how texture coordinate generation works.
#define SHOW_HOW_TO_USE_TCI
that define may be commented out in some samples, check beginnings of source files.
what it does is it causes the respective sample to generate texture coordinates on the fly instead of using precomputed coordinates - either loaded from a model file, or hardcoded in c code. the docs elaborate on how texture coordinate generation works.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement