00001 00011 #ifndef __IRENDERMODE___ 00012 #define __IRENDERMODE___ 00013 #pragma once 00014 00015 #include <QString> 00016 #include "camera.h" 00017 #include "globals.h" 00018 #include "vector.h" 00019 #include "color.h" 00020 00024 class IRenderMode 00025 { 00026 public: 00027 IRenderMode(void); 00028 ~IRenderMode(void); 00029 00030 virtual QString getName(void); 00031 virtual Color castRay(int screen_x,int screen_y, Camera *pCamera,FILTER mFilter); 00032 virtual bool isRealtime(void) { return true;}; 00033 virtual Color shade(Vector V,Vector N,Color cur,Vector L); 00035 }; 00036 00037 00038 #endif