Archived

This topic is now archived and is closed to further replies.

Sailorstick

SHOW_HOW_TO_USE_TCI

Recommended Posts

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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites