TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Rendering Worlds with Two Triangles on the GPU [pdf]

109 pointsby muyyatinalmost 11 years ago

9 comments

algoriasalmost 11 years ago
Ah, the classic presentation that got me started in the demoscene a couple of years back.<p>The Google cache version of the pdf doesn&#x27;t include any images, so I put up a copy over here:<p><a href="https://dl.dropboxusercontent.com/u/2173295/rwwtt.pdf" rel="nofollow">https:&#x2F;&#x2F;dl.dropboxusercontent.com&#x2F;u&#x2F;2173295&#x2F;rwwtt.pdf</a>
评论 #8071283 未加载
userbinatoralmost 11 years ago
I think the most elegant thing about this method is that it describes a scene in terms of its basic mathematical 3D objects and transformations on them (list here: <a href="http://www.iquilezles.org/www/articles/distfunctions/distfunctions.htm" rel="nofollow">http:&#x2F;&#x2F;www.iquilezles.org&#x2F;www&#x2F;articles&#x2F;distfunctions&#x2F;distfun...</a> ) and then exploits the massive parallelism of the GPU for rendering all the pixels.<p>Here&#x27;s a demo of someone playing around with it, complete with a Slisesix-inspired scene: <a href="http://www.rpenalva.com/blog/?p=254" rel="nofollow">http:&#x2F;&#x2F;www.rpenalva.com&#x2F;blog&#x2F;?p=254</a><p>This set of slides is also related: <a href="http://www.iquilezles.org/www/material/function2009/function2009.pdf" rel="nofollow">http:&#x2F;&#x2F;www.iquilezles.org&#x2F;www&#x2F;material&#x2F;function2009&#x2F;function...</a>
rogerallenalmost 11 years ago
And if you want to try things out yourself, iq has created a playground for you here: <a href="https://www.shadertoy.com/" rel="nofollow">https:&#x2F;&#x2F;www.shadertoy.com&#x2F;</a>
评论 #8071497 未加载
DanBCalmost 11 years ago
I love these.<p>People might enjoy noodling around the Geisswerks pages which have many code snippets around ray tracing; graphic demos; and so on.<p><a href="http://www.geisswerks.com/" rel="nofollow">http:&#x2F;&#x2F;www.geisswerks.com&#x2F;</a>
sp332almost 11 years ago
You can download it from here <a href="http://www.pouet.net/prod.php?which=51074" rel="nofollow">http:&#x2F;&#x2F;www.pouet.net&#x2F;prod.php?which=51074</a> It&#x27;s been updated to run more reliably (edit: on Vista) but I can&#x27;t find a version that will run on Win7.<p>Edit: I found a similar one on Shadertoy <a href="https://www.shadertoy.com/view/lsf3zr" rel="nofollow">https:&#x2F;&#x2F;www.shadertoy.com&#x2F;view&#x2F;lsf3zr</a>
评论 #8071376 未加载
hughesalmost 11 years ago
I was working with distance fields back in 2008, and the idea of inverting the process blew my mind.<p>I had no idea Iñigo Quilez&#x27;s image was produced this way and I&#x27;m so glad I had the chance to see how it was made.<p>Thanks for posting!!
yzzxyalmost 11 years ago
Is the demoscene a good place to get into graphics programming? The prevalence of older methods leads me to believe one could learn in a similar progression to the graphics gurus of today, moving from simpler old methods with performance and size optimization to modern techniques?
DanAndersenalmost 11 years ago
This is a really impressive presentation -- after looking on from afar at the seemingly magical works of the demoscene, this finally helped me understand a little bit of how the magic happens. I&#x27;ve only got a bit of GLSL experience so far but now I want to learn a lot more.
thisjepisjealmost 11 years ago
Could someone explain to me what the <i>&quot;two triangles that cover the entire screen area&quot;</i> have to do with anything?
评论 #8071414 未加载
评论 #8073166 未加载
评论 #8071396 未加载