thank you for reading this.
i'm currently using direct3d for 2d graphics and are having different kinds of small problems.
1.
i am loading graphics for my sprites using the Direct3D.TextureLoader.FromFile method, and gathering information from the file, like width and height, using the Direct3D.TextureLoader.ImageInformationFromFile. i assume there must be a better way to do this than to read the file physically twice. i can't find the information in the texture.
2.
i would like to get a hold of the pixel data inside the texture to be able to [1] scan the picture to find its _actual_ size rather than the 2^x texture size and [2] do pixel perfect collision detection. where is the data hidden?
3.
the little game runs fine on my computer (directx9.0b) but does not run at all at my friends computer (directx9.0a). it doesn't even enter the main method as all exceptions are catched and none are apparently thrown. just a standard windows error of some sort. anyone knows what this is related to? a/b? EDIT: he has no developping libraries as i do.
thank you plenty
apanjocko
i'm currently using direct3d for 2d graphics and are having different kinds of small problems.
1.
i am loading graphics for my sprites using the Direct3D.TextureLoader.FromFile method, and gathering information from the file, like width and height, using the Direct3D.TextureLoader.ImageInformationFromFile. i assume there must be a better way to do this than to read the file physically twice. i can't find the information in the texture.
2.
i would like to get a hold of the pixel data inside the texture to be able to [1] scan the picture to find its _actual_ size rather than the 2^x texture size and [2] do pixel perfect collision detection. where is the data hidden?
3.
the little game runs fine on my computer (directx9.0b) but does not run at all at my friends computer (directx9.0a). it doesn't even enter the main method as all exceptions are catched and none are apparently thrown. just a standard windows error of some sort. anyone knows what this is related to? a/b? EDIT: he has no developping libraries as i do.
thank you plenty
apanjocko
Last edited: