运行时顶点生成

发布于 2024-09-29 11:08:10 字数 52 浏览 0 评论 0原文

是否有可能创建一个无限的世界,其中的世界是使用算法生成的? XNA 支持运行时加载顶点吗?

Is it possible to create an infinite world, where the world is generated using an algorithms? Does XNA support vertex loading during runtime?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

白龙吟 2024-10-06 11:08:10

所有三个问题都可以回答“是”:

  1. 无限世界:您可以通过仅生成当前“可见”的世界对象来模拟无限世界。该技术甚至适用于有限但相对巨大的世界(例如《魔兽世界》、《侠盗猎车手》等)。
  2. 生成的世界:根据给定的要求,您可能必须确保(显然)有限世界的各个部分始终以相同的方式生成,从而产生相同的对象/顶点星座。但是,也许不是:“存在”的世界在同一个地方并不总是相同的,就像迈克尔·恩德的《Die unendliche Geschichte》中那样。
  3. 顶点生成:是的,他们可以!而且它们经常在运行时生成,甚至对于“小世界”或只是单个模型动画也是如此,因为某些动画技术基于运行时每帧的动态顶点生成。

All three questions can be answered with "yes":

  1. Infinite World: You can simulate an infinite world by generating only the currently "visible" world objects. This technique is used even for finite but relatively huge worlds (like in WoW, GTA etc.).
  2. Generated World: Dependent on the given requirements, you may have to ensure that individual parts of the (apparently) finite world are always generated the same way resulting in identical object/vertex constellations. But, maybe not: Worlds "exist" that are not always identical in same places, like in "Die unendliche Geschichte" by Michael Ende.
  3. Vertex Generation: Yes, they can! And they are quite often generated during runtime even for "small worlds" or just single model animations as some animation techniques are based on dynamic vertex generation during runtime for every single frame.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文