TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Zen Photon Garden

114 点作者 GeorgeHahn超过 9 年前

9 条评论

gberger超过 9 年前
Pretty cool!<p>I like the shareable URLs, but I don&#x27;t like how it breaks the back button.<p>Use `location.replace` to avoid this.
lifthrasiir超过 9 年前
Pretty.<p>I had obviously expected that, but the large number of reflective surfaces [1] greatly reduces the performance. The author explained in the blog post [2] that it is a path tracing (Monte Carlo simulation of multiple random rays incrementally averaged) and probably it is hard to limit the number of bounces small while maintaining the image quality. Indeed, the source code [3] says a hard limit of 1000 bounces, not big but not that small either.<p>[1] Something like <a href="http:&#x2F;&#x2F;is.gd&#x2F;cFDlq5" rel="nofollow">http:&#x2F;&#x2F;is.gd&#x2F;cFDlq5</a><p>[2] <a href="http:&#x2F;&#x2F;scanlime.org&#x2F;2013&#x2F;04&#x2F;zen-photon-garden&#x2F;" rel="nofollow">http:&#x2F;&#x2F;scanlime.org&#x2F;2013&#x2F;04&#x2F;zen-photon-garden&#x2F;</a><p>[3] <a href="https:&#x2F;&#x2F;github.com&#x2F;scanlime&#x2F;zenphoton&#x2F;blob&#x2F;bea23c1&#x2F;hqz&#x2F;src&#x2F;zrender.cpp#L329" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;scanlime&#x2F;zenphoton&#x2F;blob&#x2F;bea23c1&#x2F;hqz&#x2F;src&#x2F;z...</a>
评论 #11032458 未加载
dylanz超过 9 年前
I just played with this for too long, and I made some images I&#x27;d want to hang on my wall.
smlacy超过 9 年前
Every time I see this link, which is about every year or so, I spend an inordinate amount of time trying to build a &quot;laser&quot;. It really feels possible, using a combination of diffuse&#x2F;reflective to &quot;corral&quot; all the light into going mostly in the same direction. Would love to see if anyone has gotten close.
评论 #11033362 未加载
评论 #11034044 未加载
评论 #11032495 未加载
tobr超过 9 年前
I would love to see a version where you could draw Bézier curves!
thenomad超过 9 年前
Very cool indeed. Surprisingly expressive.<p>My one issue - the diffuse&#x2F;reflective&#x2F;transmissive sliders don&#x27;t seem to cause the image to update?
评论 #11034166 未加载
eru超过 9 年前
We had a good discussion going on when this was submitted before.<p>Zen Photon Garden is always a nice thing to play around with.<p>I even wrote a patch that made the rays deterministic when you draw extra walls. It reduced the flickering, but I learned that this was part of the aesthetics, so it was less fun to play with.
personjerry超过 9 年前
I thought it was a pretty good quality simulation, because after drawing some surfaces, dragging the Exposure tab from bottom to top made me flinch at the seeming &quot;brightness&quot;.
progrocks9超过 9 年前
A stupid question, how this is related to zen?
评论 #11031732 未加载
评论 #11032099 未加载
评论 #11032081 未加载