flat assembler
Message board for the users of flat assembler.
Index
> Linux > OpenGL Mandelbrot renderer |
Author |
|
randall 20 Mar 2012, 17:54
I have written real-time Mandelbrot renderer using OpenGL. It is NVIDIA only program and requires GeForce 8xxx or newer. It is interactive program you can move around and zoom to explore different areas of the fractal (A,Z keys to zoom/unzoom, arrow keys to move the camera). I hope it will be useful for someone.
Thanks.
|
|||||||||||
20 Mar 2012, 17:54 |
|
randall 21 Mar 2012, 09:18
tthsqe wrote: Yes. This is very nice! What exactly would you like to know? I don't use windows, sorry. |
|||
21 Mar 2012, 09:18 |
|
tthsqe 21 Mar 2012, 09:53
Well, I would like to know:
- how to use opengl extensions - how to use custom shaders I guess I'll try to reproduce your code in windows and see what happens... |
|||
21 Mar 2012, 09:53 |
|
randall 21 Mar 2012, 10:10
To use custom assembly shaders on NVIDIA hardware read this:
http://www.opengl.org/registry/specs/NV/gpu_program4.txt First thing you need to do is to create window and OpenGL context. I use SDL 1.2 library for this (it is cross-platform lib so you can also use it on windows). After you created context you can load OpenGL extensions with SDL_GL_GetProcAddress function. |
|||
21 Mar 2012, 10:10 |
|
gunblade 25 Mar 2012, 11:09
Heh, thats pretty neat, didnt know OpenGL provided the option to run code on the GPU..
It looks like a pre-existing version of what is now CUDA (NVIDIA) DirectCompute (AMD/ATI) or OpenCL (both).. If your gfx card is CUDA-capable, you should maybe look at tthsqe's code for CUDA here: http://board.flatassembler.net/topic.php?t=13293 Its windows-only, but I ported it to linux (64-bit) near the bottom of the thread, so you could try that one, and maybe adapt your mandrelbot code to it? |
|||
25 Mar 2012, 11:09 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.