00001 00012 #ifndef __RM_LEVOY__ 00013 #define __RM_LEVOY__ 00014 #pragma once 00015 #include "irendermode.h" 00016 #include <QString> 00017 00022 class RM_levoy : public IRenderMode 00023 { 00024 public: 00025 RM_levoy(void); 00026 ~RM_levoy(void); 00027 00028 QString getName(void); 00029 Color castRay(int screen_x,int screen_y, Camera *pCamera,FILTER mFilter ); 00030 Color shade(Vector V, Vector N, Color cur, Vector L,Vector H) ; 00031 bool isRealtime(void) { return false ;}; 00032 int stepCount; 00033 }; 00034 00035 00036 #endif