digitalmars.D.announce - GPUFractal-1
- Burton Radons (7/7) Oct 17 2007 Hey guys, I've been fooling around with GLSL recently and realised I cou...
- Kyle Furlong (3/15) Oct 17 2007 Error: New GL version has been discovered.
- Burton Radons (3/20) Oct 17 2007 Sorry! That was a debug thing I had to gather information. I've updated ...
- Radu (5/29) Oct 17 2007 Error: Could not successfully compile shader source:
- Kyle Furlong (5/27) Oct 17 2007 Error: Could not successfully compile shader source:
- Burton Radons (3/8) Oct 17 2007 Thanks for your help! I've updated the archive again. It now works on an...
- Burton Radons (1/1) Oct 17 2007 Oh and if it does work, comment out the "#undef BREAK_SUPPORT" line in "...
- Nathan Reed (7/19) Oct 17 2007 I wrote a program like this a couple years ago:
- Robert Fraser (6/18) Oct 17 2007 Neat! I can't wait to see the sources!
- Extrawurst (39/47) Oct 17 2007 Vendor: 'ATI Technologies Inc.'
- Burton Radons (2/5) Oct 17 2007 Thanks! These errors are due to the old driver version, I think (I recog...
- Burton Radons (2/9) Oct 17 2007 Okay! Done and updated. Every formula and combination appears to work on...
- Walter Bright (5/8) Oct 17 2007 My suggestions:
- Kyle Furlong (2/13) Oct 17 2007 winrar handles 7z, so if you can open rar you can open 7z
- Walter Bright (11/25) Oct 17 2007 Lots of programs handle 7z. But a lot don't. If someone has to search
- Daniel Keep (7/34) Oct 17 2007 A flip side of this is that 7zs can be quite a bit smaller than Zips.
- Bill Baxter (11/43) Oct 17 2007 I tried making a zip out of it. It was a whopping 5K bigger (with
- Burton Radons (6/16) Oct 17 2007 (variations of this message might post multiple times, web-news was acti...
- Anders Bergh (3/4) Oct 17 2007 Works here with my GeForce 7900 GT!
- Chad J (7/19) Oct 18 2007 Vendor: 'ATI Technologies Inc.'
- Burton Radons (2/23) Oct 18 2007 Thanks! It looks like the X700 and X850 are identical capabilities-wise,...
- BCS (4/11) Oct 18 2007 same for me but
- Burton Radons (12/26) Oct 19 2007 Too old! You win the oldest driver version contest too. ;) The ATI funct...
- BCS (4/9) Oct 19 2007 If you want to see what happened last time I updated those drivers:
- Jascha Wetzel (17/18) Oct 18 2007 my experience: use CG...
- Bruno Medeiros (5/15) Oct 19 2007 I'm having that same error.
- Bill Baxter (3/17) Oct 19 2007 I think you just need to install a more recent driver.
- Burton Radons (3/20) Oct 19 2007 Yuppers, the current driver version is 2.1.1. I've put a check in that'l...
- Nathan Reed (9/29) Oct 20 2007 Actually. Historically, I have heard (and experienced) that ATI's
- Mike Parker (5/6) Oct 18 2007 Works well here.
- Jarrett Billingsley (5/29) Oct 18 2007 Works great, GeForce 8600. I zoomed in really far and saw that fractals...
- Matti Niemenmaa (8/9) Oct 18 2007 Vendor: 'ATI Technologies Inc.'
- Burton Radons (2/11) Oct 18 2007 ATI_9800 was a hack to allow me to test the compiler on that computer; n...
- Matti Niemenmaa (5/13) Oct 18 2007 Should have been more specific: for all cases except #define ATI_9800, i...
- Burton Radons (2/30) Oct 20 2007 Theory busted. I'm on the X850 right now with the latest driver version....
- Nic Tiger (7/19) Oct 20 2007 Vendor: 'NVIDIA Corporation'
Hey guys, I've been fooling around with GLSL recently and realised I could do a Mandelbrot fractal at full frame rate, so I implemented a kind of mini-Ultra Fractal. It works in single pass, so, uh, save your work before you try it because it just might cause your card to freeze if its GLSL support sucks or it isn't VERY good at branching shaders. If it works on your machine, I'd like to hear of it; if it doesn't, I'd also like to hear of it. For reference, my setup is an NVIDIA 8800 GTX (beta drivers) on Windows Vista with an Intel Dual Core 2.66GHz processor. I can confirm that it doesn't work on an ATI Radeon 9800 on Windows XP. The interface is exclusively mouse based. Left mouse button to zoom in, right mouse button to zoom out, middle mouse button to scroll. Using the mouse wheel puts you in variable mode. The mouse wheel selects the current variable, dragging the left mouse button changes it (enumerations and floats are changed by dragging to the right or left), clicking the middle mouse button resets to the initial value, and right clicking returns to zoom/scroll mode. You can modify or add to the formulas while it's running, look in the subdirectories. http://members.shaw.ca/burton-radons/GPUFractal-1.7z (binary, 204KB) http://members.shaw.ca/burton-radons/GPUFractal-1-source.7z (source, 1,360KB) The source is pretty shit and will require slight modification of the makefile's paths to compile. I use D v1 and bud.
Oct 17 2007
Burton Radons wrote:Hey guys, I've been fooling around with GLSL recently and realised I could do a Mandelbrot fractal at full frame rate, so I implemented a kind of mini-Ultra Fractal. It works in single pass, so, uh, save your work before you try it because it just might cause your card to freeze if its GLSL support sucks or it isn't VERY good at branching shaders. If it works on your machine, I'd like to hear of it; if it doesn't, I'd also like to hear of it. For reference, my setup is an NVIDIA 8800 GTX (beta drivers) on Windows Vista with an Intel Dual Core 2.66GHz processor. I can confirm that it doesn't work on an ATI Radeon 9800 on Windows XP. The interface is exclusively mouse based. Left mouse button to zoom in, right mouse button to zoom out, middle mouse button to scroll. Using the mouse wheel puts you in variable mode. The mouse wheel selects the current variable, dragging the left mouse button changes it (enumerations and floats are changed by dragging to the right or left), clicking the middle mouse button resets to the initial value, and right clicking returns to zoom/scroll mode. You can modify or add to the formulas while it's running, look in the subdirectories. http://members.shaw.ca/burton-radons/GPUFractal-1.7z (binary, 204KB) http://members.shaw.ca/burton-radons/GPUFractal-1-source.7z (source, 1,360KB) The source is pretty shit and will require slight modification of the makefile's paths to compile. I use D v1 and bud.Error: New GL version has been discovered. (Dual core Operton, XT1900XTX)
Oct 17 2007
Kyle Furlong Wrote:Burton Radons wrote:Sorry! That was a debug thing I had to gather information. I've updated the archive with a fix. I also plugged in an ATI X850 and did some modifications to get it to compile the shaders. It doesn't work; it doesn't like breaking from a loop. I'll continue to wiggle it around to see if I can find a control flow it likes.Hey guys, I've been fooling around with GLSL recently and realised I could do a Mandelbrot fractal at full frame rate, so I implemented a kind of mini-Ultra Fractal. It works in single pass, so, uh, save your work before you try it because it just might cause your card to freeze if its GLSL support sucks or it isn't VERY good at branching shaders. If it works on your machine, I'd like to hear of it; if it doesn't, I'd also like to hear of it. For reference, my setup is an NVIDIA 8800 GTX (beta drivers) on Windows Vista with an Intel Dual Core 2.66GHz processor. I can confirm that it doesn't work on an ATI Radeon 9800 on Windows XP. The interface is exclusively mouse based. Left mouse button to zoom in, right mouse button to zoom out, middle mouse button to scroll. Using the mouse wheel puts you in variable mode. The mouse wheel selects the current variable, dragging the left mouse button changes it (enumerations and floats are changed by dragging to the right or left), clicking the middle mouse button resets to the initial value, and right clicking returns to zoom/scroll mode. You can modify or add to the formulas while it's running, look in the subdirectories. http://members.shaw.ca/burton-radons/GPUFractal-1.7z (binary, 204KB) http://members.shaw.ca/burton-radons/GPUFractal-1-source.7z (source, 1,360KB) The source is pretty shit and will require slight modification of the makefile's paths to compile. I use D v1 and bud.Error: New GL version has been discovered. (Dual core Operton, XT1900XTX)
Oct 17 2007
Burton Radons wrote:Kyle Furlong Wrote:Error: Could not successfully compile shader source: ERROR: 0:3: '' : Version number not supported by GL2 ERROR: 1 compilation errors. No code generated. [Core 2 Duo, ATI Mobility X1600]Burton Radons wrote:Sorry! That was a debug thing I had to gather information. I've updated the archive with a fix. I also plugged in an ATI X850 and did some modifications to get it to compile the shaders. It doesn't work; it doesn't like breaking from a loop. I'll continue to wiggle it around to see if I can find a control flow it likes.Hey guys, I've been fooling around with GLSL recently and realised I could do a Mandelbrot fractal at full frame rate, so I implemented a kind of mini-Ultra Fractal. It works in single pass, so, uh, save your work before you try it because it just might cause your card to freeze if its GLSL support sucks or it isn't VERY good at branching shaders. If it works on your machine, I'd like to hear of it; if it doesn't, I'd also like to hear of it. For reference, my setup is an NVIDIA 8800 GTX (beta drivers) on Windows Vista with an Intel Dual Core 2.66GHz processor. I can confirm that it doesn't work on an ATI Radeon 9800 on Windows XP. The interface is exclusively mouse based. Left mouse button to zoom in, right mouse button to zoom out, middle mouse button to scroll. Using the mouse wheel puts you in variable mode. The mouse wheel selects the current variable, dragging the left mouse button changes it (enumerations and floats are changed by dragging to the right or left), clicking the middle mouse button resets to the initial value, and right clicking returns to zoom/scroll mode. You can modify or add to the formulas while it's running, look in the subdirectories. http://members.shaw.ca/burton-radons/GPUFractal-1.7z (binary, 204KB) http://members.shaw.ca/burton-radons/GPUFractal-1-source.7z (source, 1,360KB) The source is pretty shit and will require slight modification of the makefile's paths to compile. I use D v1 and bud.Error: New GL version has been discovered. (Dual core Operton, XT1900XTX)
Oct 17 2007
Burton Radons wrote:Kyle Furlong Wrote:Error: Could not successfully compile shader source: ERROR: 0:3: '' : Version number not supported by GL2 ERROR: 1 compilation errors. No code generated. I hope this is helping, I'm on XP if it matters.Burton Radons wrote:Sorry! That was a debug thing I had to gather information. I've updated the archive with a fix. I also plugged in an ATI X850 and did some modifications to get it to compile the shaders. It doesn't work; it doesn't like breaking from a loop. I'll continue to wiggle it around to see if I can find a control flow it likes.Hey guys, I've been fooling around with GLSL recently and realised I could do a Mandelbrot fractal at full frame rate, so I implemented a kind of mini-Ultra Fractal. It works in single pass, so, uh, save your work before you try it because it just might cause your card to freeze if its GLSL support sucks or it isn't VERY good at branching shaders. If it works on your machine, I'd like to hear of it; if it doesn't, I'd also like to hear of it. For reference, my setup is an NVIDIA 8800 GTX (beta drivers) on Windows Vista with an Intel Dual Core 2.66GHz processor. I can confirm that it doesn't work on an ATI Radeon 9800 on Windows XP. The interface is exclusively mouse based. Left mouse button to zoom in, right mouse button to zoom out, middle mouse button to scroll. Using the mouse wheel puts you in variable mode. The mouse wheel selects the current variable, dragging the left mouse button changes it (enumerations and floats are changed by dragging to the right or left), clicking the middle mouse button resets to the initial value, and right clicking returns to zoom/scroll mode. You can modify or add to the formulas while it's running, look in the subdirectories. http://members.shaw.ca/burton-radons/GPUFractal-1.7z (binary, 204KB) http://members.shaw.ca/burton-radons/GPUFractal-1-source.7z (source, 1,360KB) The source is pretty shit and will require slight modification of the makefile's paths to compile. I use D v1 and bud.Error: New GL version has been discovered. (Dual core Operton, XT1900XTX)
Oct 17 2007
Kyle Furlong Wrote:Error: Could not successfully compile shader source: ERROR: 0:3: '' : Version number not supported by GL2 ERROR: 1 compilation errors. No code generated. I hope this is helping, I'm on XP if it matters.Thanks for your help! I've updated the archive again. It now works on an ATI X850 (with some limitations, and no branching!), so it should work even better on more modern ATI cards. I moved the shader template into "shader.h", so you can fool around with that if it otherwise seems to work. Unfortunately I can't find what predefines ATI uses so I have to hard code my own. I even got it almost working on at ATI 9800 on Windows XP, but it can't handle the loop at all. At least I confirmed that the GUI code should work there.
Oct 17 2007
Oh and if it does work, comment out the "#undef BREAK_SUPPORT" line in "shader.h". I accidentally made the condition too broad, it sounds like it works fine in modern ATI cards.
Oct 17 2007
Burton Radons wrote:Hey guys, I've been fooling around with GLSL recently and realised I could do a Mandelbrot fractal at full frame rate, so I implemented a kind of mini-Ultra Fractal. It works in single pass, so, uh, save your work before you try it because it just might cause your card to freeze if its GLSL support sucks or it isn't VERY good at branching shaders. If it works on your machine, I'd like to hear of it; if it doesn't, I'd also like to hear of it. For reference, my setup is an NVIDIA 8800 GTX (beta drivers) on Windows Vista with an Intel Dual Core 2.66GHz processor. I can confirm that it doesn't work on an ATI Radeon 9800 on Windows XP. The interface is exclusively mouse based. Left mouse button to zoom in, right mouse button to zoom out, middle mouse button to scroll. Using the mouse wheel puts you in variable mode. The mouse wheel selects the current variable, dragging the left mouse button changes it (enumerations and floats are changed by dragging to the right or left), clicking the middle mouse button resets to the initial value, and right clicking returns to zoom/scroll mode. You can modify or add to the formulas while it's running, look in the subdirectories. http://members.shaw.ca/burton-radons/GPUFractal-1.7z (binary, 204KB) http://members.shaw.ca/burton-radons/GPUFractal-1-source.7z (source, 1,360KB) The source is pretty shit and will require slight modification of the makefile's paths to compile. I use D v1 and bud.I wrote a program like this a couple years ago: http://pages.pomona.edu/~nrr02004/opengl.html (written in C++ though, not D). It uses a multi-pass algorithm to avoid needing shader branches and loops. Thanks, Nathan Reed
Oct 17 2007
Burton Radons Wrote:Hey guys, I've been fooling around with GLSL recently and realised I could do a Mandelbrot fractal at full frame rate, so I implemented a kind of mini-Ultra Fractal. It works in single pass, so, uh, save your work before you try it because it just might cause your card to freeze if its GLSL support sucks or it isn't VERY good at branching shaders. If it works on your machine, I'd like to hear of it; if it doesn't, I'd also like to hear of it. For reference, my setup is an NVIDIA 8800 GTX (beta drivers) on Windows Vista with an Intel Dual Core 2.66GHz processor. I can confirm that it doesn't work on an ATI Radeon 9800 on Windows XP. The interface is exclusively mouse based. Left mouse button to zoom in, right mouse button to zoom out, middle mouse button to scroll. Using the mouse wheel puts you in variable mode. The mouse wheel selects the current variable, dragging the left mouse button changes it (enumerations and floats are changed by dragging to the right or left), clicking the middle mouse button resets to the initial value, and right clicking returns to zoom/scroll mode. You can modify or add to the formulas while it's running, look in the subdirectories. http://members.shaw.ca/burton-radons/GPUFractal-1.7z (binary, 204KB) http://members.shaw.ca/burton-radons/GPUFractal-1-source.7z (source, 1,360KB) The source is pretty shit and will require slight modification of the makefile's paths to compile. I use D v1 and bud.Neat! I can't wait to see the sources! Success with: - Core 2 Duo - Radeon X1800?? - Windows Vista Business
Oct 17 2007
Burton Radons schrieb:Hey guys, I've been fooling around with GLSL recently and realised I could do a Mandelbrot fractal at full frame rate, so I implemented a kind of mini-Ultra Fractal. It works in single pass, so, uh, save your work before you try it because it just might cause your card to freeze if its GLSL support sucks or it isn't VERY good at branching shaders. If it works on your machine, I'd like to hear of it; if it doesn't, I'd also like to hear of it. For reference, my setup is an NVIDIA 8800 GTX (beta drivers) on Windows Vista with an Intel Dual Core 2.66GHz processor. I can confirm that it doesn't work on an ATI Radeon 9800 on Windows XP. The interface is exclusively mouse based. Left mouse button to zoom in, right mouse button to zoom out, middle mouse button to scroll. Using the mouse wheel puts you in variable mode. The mouse wheel selects the current variable, dragging the left mouse button changes it (enumerations and floats are changed by dragging to the right or left), clicking the middle mouse button resets to the initial value, and right clicking returns to zoom/scroll mode. You can modify or add to the formulas while it's running, look in the subdirectories. http://members.shaw.ca/burton-radons/GPUFractal-1.7z (binary, 204KB) http://members.shaw.ca/burton-radons/GPUFractal-1-source.7z (source, 1,360KB) The source is pretty shit and will require slight modification of the makefile's paths to compile. I use D v1 and bud.Vendor: 'ATI Technologies Inc.' Renderer: 'ATI Mobility Radeon X1600 x86/SSE2' Version: '2.0.5648 WinXP Release' Error: Could not successfully compile shader source: ERROR: 0:41: '*' : wrong operand types no operation '*' exists that ta kes a left-hand operand of type 'const int' and a right operand of type 'float' (or there is no acceptable conversion) ERROR: 0:41: '*' : wrong operand types no operation '*' exists that ta kes a left-hand operand of type 'const int' and a right operand of type 'float' (or there is no acceptable conversion) ERROR: 0:68: 'uniform' : cannot initialize this type of qualifier ERROR: 0:69: 'uniform' : cannot initialize this type of qualifier ERROR: 0:70: 'uniform' : cannot initialize this type of qualifier ERROR: 0:73: 'uniform' : cannot initialize this type of qualifier ERROR: 0:74: 'uniform' : cannot initialize this type of qualifier ERROR: 0:166: '+' : wrong operand types no operation '+' exists that t akes a left-hand operand of type '2-component vector of int' and a right operand of type '2-component vector of float' (or there is no acceptable conversion) ERROR: 0:166: '-' : wrong operand types no operation '-' exists that t akes a left-hand operand of type '2-component vector of int' and a right operand of type '2-component vector of float' (or there is no acceptable conversion) ERROR: 0:166: '*' : wrong operand types no operation '*' exists that t akes a left-hand operand of type 'const float' and a right operand of type 'int' (or there is no acceptable conversion) ERROR: 10 compilation errors. No code generated. ~Extrawurst
Oct 17 2007
Extrawurst Wrote:Vendor: 'ATI Technologies Inc.' Renderer: 'ATI Mobility Radeon X1600 x86/SSE2' Version: '2.0.5648 WinXP Release'Thanks! These errors are due to the old driver version, I think (I recognise some of them) - the current version is 2.0.6956. I'll try installing an old driver on the Windows XP machine with the 9800 and see if I can get rid of all of them.
Oct 17 2007
Burton Radons Wrote:Extrawurst Wrote:Okay! Done and updated. Every formula and combination appears to work on my ATI X850, although Newton is just plain incomputable. Of course, nothing works on my ATI 9800, but it all compiles. Hopefully that'll be the end of the compatibility issues. Now to plug in my NVIDIA card and see how much I broke...Vendor: 'ATI Technologies Inc.' Renderer: 'ATI Mobility Radeon X1600 x86/SSE2' Version: '2.0.5648 WinXP Release'Thanks! These errors are due to the old driver version, I think (I recognise some of them) - the current version is 2.0.6956. I'll try installing an old driver on the Windows XP machine with the 9800 and see if I can get rid of all of them.
Oct 17 2007
Burton Radons wrote:http://members.shaw.ca/burton-radons/GPUFractal-1.7z (binary, 204KB) http://members.shaw.ca/burton-radons/GPUFractal-1-source.7z (source, 1,360KB)My suggestions: 1) Put up a web page about it! Put the text in your announcement here on the web page. 2) Use standard zip files, not 7z.
Oct 17 2007
Walter Bright wrote:Burton Radons wrote:winrar handles 7z, so if you can open rar you can open 7zhttp://members.shaw.ca/burton-radons/GPUFractal-1.7z (binary, 204KB) http://members.shaw.ca/burton-radons/GPUFractal-1-source.7z (source, 1,360KB)My suggestions: 1) Put up a web page about it! Put the text in your announcement here on the web page. 2) Use standard zip files, not 7z.
Oct 17 2007
Kyle Furlong wrote:Walter Bright wrote:Lots of programs handle 7z. But a lot don't. If someone has to search for, download, and install yet another zipper he isn't going to bother with GPUFractal. There's a nearly infinite amount of downloads one can get from the internet, and it's real easy to pass by anything that offers even minor roadblocks to downloading. A friend of me told me long ago that he was successful because he was "easy to do business with". He tried to make it as painless and easy as possible for people to buy his products and services. Amazon does it with their "one click" thing. Apple does it with itunes. Just something to think about.Burton Radons wrote:winrar handles 7z, so if you can open rar you can open 7zhttp://members.shaw.ca/burton-radons/GPUFractal-1.7z (binary, 204KB) http://members.shaw.ca/burton-radons/GPUFractal-1-source.7z (source, 1,360KB)My suggestions: 1) Put up a web page about it! Put the text in your announcement here on the web page. 2) Use standard zip files, not 7z.
Oct 17 2007
Walter Bright wrote:Kyle Furlong wrote:A flip side of this is that 7zs can be quite a bit smaller than Zips. Smaller means faster to download, and cheaper to get. Incidentally, I've been working with a non-techie person (senior lecturer for Risk Management) on my honours project, and I used to send him Zip files until I noticed that all the archives he sent me were 7zs :P -- DanielWalter Bright wrote:Lots of programs handle 7z. But a lot don't. If someone has to search for, download, and install yet another zipper he isn't going to bother with GPUFractal. There's a nearly infinite amount of downloads one can get from the internet, and it's real easy to pass by anything that offers even minor roadblocks to downloading. A friend of me told me long ago that he was successful because he was "easy to do business with". He tried to make it as painless and easy as possible for people to buy his products and services. Amazon does it with their "one click" thing. Apple does it with itunes. Just something to think about.Burton Radons wrote:winrar handles 7z, so if you can open rar you can open 7zhttp://members.shaw.ca/burton-radons/GPUFractal-1.7z (binary, 204KB) http://members.shaw.ca/burton-radons/GPUFractal-1-source.7z (source, 1,360KB)My suggestions: 1) Put up a web page about it! Put the text in your announcement here on the web page. 2) Use standard zip files, not 7z.
Oct 17 2007
Daniel Keep wrote:Walter Bright wrote:I tried making a zip out of it. It was a whopping 5K bigger (with compression=best).Kyle Furlong wrote:A flip side of this is that 7zs can be quite a bit smaller than Zips. Smaller means faster to download, and cheaper to get.\Walter Bright wrote:Lots of programs handle 7z. But a lot don't. If someone has to search for, download, and install yet another zipper he isn't going to bother with GPUFractal. There's a nearly infinite amount of downloads one can get from the internet, and it's real easy to pass by anything that offers even minor roadblocks to downloading. A friend of me told me long ago that he was successful because he was "easy to do business with". He tried to make it as painless and easy as possible for people to buy his products and services. Amazon does it with their "one click" thing. Apple does it with itunes. Just something to think about.Burton Radons wrote:winrar handles 7z, so if you can open rar you can open 7zhttp://members.shaw.ca/burton-radons/GPUFractal-1.7z (binary, 204KB) http://members.shaw.ca/burton-radons/GPUFractal-1-source.7z (source, 1,360KB)My suggestions: 1) Put up a web page about it! Put the text in your announcement here on the web page. 2) Use standard zip files, not 7z.Incidentally, I've been working with a non-techie person (senior lecturer for Risk Management) on my honours project, and I used to send him Zip files until I noticed that all the archives he sent me were 7zs :PGPUFractal is a Windows program. Every copy of Windows which is recent enough to run GPUfractal has ZIP support built in. It's not a big deal, but Walter's right. For Windows programs, use zip unless you have a really good reason not too (like very targeted / motivated audience willing to jump through hoops for you, or a huge difference in file size). Anyway cool program! (after I downloaded new drivers ;-). I like the interactive dragging of Julia set seed points! --bb
Oct 17 2007
Walter Bright Wrote:Burton Radons wrote:(variations of this message might post multiple times, web-news was acting weird) This is just a goofy little hack. After a few updates I'll send a link to the creator of Ultra Fractal (this is a kind of homage) and never touch it again. With that in mind, I've updated the archive. This changes shader.h to schema.h which now also tells the program how to build the shader, so it could be used for non-fractal purposes. I only really did it because it made sense, not for any intended purpose. Also, changing the starting point in Mandelbrot now does something. Something... very strange.http://members.shaw.ca/burton-radons/GPUFractal-1.7z (binary, 204KB) http://members.shaw.ca/burton-radons/GPUFractal-1-source.7z (source, 1,360KB)My suggestions: 1) Put up a web page about it! Put the text in your announcement here on the web page.2) Use standard zip files, not 7z.I don't care about that.
Oct 17 2007
On 10/17/07, Burton Radons <burton-radons shaw.ca> wrote:Hey guys, I've been fooling around with GLSL recently and realised I could do a Mandelbrot fractal at full frame rate, so I implemented a kind of mini-Ultra Fractal.Works here with my GeForce 7900 GT! Anders
Oct 17 2007
Burton Radons wrote:Hey guys, I've been fooling around with GLSL recently and realised I could do a Mandelbrot fractal at full frame rate, so I implemented a kind of mini-Ultra Fractal. It works in single pass, so, uh, save your work before you try it because it just might cause your card to freeze if its GLSL support sucks or it isn't VERY good at branching shaders. If it works on your machine, I'd like to hear of it; if it doesn't, I'd also like to hear of it. For reference, my setup is an NVIDIA 8800 GTX (beta drivers) on Windows Vista with an Intel Dual Core 2.66GHz processor. I can confirm that it doesn't work on an ATI Radeon 9800 on Windows XP. The interface is exclusively mouse based. Left mouse button to zoom in, right mouse button to zoom out, middle mouse button to scroll. Using the mouse wheel puts you in variable mode. The mouse wheel selects the current variable, dragging the left mouse button changes it (enumerations and floats are changed by dragging to the right or left), clicking the middle mouse button resets to the initial value, and right clicking returns to zoom/scroll mode. You can modify or add to the formulas while it's running, look in the subdirectories. http://members.shaw.ca/burton-radons/GPUFractal-1.7z (binary, 204KB) http://members.shaw.ca/burton-radons/GPUFractal-1-source.7z (source, 1,360KB) The source is pretty shit and will require slight modification of the makefile's paths to compile. I use D v1 and bud.Vendor: 'ATI Technologies Inc.' Renderer: 'ATI MOBILITY RADEON X700 x86/MMX/3DNow!/SSE2' Version: '2.0.6645 WinXP Release' When I run it, the window comes up but doesn't display anything, well nothing besides what was underneath the window before. It seems to be hung. My computer heats up and the fan starts working really hard.
Oct 18 2007
Chad J Wrote:Burton Radons wrote:Thanks! It looks like the X700 and X850 are identical capabilities-wise, so you might be able to see something if you add "#define ATI_X850" to the top of "schema.h". However, older hardware's not my target so you'll have a paltry 40 maximum iterations if it works at all, good enough to play around with the variables but not good enough to zoom in.Hey guys, I've been fooling around with GLSL recently and realised I could do a Mandelbrot fractal at full frame rate, so I implemented a kind of mini-Ultra Fractal. It works in single pass, so, uh, save your work before you try it because it just might cause your card to freeze if its GLSL support sucks or it isn't VERY good at branching shaders. If it works on your machine, I'd like to hear of it; if it doesn't, I'd also like to hear of it. For reference, my setup is an NVIDIA 8800 GTX (beta drivers) on Windows Vista with an Intel Dual Core 2.66GHz processor. I can confirm that it doesn't work on an ATI Radeon 9800 on Windows XP. The interface is exclusively mouse based. Left mouse button to zoom in, right mouse button to zoom out, middle mouse button to scroll. Using the mouse wheel puts you in variable mode. The mouse wheel selects the current variable, dragging the left mouse button changes it (enumerations and floats are changed by dragging to the right or left), clicking the middle mouse button resets to the initial value, and right clicking returns to zoom/scroll mode. You can modify or add to the formulas while it's running, look in the subdirectories. http://members.shaw.ca/burton-radons/GPUFractal-1.7z (binary, 204KB) http://members.shaw.ca/burton-radons/GPUFractal-1-source.7z (source, 1,360KB) The source is pretty shit and will require slight modification of the makefile's paths to compile. I use D v1 and bud.Vendor: 'ATI Technologies Inc.' Renderer: 'ATI MOBILITY RADEON X700 x86/MMX/3DNow!/SSE2' Version: '2.0.6645 WinXP Release' When I run it, the window comes up but doesn't display anything, well nothing besides what was underneath the window before. It seems to be hung. My computer heats up and the fan starts working really hard.
Oct 18 2007
Reply to Chad,Vendor: 'ATI Technologies Inc.' Renderer: 'ATI MOBILITY RADEON X700 x86/MMX/3DNow!/SSE2' Version: '2.0.6645 WinXP Release' When I run it, the window comes up but doesn't display anything, well nothing besides what was underneath the window before. It seems to be hung. My computer heats up and the fan starts working really hard.same for me but MOBILITY RADEON 9700 x86/SSE2 2.0.5012
Oct 18 2007
BCS Wrote:Reply to Chad,Too old! You win the oldest driver version contest too. ;) The ATI functionality seems to be: R520 (X1300-X1950) - Should work! R420 (X700-X850) - Barely works with a hacked limited path. R300 (9500-9800) - Hah! No way. R200, R100, Rage, Mach - Err, no. The GeForce functionality seems to be: GeForce 8 - Yayyay! GeForce 7 - Yay! GeForce 6 - Dunno? GeForce 1-5 - Guessing no. Cg will be an option in the next release, once I figure out what arbitrary restrictions cause it to stop producing images.Vendor: 'ATI Technologies Inc.' Renderer: 'ATI MOBILITY RADEON X700 x86/MMX/3DNow!/SSE2' Version: '2.0.6645 WinXP Release' When I run it, the window comes up but doesn't display anything, well nothing besides what was underneath the window before. It seems to be hung. My computer heats up and the fan starts working really hard.same for me but MOBILITY RADEON 9700 x86/SSE2 2.0.5012
Oct 19 2007
Burton Radons wrote:BCS Wrote:If you want to see what happened last time I updated those drivers: http://worsethanfailure.com/Articles/Pop-up_Potpourri_0x3a__The_Re lly_Windy_City.aspx (at the bottom)MOBILITY RADEON 9700 x86/SSE2 2.0.5012Too old! You win the oldest driver version contest too. ;) The ATI functionality seems to be:
Oct 19 2007
Burton Radons wrote:Hey guys, I've been fooling around with GLSL recentlymy experience: use CG... Vendor: 'ATI Technologies Inc.' Renderer: 'ATI Radeon X1250' Version: '2.0.6645 Release' Error: Could not successfully link program: Fragment shader(s) failed to link, vertex shader(s) linked. Vendor: 'NVIDIA Corporation' Renderer: 'GeForce 7600 GS/PCI/SSE2' Version: '2.0.3' Error: Could not successfully link program: Fragment info ------------- (69) : error C5051: profile does not support conditional returns Vendor: 'ATI Technologies Inc.' Renderer: 'RADEON 9550 x86/MMX/3DNow!/SSE2' Version: '2.0.6287 WinXP Release' no errors, but window does not get painted and process eats 100% cpu
Oct 18 2007
Jascha Wetzel wrote:Vendor: 'NVIDIA Corporation' Renderer: 'GeForce 7600 GS/PCI/SSE2' Version: '2.0.3' Error: Could not successfully link program: Fragment info ------------- (69) : error C5051: profile does not support conditional returnsI'm having that same error. -- Bruno Medeiros - MSc in CS/E student http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D
Oct 19 2007
Bruno Medeiros wrote:Jascha Wetzel wrote:I think you just need to install a more recent driver. --bbVendor: 'NVIDIA Corporation' Renderer: 'GeForce 7600 GS/PCI/SSE2' Version: '2.0.3' Error: Could not successfully link program: Fragment info ------------- (69) : error C5051: profile does not support conditional returnsI'm having that same error.
Oct 19 2007
Bill Baxter Wrote:Bruno Medeiros wrote:Yuppers, the current driver version is 2.1.1. I've put a check in that'll very bluntly detect this by assuming that more recent drivers support more recent GLSL versions. This part actually won't change with Cg because if the GLSL part of the driver can't handle branching, then it surely won't support the newer fragment/vertex program profiles which can handle it either.Jascha Wetzel wrote:I think you just need to install a more recent driver.Vendor: 'NVIDIA Corporation' Renderer: 'GeForce 7600 GS/PCI/SSE2' Version: '2.0.3' Error: Could not successfully link program: Fragment info ------------- (69) : error C5051: profile does not support conditional returnsI'm having that same error.
Oct 19 2007
Burton Radons wrote:Bill Baxter Wrote:Actually. Historically, I have heard (and experienced) that ATI's driver support for GLSL is very poor. It may not be that the GPU can't handle branching but that ATI's GLSL compiler can't. Cg may actually work much better because it involves a compiler separate from the driver that can translate the code into ARB assembly (with extensions for branching and so forth) and feed it to the card. Thanks, Nathan ReedBruno Medeiros wrote:Yuppers, the current driver version is 2.1.1. I've put a check in that'll very bluntly detect this by assuming that more recent drivers support more recent GLSL versions. This part actually won't change with Cg because if the GLSL part of the driver can't handle branching, then it surely won't support the newer fragment/vertex program profiles which can handle it either.Jascha Wetzel wrote:I think you just need to install a more recent driver.Vendor: 'NVIDIA Corporation' Renderer: 'GeForce 7600 GS/PCI/SSE2' Version: '2.0.3' Error: Could not successfully link program: Fragment info ------------- (69) : error C5051: profile does not support conditional returnsI'm having that same error.
Oct 20 2007
Burton Radons wrote:Hey guys, I've been fooling around with GLSL recentlyWorks well here. Vendor: 'NVIDIA Corporation' Renderer: 'GeForce 7600 GT/AGP/SSE/3DNOW!' Version: '2.1.1'
Oct 18 2007
"Burton Radons" <burton-radons shaw.ca> wrote in message news:ff5ns5$2qb3$1 digitalmars.com...Hey guys, I've been fooling around with GLSL recently and realised I could do a Mandelbrot fractal at full frame rate, so I implemented a kind of mini-Ultra Fractal. It works in single pass, so, uh, save your work before you try it because it just might cause your card to freeze if its GLSL support sucks or it isn't VERY good at branching shaders. If it works on your machine, I'd like to hear of it; if it doesn't, I'd also like to hear of it. For reference, my setup is an NVIDIA 8800 GTX (beta drivers) on Windows Vista with an Intel Dual Core 2.66GHz processor. I can confirm that it doesn't work on an ATI Radeon 9800 on Windows XP. The interface is exclusively mouse based. Left mouse button to zoom in, right mouse button to zoom out, middle mouse button to scroll. Using the mouse wheel puts you in variable mode. The mouse wheel selects the current variable, dragging the left mouse button changes it (enumerations and floats are changed by dragging to the right or left), clicking the middle mouse button resets to the initial value, and right clicking returns to zoom/scroll mode. You can modify or add to the formulas while it's running, look in the subdirectories. http://members.shaw.ca/burton-radons/GPUFractal-1.7z (binary, 204KB) http://members.shaw.ca/burton-radons/GPUFractal-1-source.7z (source, 1,360KB) The source is pretty shit and will require slight modification of the makefile's paths to compile. I use D v1 and bud.Works great, GeForce 8600. I zoomed in really far and saw that fractals really _don't_ go on forever! I knew it! ;)
Oct 18 2007
Burton Radons wrote:Hey guys, I've been fooling around with GLSL recentlyVendor: 'ATI Technologies Inc.' Renderer: 'RADEON X800 Series x86/MMX/3DNow!/SSE2' Version: '2.0.6847 WinXP Release' Hogs CPU, does nothing. If I #define ATI_9800 it draws what looks like just a circle. -- E-mail address: matti.niemenmaa+news, domain is iki (DOT) fi
Oct 18 2007
Matti Niemenmaa Wrote:Burton Radons wrote:ATI_9800 was a hack to allow me to test the compiler on that computer; nothing from 9800 or before can work, it's missing features. Try defining ATI_X850 instead. The next release defines ATI_R420 so that I can select that whole chipset, but again, it's not the target so it won't really work great.Hey guys, I've been fooling around with GLSL recentlyVendor: 'ATI Technologies Inc.' Renderer: 'RADEON X800 Series x86/MMX/3DNow!/SSE2' Version: '2.0.6847 WinXP Release' Hogs CPU, does nothing. If I #define ATI_9800 it draws what looks like just a circle.
Oct 18 2007
Burton Radons wrote:Matti Niemenmaa Wrote:Should have been more specific: for all cases except #define ATI_9800, it appears to do nothing - including with #define ATI_X850. -- E-mail address: matti.niemenmaa+news, domain is iki (DOT) fiHogs CPU, does nothing. If I #define ATI_9800 it draws what looks like just a circle.ATI_9800 was a hack to allow me to test the compiler on that computer; nothing from 9800 or before can work, it's missing features. Try defining ATI_X850 instead. The next release defines ATI_R420 so that I can select that whole chipset, but again, it's not the target so it won't really work great.
Oct 18 2007
Nathan Reed Wrote:Burton Radons wrote:Theory busted. I'm on the X850 right now with the latest driver version. The only profile pairs Cg says is supported here are the five-year-old arbfp1/arbvp1 and GLSL. It acts the same way as in GLSL, requiring a non-branching, very limited loop.Bill Baxter Wrote:Actually. Historically, I have heard (and experienced) that ATI's driver support for GLSL is very poor. It may not be that the GPU can't handle branching but that ATI's GLSL compiler can't. Cg may actually work much better because it involves a compiler separate from the driver that can translate the code into ARB assembly (with extensions for branching and so forth) and feed it to the card.Bruno Medeiros wrote:Yuppers, the current driver version is 2.1.1. I've put a check in that'll very bluntly detect this by assuming that more recent drivers support more recent GLSL versions. This part actually won't change with Cg because if the GLSL part of the driver can't handle branching, then it surely won't support the newer fragment/vertex program profiles which can handle it either.Jascha Wetzel wrote:I think you just need to install a more recent driver.Vendor: 'NVIDIA Corporation' Renderer: 'GeForce 7600 GS/PCI/SSE2' Version: '2.0.3' Error: Could not successfully link program: Fragment info ------------- (69) : error C5051: profile does not support conditional returnsI'm having that same error.
Oct 20 2007
Burton Radons пишет:Hey guys, I've been fooling around with GLSL recently and realised I could do a Mandelbrot fractal at full frame rate, so I implemented a kind of mini-Ultra Fractal. It works in single pass, so, uh, save your work before you try it because it just might cause your card to freeze if its GLSL support sucks or it isn't VERY good at branching shaders. If it works on your machine, I'd like to hear of it; if it doesn't, I'd also like to hear of it. For reference, my setup is an NVIDIA 8800 GTX (beta drivers) on Windows Vista with an Intel Dual Core 2.66GHz processor. I can confirm that it doesn't work on an ATI Radeon 9800 on Windows XP. The interface is exclusively mouse based. Left mouse button to zoom in, right mouse button to zoom out, middle mouse button to scroll. Using the mouse wheel puts you in variable mode. The mouse wheel selects the current variable, dragging the left mouse button changes it (enumerations and floats are changed by dragging to the right or left), clicking the middle mouse button resets to the initial value, and right clicking returns to zoom/scroll mode. You can modify or add to the formulas while it's running, look in the subdirectories. http://members.shaw.ca/burton-radons/GPUFractal-1.7z (binary, 204KB) http://members.shaw.ca/burton-radons/GPUFractal-1-source.7z (source, 1,360KB) The source is pretty shit and will require slight modification of the makefile's paths to compile. I use D v1 and bud.Vendor: 'NVIDIA Corporation' Renderer: 'GeForce 6600 GT/PCI/SSE2' Version: '2.0.3' Error: Could not successfully link program: Fragment info ------------- (69) : error C5051: profile does not support conditional returns
Oct 20 2007