Topic: Pixel-by-pixel intersections on directX?
All greetings of Portiruju 2D a toy from an old engine. There is a problem to make pixel-by-pixel intersections. At me units are represented by means of the animations saved in png. Animation it is simple abreast the frames representing of driving of a unit. During each moment I display any one of frames. The picture square-topped with a transparency but displays I it I can with and turn. I load a texture as LPDIRECT3DTEXTURE8 and I display means . In old implementation the code defined the general area at two pictures if they are superimposed, and then looked, whether there are opaque points in a frame of one unit which are superimposed on opaque points of a frame of other unit. If is - means we . There there was an old engine under PPC2003. And how it to make on , considering that now pictures can be displayed not 1:1 and ?