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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Beginners Guide to Vulkan

248 点作者 deafcalculus将近 8 年前

6 条评论

Impossible将近 8 年前
Oculus Tiny Room is linked, but Valve also has a pretty good minimal Vulkan + OpenVR example in the OpenVR SDK called hellovr_vulkan (<a href="https:&#x2F;&#x2F;github.com&#x2F;ValveSoftware&#x2F;openvr&#x2F;blob&#x2F;master&#x2F;samples&#x2F;hellovr_vulkan&#x2F;hellovr_vulkan_main.cpp" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ValveSoftware&#x2F;openvr&#x2F;blob&#x2F;master&#x2F;samples&#x2F;...</a>).<p>On HN this might be attractive because people tend to complain about Windows only software, and all of Valve&#x27;s samples use SDL and in theory run on Mac OS X and Linux. The OpenVR example is a little bit more verbose, but it does have some extra functionality, like drawing render models (controllers) provided by the API.
评论 #15102806 未加载
Kiro将近 8 年前
&gt; It reminds me of a lot of the attitudes surrounding C++ when I was first learning it-- yes, it&#x27;s more lines of code, but that doesn&#x27;t mean it can&#x27;t be a fine place for a beginner to start learning.<p>Sure, but Vulkan really feels like another level of complexity. OpenGL is simple in comparison.
评论 #15104398 未加载
评论 #15105215 未加载
评论 #15103239 未加载
Nimsical将近 8 年前
I clicked cause I thought it was about Star Trek. Always forget there&#x27;s a library with that name.
评论 #15102938 未加载
评论 #15102887 未加载
评论 #15104563 未加载
alistproducer2将近 8 年前
Can someone give me a non-graphical use-case for learning Vulkan or just GPU-based programming in general? I&#x27;ve heard of hardware acceleration. Is it something like writing your routines in a language like Vulkan and offloading the computation to the GPU?
评论 #15102838 未加载
评论 #15102841 未加载
评论 #15104414 未加载
评论 #15103963 未加载
mncharity将近 8 年前
For folks curious about WebGL in a Vulkan world, there&#x27;s <a href="https:&#x2F;&#x2F;github.com&#x2F;KhronosGroup&#x2F;WebGLNext-Proposals&#x2F;tree&#x2F;master&#x2F;Obsidian-Mozilla" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;KhronosGroup&#x2F;WebGLNext-Proposals&#x2F;tree&#x2F;mas...</a> .
评论 #15102814 未加载
atemerev将近 8 年前
800 lines of code to render a triangle. OK.<p>I understand the need of being explicit, but why not include some reasonable defaults? When you need that last drop of performance, you could opt out of those defaults, but specifying everything by hand...<p>OK, OK, I understand. Perhaps Vulkan is a compiler target. It was never intended for someone to write Vulkan code by hand. Just code in some higher-level API or language and get everything compiled into low-level Vulkan calls. I surely hope so, for the sake of my sanity. Right? Right?
评论 #15105931 未加载