Hi, everyone! Who could tell me how to read a TIFF image with OpenGL? Are there any good ways to show easyly the TIFF image to a viewport?
Hi, everyone! Who could tell me how to read a TIFF image with OpenGL? Are there any good ways to show easyly the TIFF image to a viewport?
reading a TIFF file is not in the scope of OpenGL. Use a specific lib for this (eg libtiff - www.libtiff.org)Originally posted by Rain:
Hi, everyone! Who could tell me how to read a TIFF image with OpenGL? Are there any good ways to show easyly the TIFF image to a viewport?
Then, when you have your image ready, you can pass it to OpenGL either through the texture mechanism or the pixel path.