Minecraft使用哪个库来实现其3D图形?

6

我知道Minecraft使用LWJGL库,但是它是否允许具有3D图形?


3
以下是网站主页 http://lwjgl.org/ 的第一段:"LWJGL (https://www.lwjgl.org/) is a Java library that enables cross-platform access to popular native APIs useful in the development of graphics (OpenGL/Vulkan), audio (OpenAL) and parallel computing (OpenCL) applications. This access is direct and high-performance, yet also wrapped in a type-safe and user-friendly layer, appropriate for the Java ecosystem. LWJGL is an enabling technology and provides low-level access. It is not a framework and does not provide higher-level utilities than what the native libraries expose. As such, novice programmers are encouraged to try one of the frameworks or game engines that make use of LWJGL, before working directly with the library." - progrenhard
1个回答

11
LWJGL 使用 OpenGL 进行 2D 和 3D 图形渲染。 OpenGL 是与 GPU 交互的 API,可以实现最佳硬件加速渲染。
它也是跨平台的,就像 Java 一样,在图形方面是天然的选择。

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接