MP (megapixels) are used to measure the dimensions of the images a camera takes, not the quality. The more megapixels, the bigger the image. This means that a 6MP may take better quality images than a 12MP camera, but as the 12MP image is larger you can get a higher resolution image at smaller dimensions.
For photographing small things like 28mm models, you really need a camera with a good Macro function. Macro photography allows you to retain sharp detail when focusing on pictures at close range, at the very minimum a good macro camera should be able to capture images at a 1:1 ratio (so the object in the photo is the same size as the object in real life).
You can spend an absolute fortune on a good macro lens and camera body,but for a cheap option I've heard the Canon Powershot A3100 has quite a good macro function. After googling about i found
this review of the camera which has some examples of photos taken with the macro function. Not sure if it's a recent model, but I'm sure there will be a replacement version in the current line.