Joscha
f9c5f61a28
Disable vsync in case it slows stuff down
...
Doesn't seem to disable vsync on my machine, not entirely sure though.
Might warrant a closer look.
2018-08-13 13:33:27 +00:00
Joscha
ef5929a851
Fix flicker output when recording chromosomes. Full screen recording still buggy.
2017-08-31 22:09:10 +00:00
Joscha
ee03c2cac6
Add rectangle genes
2017-07-05 08:30:21 +00:00
Joscha
62e6848dee
Add generation screen
...
Finished the UI for the presentation. Probably last commit to this
project, unless I decide to add rectangle squares.
2017-06-26 19:07:23 +00:00
Joscha
5369805616
Add states and a setup state to Control
2017-06-22 17:43:22 +00:00
Joscha
121ae73517
Add Control class
2017-05-29 17:18:29 +00:00
Joscha
f8a5ac20c8
Merge branch 'master' of ssh://wimsheim.selfhost.eu:25444/srv/git/projects/geneross
2017-05-24 18:45:59 +00:00
Joscha
2995b807f2
Use move constructor and assignment operator in Chromosome
2017-05-24 18:44:52 +00:00
Joscha
1b90cec9bf
Ignore image files used for testing
2017-05-24 18:41:19 +00:00
Joscha
fce5da6a94
Speed up Chromosome
...
Reserves memory for vectors when copying chromosomes.
Also, removed old files
2017-05-21 21:06:29 +00:00
Joscha
28210e39d5
Generate smaller triangle genes
...
Instead of choosing three random positions for the corners, now
the positions of the second and third corner are mutations of the
first corner's position.
2017-05-21 00:02:29 +00:00
Joscha
fb74671204
Fix Fitness
...
- compare both textures with the same side up
- load target from the filename passed to the function
2017-05-21 00:01:23 +00:00
Joscha
5c10ba4a78
Reimplement and test Generation
2017-05-21 00:00:08 +00:00
Joscha
c10a12f29c
Fix improper Chromosome copy assingment operator
2017-05-20 23:57:44 +00:00
Joscha
901a5f2b3c
Add GeneTriangle
...
Fix a few Gene type issues
2017-05-18 16:48:05 +00:00
Joscha
d032b3eabf
Implement more Chromosome
...
Properly implement copy constructor and copy assignment operator,
so I can use them in vectors etc.
2017-05-18 15:41:26 +00:00
Joscha
0784268046
Test newly implemented stuff
2017-05-12 16:05:30 +00:00
Joscha
764b26c611
Reorganize Fitness
...
- background color
- functions to load shader and target
- split up rendering and evaluating chromosomes
2017-05-12 16:03:21 +00:00
Joscha
bd45691996
Continue finishing to implement Chromosome and Gene
2017-05-12 11:13:07 +00:00
Joscha
693f9db274
Finish implementing Chromosome and Gene
2017-05-08 07:36:45 +00:00
Joscha
82226ebd58
Use new Genes in Chromosome
2017-05-07 20:12:40 +00:00
Joscha
a550f267df
Reorganize Gene code
2017-05-07 20:12:40 +00:00
Joscha
92f1876aa2
Avoid copying around a CircleShape with each Chromosome
2017-05-07 19:03:19 +00:00
Joscha
ac8354c686
Clean up fitness related parts
2017-04-30 18:04:02 +00:00
Joscha
442a5f8434
Fix crossover
2017-04-30 12:33:29 +00:00
Joscha
075b35d5d0
Use faster random engine
2017-04-30 11:56:05 +00:00
Joscha
fc0840d79d
Fix fitness function bug (hopefully)
...
The shader rounds to the nearest color when rendering, sometimes
it rounds up. I made it only round down,
2017-04-30 09:23:00 +00:00
Joscha
c281026b53
Fix overflow bug (hopefully)
2017-04-29 23:36:25 +00:00
Joscha
f14f31c46f
Optimize compilation parameters
2017-04-29 14:02:06 +00:00
Joscha
1d0a816605
Implement faster comparison algorithm
2017-04-29 12:30:30 +00:00
Joscha
a04e58c7ca
Attempt to implement faster comparison algorithm
2017-04-28 20:37:44 +00:00
Joscha
6cfb8d93a2
Display median and worst image of last generation
2017-04-28 20:37:16 +00:00
Joscha
e7a51448c2
Tweak Chromosome mutation probability
2017-04-28 20:36:36 +00:00
Joscha
359acd4b10
Fix and test Generation
2017-04-28 13:00:09 +00:00
Joscha
6c5c3ad5ac
Initialize randomEngine with current time
2017-04-27 20:57:47 +00:00
Joscha
2c37b90ad8
Add Generation
...
Some more complex algorithms are not yet implemented.
2017-04-27 20:56:45 +00:00
Joscha
0d686b2008
Fix off-by-one error in Chromosome
2017-04-27 20:55:58 +00:00
Joscha
15640c9656
Clean up project
...
Remove unnecessary files and change fitness value to unsigned long long.
2017-04-27 05:45:46 +00:00
Joscha
d38e45dac8
Compare images in fitness function and benchmark them
2017-04-27 05:42:52 +00:00
Joscha
0183d4737c
Adjust circle radius and position limits
2017-04-25 21:24:16 +00:00
Joscha
8f47088a56
Implement and test Chromosome
2017-04-25 20:41:57 +00:00
Joscha
836887d209
Add Chromosome class and plan more stuff
2017-04-24 20:54:05 +00:00
Joscha
1171c37f88
Fix compare shader(s)
2017-04-24 17:25:26 +00:00
Joscha
74051fe676
Test compare shader (not working D:)
2017-04-24 06:27:26 +00:00
Joscha
4953051965
Play around with shaders
2017-04-23 19:48:25 +00:00
Joscha
5d9d0ef716
Set up project
2017-04-23 16:53:26 +00:00