Archived

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

-X-Modena-X-

Textures and Direct3D

Recommended Posts

I was wondering if anyone could help me out. In my D3D app, I load and display a couple of .x files. I can get teh textures to idsplay corretly, but I can''t get them to move. It is just a simple up and down motion. Anyone able to help me out? The models themselves have no animations, and I really don''t want to animate the models if I don''t have to.

Share this post


Link to post
Share on other sites
Look up Texture Transformation Matrices in the documentation...

Its somewhere like:

DirectX 8.x ->
DirectX Graphics ->
Programmers Guide ->
Using Direct3D ->
Textures ->
Texture Coordinates ->
Texture Coordinate Processing ->
Texture Coordinate Transforms

and the Special Effects topic on the same path specifically mentions translation/rotation of a texture with its texture matrix.

The path might be slightly different in your documentation though because I''m using a beta version of DirectX 8.1, but the topic location has been pretty similar since DirectX 7

--
Simon O''''Connor
Creative Asylum Ltd
www.creative-asylum.com

Share this post


Link to post
Share on other sites
Thanks alot. I think I am finally starting to get the hang of D3D. Also i have some textures that are 5000+ x 140 pixels. Can I get around the limitations with the old Voodoo cards? I only need to see 140x140 at a time? Am I better off splitting the texture into multiple small images and changing textures to stimulate them moving?

Share this post


Link to post
Share on other sites