• Advertisement

Archived

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

texture co-ord probs in d3d

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