Jump to content
  • Advertisement

Archived

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

Sailorstick

SHOW_HOW_TO_USE_TCI

This topic is 5645 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
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.

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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!