Sample Scene for Project Discussion with TA

This commit is contained in:
2019-12-29 23:39:33 +02:00
parent 5dd2de5d77
commit 9a2f6129bc
18 changed files with 960856 additions and 27 deletions
+2 -1
View File
@@ -10,6 +10,7 @@
class Model {
private:
void load_texture(std::string filename, const char *suffix, TGAImage &img);
int fluid;
public:
TGAImage diffusemap_;
TGAImage normalmap_;
@@ -34,7 +35,7 @@ public:
cl_mem fragment_shader_diffuse_map;
cl_int3* faces;
Model(const char *filename);
Model(const char *filename, int watery);
~Model();
int nverts();
int nfaces();