LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: 8Bit_Jedi on May 17, 2013, 19:04:31

Title: OpenGL 3.x Tutorials (Java)
Post by: 8Bit_Jedi on May 17, 2013, 19:04:31
Hello everyone,

I know my subject line is a bit broad but let me clarify:


I'll use lookAt functions if I must, as long as they work with OpenGL 3.x matrix and projections calcs.

Thanks
Title: Re: OpenGL 3.x Tutorials (Java)
Post by: fiendfan1 on May 17, 2013, 22:44:01
http://www.youtube.com/playlist?list=PL19F2453814E0E315 (http://www.youtube.com/playlist?list=PL19F2453814E0E315)

Best video tutorials I could find, he also uploads all source to github.
For anything else I would go to the lwjgl wiki http://www.lwjgl.org/wiki/index.php?title=Main_Page (http://www.lwjgl.org/wiki/index.php?title=Main_Page)
They have a lot of good tutorials.
Title: Re: OpenGL 3.x Tutorials (Java)
Post by: quew8 on May 18, 2013, 12:11:41
Where I initially learnt most of my vector maths:
http://www.wildbunny.co.uk/blog/vector-maths-a-primer-for-games-programmers/ (http://www.wildbunny.co.uk/blog/vector-maths-a-primer-for-games-programmers/)
Title: Re: OpenGL 3.x Tutorials (Java)
Post by: 8Bit_Jedi on May 20, 2013, 15:13:00
Figured out my camera problem:

Tutorial problem on page: http://lwjgl.org/wiki/index.php?title=The_Quad_with_Projection,_View_and_Model_matrices (http://lwjgl.org/wiki/index.php?title=The_Quad_with_Projection,_View_and_Model_matrices).

At the bottom of the page at code section Application after line: 107, there is a missing statement: projectionMatrix.m33 = 0;
If you use camera tutorials like Lloyd Goodall [http://www.lloydgoodall.com/tutorials/first-person-camera-control-with-lwjgl/ (http://www.lloydgoodall.com/tutorials/first-person-camera-control-with-lwjgl/)], it doesn't work the camera just dollies around some point in front of it, making you scream why in angre >:(.

Took me a week to notice that missing statement, because I read the lwjgl tutorial and typed out the complete code given at the bottom of the page.

Who do we inform about the missing statement on the tutorial?
Title: Re: OpenGL 3.x Tutorials (Java)
Post by: quew8 on May 20, 2013, 16:24:27
I have updated the wiki page on your behalf, but I have not checked it, so I hope you are right.