sphore 0.0.1
SPH openGL rendering engine

src/settings.h

Go to the documentation of this file.
00001 /********************************************************************
00002  * sphore - SPH Opengl Rendering Engine
00003  *
00004  * This file is (or was) part of sphore.
00005  * sphore comes with ABSOLUTELY NO WARRANTY.
00006  * This is free software; and you are welcome to redistribute
00007  * it under the terms of the GNU General Public License
00008  * (see LICENSE file for details) and the provision that
00009  * this notice remains intact. If you modify this file, please
00010  * note section 2a) of the GPLv2 states that:
00011  *
00012  *  a) You must cause the modified files to carry prominent notices
00013  *     stating that you changed the files and the date of any change.
00014  *
00015  * Copyright (C) 2011 James Wetter. All rights reserved.
00016  * Contact: wetter.j@gmail.com
00017  *
00018  ********************************************************************/
00019 
00026 #ifndef SETTINGS_H
00027 #define SETTINGS_H
00028 
00029 #include "device.h"
00030 #include "viewport.h"
00031 #include "list.h"
00032 #include "camera.h"
00033 #include "volume.h"
00034 #include "kernel.h"
00035 #include "colour-ramp.h"
00036 #include "offscreen.h"
00037 #include <GL/gl.h>
00038 
00042 device_t *current_device;
00043 
00047 viewport_t *viewport;
00048 
00052 camera_t *cam;
00053 
00057 volume_t *volume;
00058 
00062 list_t *points;
00063 
00067 list_t *lines;
00068 
00072 list_t *spheres;
00073 
00077 list_t *columns;
00078 
00082 float clear_colour[4];
00083 
00087 float colour[4];
00088 
00092 colour_ramp_t *colour_ramp;
00093 
00097 GLuint col_vertex_shader;
00098 
00102 GLuint col_fragment_shader;
00103 
00107 GLuint col_program;
00108 
00112 GLuint colour_vertex_shader;
00113 
00117 GLuint colour_fragment_shader;
00118 
00122 GLuint colouring_program;
00123 
00127 GLuint norm_vertex_shader;
00128 
00132 GLuint norm_fragment_shader;
00133 
00137 GLuint norm_program;
00138 
00142 kernel_t *kernel_3d;
00143 
00144 
00148 offscreen_t *offscreen;
00149 #endif
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines