Welcome to Fractal Forums

Fractal Software => Programming => Topic started by: David Makin on September 23, 2009, 09:44:34 PM




Title: Help wanted
Post by: David Makin on September 23, 2009, 09:44:34 PM
Hi all, can anyone either send me or point me at somewhere to download a complete VS2005 project for rendering a fractal (e.g. standard Mandy or Julia) using GPU shading vertex/fragment code with OpenGL ?

Edit: Just to add that I found this: http://nuclear.sdf-eu.org/articles/sdr_fract/ (http://nuclear.sdf-eu.org/articles/sdr_fract/) but haven't the slightest idea of how to set up an OpenGL based project in VS2005 to impliment the routine and MS documentation stinks (I had no trouble whatsoever doing a version for the iPhone 3+ simulator in Xcode).


Title: Re: Help wanted
Post by: David Makin on September 23, 2009, 11:31:29 PM
Hi all, can anyone either send me or point me at somewhere to download a complete VS2005 project for rendering a fractal (e.g. standard Mandy or Julia) using GPU shading vertex/fragment code with OpenGL ?

Edit: Just to add that I found this: http://nuclear.sdf-eu.org/articles/sdr_fract/ (http://nuclear.sdf-eu.org/articles/sdr_fract/) but haven't the slightest idea of how to set up an OpenGL based project in VS2005 to impliment the routine and MS documentation stinks (I had no trouble whatsoever doing a version for the iPhone 3+ simulator in Xcode).


Nevermind, I just looked at this:  http://www.opengles-book.com/downloads.html (http://www.opengles-book.com/downloads.html) and I think I'll just wait until I have a Mac at home :)


Title: Re: Help wanted
Post by: lycium on September 23, 2009, 11:44:04 PM
[edited to remove non-working link]


Title: Re: Help wanted
Post by: David Makin on September 24, 2009, 01:43:35 AM
http://graphics.cs.uiuc.edu/svn/kcrane/web/project_qjulia.html

404 error !


Title: Re: Help wanted
Post by: lycium on September 24, 2009, 01:46:42 AM
lemme try that again: http://www.cs.caltech.edu/~keenan/project_qjulia.html


Title: Re: Help wanted
Post by: David Makin on September 24, 2009, 02:06:06 AM
Found this one using Direct3D:

http://files.myopera.com/nerius/files/GpuFractals.zip (http://files.myopera.com/nerius/files/GpuFractals.zip)

And created a VS2005 solution but I only have an X600 card so it needs to be redone for shader 2 instead of 3.
My knowledge of shader code is limited - can someone convert the relevant shader/direct3d code to shader 2 ?
(Note that I just need a single working looping version i.e. having 4 versions, 2 with unrolling is irrelevant).

Also does it actually work on cards supporting shader 3 ? (All I get is a black screen, direct3D doesn't even report an error when compiling the shader code though it does hang for a long time when doing so)


Title: Re: Help wanted
Post by: David Makin on September 24, 2009, 02:12:11 AM
lemme try that again: http://www.cs.caltech.edu/~keenan/project_qjulia.html

Thanks - will definitely try that when I get around to installing my ATI X1900XT (I need to get a new PSU first).
At the moment I just have an X600 so I need shader 2 code rather than shader 3, I'm presuming it's possible to do a Mandy or Julia using shader 2 since it can be done for OpenGL ES 2 on the iPhone, or is that shader 3 ?


Title: Re: Help wanted
Post by: David Makin on September 24, 2009, 11:13:57 PM
Hi all, just found this: http://www.xmission.com/~legalize/book/download/index.html (http://www.xmission.com/~legalize/book/download/index.html)