gKit2 light
|
rendu dans une cubemap More...
#include <memory>
#include "wavefront.h"
#include "texture.h"
#include "orbiter.h"
#include "program.h"
#include "uniforms.h"
#include "draw.h"
#include "app_camera.h"
Go to the source code of this file.
Classes | |
class | TP |
struct | TP::Object |
Functions | |
GLuint | read_cubemap (const int unit, const char *filename, const GLenum texel_type=GL_RGBA) |
charge une image, decoupe les 6 faces et renvoie une texture cubemap. More... | |
Mesh | make_grid (const int n=10) |
int | main (int argc, char **argv) |
rendu dans une cubemap
Definition in file tuto_dynamic_cubemap.cpp.
struct TP::Object |
Definition at line 203 of file tuto_dynamic_cubemap.cpp.
Class Members | ||
---|---|---|
Transform | model | |
Color | color |
GLuint read_cubemap | ( | const int | unit, |
const char * | filename, | ||
const GLenum | texel_type = GL_RGBA |
||
) |
charge une image, decoupe les 6 faces et renvoie une texture cubemap.
Definition at line 18 of file tuto_dynamic_cubemap.cpp.