Seams when tiling using ID3DXSprite

Peter123

New member
Joined
Dec 1, 2003
Messages
1
I am creating a 2D image viewer using DirectX 9.0b (specifically ID3DXSprite). The first step I take is to break up the image into 256 x 256 tiles (because they are the fastest). When stitching the tiles back together to recreate the original image a seam appears on the right and bottom sides of the tiles. This occurs when applying the D3DTEXF_LINEAR, D3DTEXF_LINEAR and greater filters. Applying the D3DTEXF_POINT filter does not create seams. Changing the SamplerState addressing mode does not eliminate the seams.

Any light anyone can shed on this is appreciated.
:)
 
Back
Top