   Calculating Bitmap in 3d?
  Does anyone know how to calculate a bitmap in 3d?For eg. if I rotate the bitmap in z-axis, the whole bitmap won''t be shown... only maybe every second pixel or something like that.I''m sure there is some formula calculating it.Thx for any help 
  Step 1: Establish a transformation matrix for the operation (rotation, in this case, with translation for compensating image center position maybe).Step 2: For each destination pixel, sample the original bitmap using the inverse of the said matrix multiplied by the destination coordinate vector as the sampling point.If you didn't understand this, read a little bit more about linear algebra and vector maths.If you did understand, then that's it! kind rgds,-NikEDIT: Feel free to ask more info on the theory, if needed.   [edited by - Nik02 on February 7, 2004 5:44:55 AM]