Well, Julia is not directly at work here and its not really about ray tracing ;) You need to write the shader in GLSL <https://en.wikipedia.org/wiki/OpenGL_Shading_Language>, which is more C-like. That said, I'm pretty sure that the ray tracing examples are faster than most of the ray tracing examples listed in the links. It runs even on on-board GPU's in real time. The algorithms allow only for very limited ray tracing, but work nicely on the GPU.
Am Donnerstag, 24. September 2015 01:21:16 UTC+2 schrieb Simon Danisch: > > Hi, > you want to try out GPU accelerated ray tracing? You want some quick and > easy start for GPU accelerated fractal rendering? > You can do this quite easily now! > ShaderToy <https://github.com/SimonDanisch/ShaderToy.jl> allows you to > only specify a fragmentshader, which is an OpenGL program which can execute > arbitrary code per pixel(fragment). > Its based on GLVisualize and basically the Julia native version of: > https://www.shadertoy.com/ > I copied a few examples to get you started. Just click on the gifs in the > README to see the fragment shader that produced the image. > The installation is still a little bit wonky, but should mostly work if > the script executes without error. > If it doesn't work, please open an issue. This will help me to make the > release of GLPlot and GLVisualize a lot smoother! > > Best, > Simon >