#include "fleximage.h"#include "error.h"#include "scene.h"#include "filter.h"#include "exrio.h"#include "tgaio.h"#include "pngio.h"#include "blackbodyspd.h"#include "osfunc.h"#include "dynload.h"#include <iostream>#include <fstream>#include <boost/thread/xtime.hpp>#include <boost/archive/text_oarchive.hpp>#include <boost/archive/text_iarchive.hpp>#include <boost/archive/binary_oarchive.hpp>#include <boost/archive/binary_iarchive.hpp>#include <boost/serialization/split_member.hpp>#include <boost/serialization/vector.hpp>#include <boost/serialization/string.hpp>#include <boost/iostreams/filtering_stream.hpp>#include <boost/iostreams/filtering_streambuf.hpp>#include <boost/iostreams/copy.hpp>#include <boost/iostreams/filter/zlib.hpp>#include <boost/iostreams/filter/bzip2.hpp>#include <boost/iostreams/filter/gzip.hpp>Go to the source code of this file.
Classes | |
| class | FlmParameter |
| class | FlmHeader |
Defines | |
| #define | FILTER_TABLE_SIZE 16 |
Enumerations | |
| enum | FlmParameterType { FLM_PARAMETER_TYPE_FLOAT = 0, FLM_PARAMETER_TYPE_STRING = 1 } |
Variables | |
| static const int | FLM_MAGIC_NUMBER = 0xCEBCD816 |
| static const int | FLM_VERSION = 0 |
| static DynamicLoader::RegisterFilm < FlexImageFilm > | r1 ("fleximage") |
| static DynamicLoader::RegisterFilm < FlexImageFilm > | r2 ("multiimage") |
| #define FILTER_TABLE_SIZE 16 |
| enum FlmParameterType |
Definition at line 1365 of file fleximage.cpp.
const int FLM_MAGIC_NUMBER = 0xCEBCD816 [static] |
FLM format ----------
Layout:
HEADER magic_number - int - the magic number number version_number - int - the version number x_resolution - int - the x resolution of the buffers y_resolution - int - the y resolution of the buffers buffer_groups - u_int - the number of lightgroups buffer_configs - u_int - the number of buffers per light group for i in 1:buffer_configs buffer_type - int - the type of the i'th buffer parameters - u_int - the number of stored parameters for i in 1:parameters param_type - int - the type of the i'th parameter param_size - int - the size of the value of the i'th parameter in bytes param_id - int - the id of the i'th parameter param_index - int - the index of the i'th parameter param_value - * - the value of the i'th parameter
DATA for i in 1:buffer_groups samples - float - the number of samples in the i'th buffer group for j in 1:buffer_configs for y in 1:y_resolution for x in 1:x_resolution X - float - the weighted sum of all X values added to the pixel Y - float - the weighted sum of all Y values added to the pixel Z - float - the weighted sum of all Z values added to the pixel alpha - float - the weighted sum of all alpha values added to the pixel weight_sum - float - the sum of al weights of all values added to the pixel
Remarks:
Definition at line 1363 of file fleximage.cpp.
const int FLM_VERSION = 0 [static] |
Definition at line 1364 of file fleximage.cpp.
DynamicLoader::RegisterFilm<FlexImageFilm> r1("fleximage") [static] |
DynamicLoader::RegisterFilm<FlexImageFilm> r2("multiimage") [static] |
1.6.2-20100208