<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Feb 24, 2010, at 12:09 AM, Maciej Stachowiak wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Feb 23, 2010, at 10:04 PM, Jonas Sicking wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>On Tue, Feb 23, 2010 at 9:57 PM, Maciej Stachowiak <<a href="mailto:mjs@apple.com">mjs@apple.com</a>> wrote:<br><blockquote type="cite">- Raytracing a complex scene at high resolution.<br></blockquote><blockquote type="cite">- Drawing a highly zoomed in high resolution portion of the Mandelbrot set.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">To be fair though, you could compute the pixels for those with just math,<br></blockquote><blockquote type="cite">there is no need to have a graphics context type abstraction.<br></blockquote><br><a href="http://people.mozilla.com/~sicking/webgl/ray.html">http://people.mozilla.com/~sicking/webgl/ray.html</a><br></div></blockquote><div><br></div><div>I did not think it was possible to write a proper raytracer for arbitrary content all as a shader program, but I do not know enough about 3D graphics to know if that demo is correct or if that is possible in general. Point conceded though.</div><br><blockquote type="cite"><div><a href="http://people.mozilla.com/~sicking/webgl/juliaanim.html">http://people.mozilla.com/~sicking/webgl/juliaanim.html</a><br><a href="http://people.mozilla.com/~sicking/webgl/mandjulia.html">http://people.mozilla.com/~sicking/webgl/mandjulia.html</a><font class="Apple-style-span"><font class="Apple-style-span" color="#144FAE"><br></font></font></div></blockquote><br></div><div>Neither of examples you posted seems to have the ability to zoom in, so I don't think they show anything about doing this to extremely high accuracy. But I see your point that much of this particular computation can be done on the GPU, up to probably quite high limits. Replace this example with your choice of non-data-parallel computation.</div></div></blockquote></div><br><div>Following the links, this demo does do zoom, but it will go all jaggy past a certain zoom level, presumably due to limitations of GLSL.</div><div><br></div><div><a href="http://learningwebgl.com/lessons/example01/?">http://learningwebgl.com/lessons/example01/?</a></div><div><br></div><div>Regards,</div><div>Maciej</div><div><br></div></body></html>