Original Post
I am having a strange problem with directx 9. I am trying to create a 2d user interface that pops up in front of my 3d app, while the backround 3d is still going on. I do all my 3d rendering, then switch the projection to orthographic and render the 2d elements last. I have been working in 640 by 480 mode for testing, and when I switched to a higher resolution, some of my 2d textures that are drawn on very large polygons are getting distorted. The polygon boundrys are ending on the correct pixel marks in all places, but the texture seems to be wobbling vertically.
Note: There is NO distortion in 640 by 480
I am rendering textured quads with textures on the ^2 mark.
8x8 textures on a 8 x screenwidth quad.
the problem quads Used to be stretching the texure the width of the screen (because it is a border and the texture is uniform accross the X axis), So, I thought the distortion may have been from stretching such a small texture over such a large space, but when I switched the app to tile the textures, I get the same problem.
(I verified that the texture is correctly tiling by using a non uniform texture so I could see the tile.)
does anyone have any ideas? I am trying to create custom widows by hand that can be sized, so the tile texture is neccessary. Unless I want to go crazy and waste resorces by tiling the actual polygons instead of the texture.....
Bummed out.