2013-12-01 18:24:53 +00:00
|
|
|
#ifndef BASECLOUDLAYERRENDERER_H
|
|
|
|
#define BASECLOUDLAYERRENDERER_H
|
|
|
|
|
|
|
|
#include "software_global.h"
|
|
|
|
|
|
|
|
namespace paysages {
|
|
|
|
namespace software {
|
|
|
|
|
|
|
|
class BaseCloudLayerRenderer
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
BaseCloudLayerRenderer(SoftwareRenderer* parent);
|
|
|
|
virtual ~BaseCloudLayerRenderer();
|
|
|
|
|
2013-12-04 21:52:18 +00:00
|
|
|
virtual bool optimizeSearchLimits(BaseCloudsModel *model, Vector3 *start, Vector3 *end);
|
2013-12-01 18:24:53 +00:00
|
|
|
|
2013-12-04 21:52:18 +00:00
|
|
|
virtual Color getColor(BaseCloudsModel *model, const Vector3 &eye, const Vector3 &location);
|
2013-12-08 19:54:34 +00:00
|
|
|
virtual bool alterLight(BaseCloudsModel *model, LightComponent* light, const Vector3 &eye, const Vector3 &location);
|
2013-12-01 18:24:53 +00:00
|
|
|
|
|
|
|
protected:
|
|
|
|
SoftwareRenderer* parent;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // BASECLOUDLAYERRENDERER_H
|