-
Notifications
You must be signed in to change notification settings - Fork 0
Image Recreation with Triangles
License
tivtag/TriDraw
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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
About
Image Recreation with Triangles
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published