RLMManager.h
上传用户:hkb425
上传日期:2007-06-16
资源大小:34191k
文件大小:1k
- // RLMManager.h: interface for the CRLMManager class.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_RLMMANAGER_H__B43693C2_4008_11D6_812C_5254AB37CDC9__INCLUDED_)
- #define AFX_RLMMANAGER_H__B43693C2_4008_11D6_812C_5254AB37CDC9__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include "StructDef.h"
- //#include "Extension.h"
- class CRLMManager
- {
- public:
- CRLMManager();
- virtual ~CRLMManager();
- bool InitRadiosityScene();
- void DrawRadiosityScene(int renderModel);
- protected:
- //////////// functions
- bool ReadRLMFile();
- void DrawLight();
- void BlendDrawScene(int renderModel);
- void MultitextureDrawScene();
- bool m_bMultitexEnable;
- //////////// extern class
- // CExtension m_cExtension;
- //////////// lighting param
- unsigned char m_diffuse;
- int m_lightnum;
- LIGHT *m_pLight;
- //////////// texture
- int m_texnum;
- unsigned int *m_pTexID;
- //////////// data
- int m_vertnum;
- VERTEX *m_pVertPool;
- //////////// Quads
- int m_quadnum;
- RLM_QUAD *m_pQuads;
- unsigned int *m_pRlmID;
- };
- #endif // !defined(AFX_RLMMANAGER_H__B43693C2_4008_11D6_812C_5254AB37CDC9__INCLUDED_)