如何呈现LWJGL一个3D立方体? [英] How to render a 3d cube in LWJGL?

查看:454
本文介绍了如何呈现LWJGL一个3D立方体?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我`吨找到一个很好的教程在网络上,有关呈现在轻量级Java游戏库一个3D立方体!我一直在学习LWJGL有一段时间了。我知道如何绘制2D对象。有人能帮助我吗?

I can`t find a good tutorial on the web, about rendering a 3d cube in the Lightweight Java Game Library! I have been learning LWJGL for some time now. I know how to draw 2d objects. Could Somebody Help me?

推荐答案

这里是的一课教程正常的OpenGL,但在该网站,你可以找到code为指导课程在很多不同的语言和库,包括Java与LWJGL的底部。

Here is a lesson of a tutorial for "normal" OpenGL but in the bottom of the site you can find code for the tutorial lesson in plenty of different languages and libraries, including Java with LWJGL.

获取Java code出这瓶可以用,例如打开7-ZIP,找到名为Lesson05文件夹中的.java文件。

To get the java code out of this jar you can open it with e.g. 7-zip and find the .java file in the folder named Lesson05.

这篇关于如何呈现LWJGL一个3D立方体?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆