cuburn
cuburn copied to clipboard
Issues with CUDA
To be able to use CUBURN I had to go trough a damn hell ride to get everything "working" with a nvidia "optimus" "powered" gaming laptop on a MINT17 linux, but any CUDA app lags my whole desktop so much, that the cursor only moves once every second, that is of course not your problem, but since we on linux don't like that NVIDIA binary blob crap too much, i just wanted to ask, if you maybe know, if it would be possible these days, to port CUBURN to the new GPGPU Compute-Shader in the new OpenGL spec or at least somehow to GLSL?(If you even would do it, because it would make CUBURN more hardware/software independend, then please do it in C/C++, shitty python is the only reason i can't commit something to CUBURN) I mean, these freaks do realtime and even interactive mandelbulb spacetown journeys in GLSL, which don't fuck my system that much and it even runs in a lousy browser without having to install anything besides the normal graphics drivers(What mostly works relatively well compared to CUDA/OpenCL) http://glslsandbox.com/e#28950.0
I really think that it would be awesome if the algorithm would work in GLSL. AFAIK this project is not really well supported any more. You might want to checkout fractorium. Matt has been actively developing it for 3.5 years and improves on the CUBURN algorithm by utilizing OpenCL for computations. Though it is still a big step away from OpenGL and fragment/vertex-shaders it has a much wider support than this CUDA stuff. It has excellent documentation and a cross-platform GUI.
@JrSchild Unbelievable, thanks a lot for this very valuable information, even if it ruined my day, because after countless hours of hacking the shit out of my LTS Mint17+Ubuntu Studio 14.04, this wonderful fractorium app didn't want to install nor to be compiled because ubnutus repository is seriously fucked up, since they install gcc-4.9.3-base(what can't be removed) but don't provide any matching libstdc++ 4.9, only 4.8, what in turn is not sufficient for the demanded libqt5core5a v5.4, which i found on launchpad somewhere. But hey, i anyway wanted to do my own better derivate of the crappy ubuntu someday, i guess i'll just go over to the LTS 16.04 alphas and compile it there to see if it's worth, but since it really seems to be, i just wanted to thank you very much, it seems to have almost everything(Opens flam3, sadly not in the more generally supported OpenGL, but at least fast GPU rendering, AND IT IS IN C/C++) i ever searched for, and i searched really hard for hours, so this must have been hiding 3.5 years under a cowpat i guess :D
It is definitely a little jewel hiding out there. Fractorium implements all the flam3 variations, color palettes, the Apophysis/Aposhack-Plugin Pack variations, improved chaos algorithms, affine transforms, etc... It's more than you can wish for.
Implementing the whole thing in WebGL/OpenGL is complicated and easier said than done. Though this guy managed to implement a few variations and some chaos stuff. I'd say it's possible but simply takes a ton of time and effort. I'd also say that it would be worth it, because literally everyone would be able to use it. You might also be interested in an interview with Matt.
@JrSchild If i will get it to work and if it has none of the downsides CUBURN has, as i posted here, i would be that happy, that i will possibly start learning the code behind it and of course to package it for my own artist linux distro one day.
Yes, this interview i read yesterday already, that was the main reason i tried for so many hours to bring fractorium to work, because i have seen, that this brilliant man really worked hard on it too.
Your link for the GLSL generator was nice, even if the flames are sadly somehow low quality, but thanks anyway.
Once on my searches trough non compile able crap like flam4, or useless windoze fractron900 and all these, i stumbled on this sick dude here, who made a GLSL flame render which also allows you to append your music and even tries to render the flames according to the beat(Maybe darkpsytrance would have been the better choice to loop the flames faster, but for me this song is one of the only one that should be paired with the beauty of flames) http://www.wothke.ch/ablaze/#/mrdodus/pink-floyd-set-the-controls-for-the-heart-of-the-sun Sadly it is all html stuff and not C/C++, but as far as i had studied it, it would not be possible to load ones own flame.flam3 files, what renders it useless to me, but the flames were rendered in much higher quality and much smoother then the one in your example, so it may be of interest for you.
@JrSchild: https://github.com/mfeemster/fractorium is not available anymore (but few forks exist, not active though). Does it mean that it is not open source anymore? No links to source code at the factorium site... EDITED: my bad - there are links on the site, found it on bitbucket: https://bitbucket.org/mfeemster/fractorium.git