added texture header file and progressive rendering support