MandelbrotRendrrr

所属分类:分形几何
开发工具:C++
文件大小:0KB
下载次数:0
上传日期:2012-09-11 20:19:49
上 传 者sh-1993
说明:  Mandelbrot渲染器,,
(MandelbrotRendrrr,,)

文件列表:
mandelbrot.cpp (12988, 2012-09-11)
screenshot.png (160424, 2012-09-11)

MandelbrotRenderer ================== This is a bit of sample code I wrote in order to remind myself how to write assembly. My initial estimate was that it would take "one hour" to write in C and another to convert to assembly. The first part took an evening and the second... more like 10 hours! I'm going to attribute that to the fact I haven't used either FPU or 64 bit asm before (poor excuse). The code is Intel x86_64 assembly, compiled with gcc on OS X 10.6 (Darwin 10.8) using the following line to compile: g++ -g -o mandelbrot mandelbrot.cpp -framework Carbon -framework OpenGL -framework GLUT -fasm-blocks Screenshot ========= ![Alt text](https://github.com/guy127917/MandelbrotRendrrr/blob/master/screenshot.png?raw=true "Mandelbrot screenshot") License ======= This code is completely free to all for all purposes. No accrediation is required. References ========== * Used NeHe Lesson 6 as a base http://nehe.gamedev.net/tutorial/texture_mapping/12038/ * x86_64 programmers reference http://www.intel.com/content/www/us/en/processors/architectures-software-developer-manuals.html * GCC Inline Assembly guide http://www.ibiblio.org/gferg/ldp/GCC-Inline-Assembly-HOWTO.html

近期下载者

相关文件


收藏者