OpenGL 3D Game Tutorial 1: The Display
841.3 هزار بار بازدید -
10 سال پیش
-
LWJGL 2 tutorial series on
LWJGL 2 tutorial series on how to create a 3D Java game with OpenGL!
Tutorial about setting up the project:
Setting up a LWJGL Project
Full code:
https://github.com/TheThinMatrix/Open...
Common Problems:
-In case you had annotations off, you need to do the ContextAttribs stuff all in one line like this:
ContextAttribs attribs = new ContextAttribs(3, 2).withForwardCompatible(true).withProfileCore(true);
-If you get the following error: org.lwjgl.LWJGLException: Could not create context (WGL_ARB_create_context) then your computer may not support the version of OpenGL that we're trying to use (version 3.2). Try removing the parameters from the Display.create() method and try again.
- Make sure you didn't miss the "!" in the "(!Display.isCloseRequested())" part.
LWJGL Wiki: http://lwjgl.org/wiki/index.php?title...
My Youtube Channel: thinmatrix
Follow me on Twitter: Twitter: ThinMatrix
Check out my game on IndieDB: http://www.indiedb.com/games/socuwan
Tutorial about setting up the project:
Setting up a LWJGL Project
Full code:
https://github.com/TheThinMatrix/Open...
Common Problems:
-In case you had annotations off, you need to do the ContextAttribs stuff all in one line like this:
ContextAttribs attribs = new ContextAttribs(3, 2).withForwardCompatible(true).withProfileCore(true);
-If you get the following error: org.lwjgl.LWJGLException: Could not create context (WGL_ARB_create_context) then your computer may not support the version of OpenGL that we're trying to use (version 3.2). Try removing the parameters from the Display.create() method and try again.
- Make sure you didn't miss the "!" in the "(!Display.isCloseRequested())" part.
LWJGL Wiki: http://lwjgl.org/wiki/index.php?title...
My Youtube Channel: thinmatrix
Follow me on Twitter: Twitter: ThinMatrix
Check out my game on IndieDB: http://www.indiedb.com/games/socuwan
10 سال پیش
در تاریخ 1393/05/03 منتشر شده
است.
841,350
بـار بازدید شده