Jump to content
  • Advertisement

Archived

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

mcfc98

texture co-ord probs in d3d

This topic is 6733 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

Hi ive set up a texture surface ok with the correct image data in it. Using the d3dx DrawSpriteSimple/3D etc it draws fine. When i try to set-up a trianglestrip to draw the texture with drawprimitive it falls over. The polys draw properly in the correct dimensions etc but the texture just seems to be the top-left pixel of it (0,0) drawn over the full poly rather than (0,0)(1,0)(0,1)(1,1) as it should be. Ive tried various wrap/clamp combinations but i still cant get the bleeder to texture properly. Any ideas? cheers.

Share this post


Link to post
Share on other sites
Advertisement

  • 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!