OpenGL 3D Game Tutorial 1: The Display

OpenGL 3D Game Tutorial 1: The Display

LWJGL 2 tutorialon how to create a 3D Java game with OpenGL!\rbr\rbrTutorial about setting up the project:\rbr\rbr\rbrFull code:\rbr\rbr\rbr\rbrCommon Problems:\rbr\rbr-In case you had annotations off, you need to do the ContextAttribs stuff all in one line like this:\rbrContextAttribs attribs = new ContextAttribs(3, 2).withForwardCompatible(true).withProfileCore(true);\rbr\rbr-If you get the following error: org.lwjgl.LWJGLException: Could not create context (WGLARBcreatecontext) then your computer may not support the version of OpenGL that were trying to use (version 3.2). Try removing the parameters from the Display.create() method and try again.\rbr\rbr- Make sure you didnt miss the ! in the (!Display.isCloseRequested()) part.


User: Vincentburnley70

Views: 4

Uploaded: 2018-04-27

Duration: 08:27

Your Page Title