SHOW_HOW_TO_USE_TCI

Started by
1 comment, last by Sailorstick 21 years, 1 month ago
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
Advertisement
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.
Thanks for the swift reply, you''ve been very helpful!
Suddenly it makes sense...

''Your theory of a donut shaped universe is intriguing Homer'' - Stephen Hawking

This topic is closed to new replies.

Advertisement