-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
59 lines (42 loc) · 1.55 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
SsTD - Slow'n silly Tri Draw
Implementation of Roger Alsing's idea of recreating existing images by drawing polygons.
It uses a simple hill-climping mutation optimization algorithm that gradually
adds, removes, reorders, recolors and moves triangles.
Based on OpenGL ES 2.0, GLM.
Runs on Android and Windows.
License
--------------------------
WTFPL
Warning
--------------------------
Quite some of the code in this project is still supbar and quick prototyp material.
Also the code is far from optimized and contains one or the other hack.
Credits
--------------------------
Idea | Roger Alsing
http://rogeralsing.com/2008/12/07/genetic-programming-evolution-of-mona-lisa/
Inspiration | @alteredq
http://alteredqualia.com/visualization/evolve/
Technology | Windows OpenGL ES 2.0 PC emulation by imagination
http://www.imgtec.com/powervr/insider/sdkdownloads/
Technology | OpenGL Mathematics
http://glm.g-truc.net/
Technology | stbi-1.33 - public domain JPEG/PNG reader
http://nothings.org/stb_image.c
Compilation
==========================
Compile Android on Windows
--------------------------
1. Install and configure ADK, Cygwin and NDK
2. cd to /projects/android/
3. call ndk-build
4. Error "./obj/local/armeabi/libgnustl_static.a: Permission denied"
is fixed by giving that file write/change permissions
5. open project in Eclipse
6. compile and deploy
Compile on Windows
--------------------------
1. Open \projects\vs-2010\tri-draw.sln
2. compile
3. copy .dlls from \dependencies\win32\lib\[debug|release]\ to output
4. copy \assets\ folder to output