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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: Iridescent crystal with raymarching and signed distance fields

159 点作者 winkerVSbecks将近 2 年前

5 条评论

Const-me将近 2 年前
Looks very cool, but why? Unlike many other applications of SDFs, for this particular one a traditional rasterization seems more appropriate.<p>The polyhedron being rendered only has 32 vertices and 60 triangles. The indexed mesh gonna take 744 bytes of VRAM with FP32 coordinates and uint16_t indices, which can be reduced to 552 bytes by using FP16 coordinates. That’s less data than the GLSL source code to compute and render the SDF. Also, if MSAA is enabled rasterization will deliver better visual quality.
评论 #36593246 未加载
tudorw将近 2 年前
wow, you made something complex understandable to me. I&#x27;d dabbled in shaders but Raymarching (I now know why it&#x27;s called that!) and SDF had eluded me, thank you.
评论 #36600493 未加载
Etheryte将近 2 年前
This is great, I spent more time looking through the linked demos than I would like to admit.
0xf00ff00f将近 2 年前
This is pretty cool, thank you for sharing.
hiveking将近 2 年前
That&#x27;s neat