render models from lines of numbers to determine type of object and render image