Mandelbrot project
|
|
Dalus
|
Mon Dec 14 2009, 06:43PM
|
|
|
Registered Member #639
Joined: Wed Apr 11 2007, 09:09PM
Location: The Netherlands, Herkenbosch
Posts: 512
|
For my final programming task I need to draw some Mandlebrot fractals. This is quite easy to do when using the cpu for the calculations. Though I want to be able to do it faster. One way to do so is by using the GPU
The downside is that I have no idea how to start. Can anyone give me some tutorials about coding on the GPU. It needs to meet the following demands:
C++ OpenGL for rendering Supporting ATI and Nvidia
If I get this to work I might try to write code for 3d Mandlebrot fractals.
|
Back to top
|
|
Bjørn
|
|
Registered Member #27
Joined: Fri Feb 03 2006, 02:20AM
Location: Hyperborea
Posts: 2058
|
If you want to make the same program work efficiently on ATI and Nvidia (and on different models) you will have to sacrifice speed or you need to make many different programs. Mandlebrot fits quite well with GPU architectures, but you will have some problems getting over 32 bit resolution which will ruin a lot of the fun.
Forget about C++ for coding GPUs until everyone get some new cards in a few years, my Nvidia 8800 does not have an architecture that makes standard C++ very usable. It will not be a simple task to get efficient code that can zoom deeply running on many different cards.
See and
|
Back to top
|
|
Dalus
|
|
Registered Member #639
Joined: Wed Apr 11 2007, 09:09PM
Location: The Netherlands, Herkenbosch
Posts: 512
|
Ok if it's next to impossible I'll just try to use both cpu cores. Not that fast but it will work. 2d static images allready work now I just need to write the code for zooming to infinity.
|
Back to top
|
|
Moderator(s): Chris Russell, Noelle, Alex, Tesladownunder, Dave Marshall, Dave Billington, Bjørn, Steve Conner, Wolfram, Kizmo, Mads Barnkob
|
|
Powered by e107 Forum System
|