Advertisement

texture co-ord probs in d3d

Started by March 15, 2000 05:33 AM
-1 comments, last by mcfc98 24 years, 11 months ago
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.

This topic is closed to new replies.

Advertisement