Attempt to implement faster comparison algorithm
This commit is contained in:
parent
6cfb8d93a2
commit
a04e58c7ca
3 changed files with 98 additions and 13 deletions
|
|
@ -17,8 +17,11 @@ public:
|
|||
sf::RenderTexture tex; // big RenderWindow containg the Chromosome to be evaluated
|
||||
sf::RenderTexture comp; // smaller RenderWindow which is downloaded as Image
|
||||
|
||||
sf::VertexArray dummy;
|
||||
bool horizontal;
|
||||
|
||||
private:
|
||||
sf::Sprite sprite; // sprite to render tex to comp
|
||||
// sf::Sprite sprite; // sprite to render tex to comp
|
||||
sf::Shader compshdr; // shader to perform pixel-wise image diff with
|
||||
sf::View view; // reduces tex to comp size while drawing
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue