Welcome to the CZA Image Library

This is an OpenGL image loader that is based upon stb_image by Sean Barrett. From this library you can easily load almost any image into your OpenGL projects. If you have any question or concerns let me know on the contact page. 
 

This is the currently supported file type. 

      JPEG baseline (no JPEG progressive)
      PNG 8-bit only

      TGA (not sure what subset, if a subset)
      BMP non-1bpp, non-RLE
      PSD (composited view only, no extra channels)

      GIF (*comp always reports as 4-channel)
      HDR (radiance rgbE format)
      PIC (Softimage PIC) 

Usage Example

Build Texture from a file. 

stub:
GLuint BuildTexture(const char * filename, bool invertimg = false, bool grayscale = false, bool gentexcoords = false, bool buildMipMap = false, bool addalpha = false);

ex.
GLuint _SkyBox[6];
_SkyBox[location] = CZAIL::BuildTexture(filename, inverttex, grayscale);

Get image data

stub:
unsigned char *GetTextureData(const char * filename,int &width, int &height,int &channels, bool invertimg = false, bool grayscale = false );

ex.
unsigned char * image = CZAIL::GetTextureData(heightmap, w, h,channels, true);

Build a colored texture

stub
GLuint BuildColorTexture(unsigned char r, unsigned char g, unsigned char b);

ex.
Materials[j].tex = CZAIL::BuildColorTexture(r, g, b);


Risks & Issues

Keep your team in sync with your major risks and issues by using this section of the project tracking workspace.



Time Line

Keep your entire projects time line at your teams fingertips using this page driven by Google calendar.



Tasks & Actions

Quickly get your team working on the areas of project they are responsible for with the Tasks & Actions page.



Project Documents

Organization is key to any successful project and with page you can keep all you project documents in one place accessible to the whole team.



Recent Updates

Keep your team informed and on track using the recent updates page.



Contact

Immediately get in touch with your project manager by using the contact page.