raw2pov.exe:
Description:
raw2pov is a simple little util I wrote to convert a black and white dither file to a povray source file. The intent was that at each black location in the dither file there will be a povray object put in it's place. Source is provided.
Usage:
raw2pov [image_file] [x] [y] [dx] [dy] [pov_file]
This small utility program was not programmed to be 'nice'. If you give garbage inputs then it'll likely crash.
image_file is the raw image to read in. This should be the full filename including extension. Include the full or relative path if the file is not in the same directory from where you run the program from. This file only contains RGB triplets for each pixel. The user needs to know the dimensions of this file before use.
x and y are the dimensions of the image file.
dx and dy are the dimensions of the image to actually process. In other words, 0 - dx and 0 - dy. This was put in because the image file is probably way larger than you really need.
pov_file is the povray file to write to. Include full or relative path if needed. Include extension as well.