Use only the RED channel to get height so as to use less memory. Thus generate only PPM P2, ie grey ppm.
Use only the RED channel to get height so as to use less memory.
Thus generate only PPM P2, ie grey ppm.

loic-fejoz/luacnc