I need to turn x, y & z coordinates to an image. The x & y are equally spaced, and I can convert the z into color number. What is the easiest format to use?
I need to turn x, y & z coordinates to an image. The x & y are equally spaced, and I can convert the z into color number. What is the easiest format to use?
I've always found the TGA file format to be the easiest to write out to disk. Bitmaps (BMP) have a lot more header information and while they are not insanely difficult, TGA's only have one big header and then the data comes right afterward, so writing them out is simple.
-nt20
i perfer bitmap as well when we are creating an images by using x y & z coordinates. it is simple to do with TGA, you can find a lot of sample codes on the web.