Tucano  0.1
A library for rapid prototyping with modern OpenGL and GLSL
ppmIO.hpp File Reference
#include <tucano/texture.hpp>

Go to the source code of this file.

Namespaces

 Tucano
 
 Tucano::ImageImporter
 

Functions

static bool Tucano::ImageImporter::loadPPMImage (string filename, Tucano::Texture *tex)
 Loads a texture from a PPM file. The texture receives data in the range [0,1] to create a FLOAT texture To convert to PPM in Linux use for example: convert filename.png -compress none filename_out.ppm. More...