lwjglgamedev / lwjglbook-leg

Source code of the chapters of the book 3D Game Development with LWJGL 3
https://ahbejarano.gitbook.io/lwjglgamedev/
Apache License 2.0
560 stars 202 forks source link

ENHANCEMENT: Chapter Recommendations #20

Closed nickclark2016 closed 2 years ago

nickclark2016 commented 7 years ago

As I have been reading through the book, I have a few ideas for future chapters that you can add (solely graphics).

lwjglgamedev commented 7 years ago

Many thanks for your suggestions.

nickclark2016 commented 7 years ago

No problem!

nickclark2016 commented 7 years ago

I have something that might be of interest to you. I have a debugging utility for OpenGL and GLFW. I don't mind if you use this in the future! I enjoy what you are doing. Please keep up the good work!

https://github.com/nickclark2016/Luminos/blob/master/src/tk/luminos/DebugUtil.java

lwjglgamedev commented 7 years ago

Very interesting tool. In fact, this something that can be very useful. I will have a look at it.

nickclark2016 commented 7 years ago

Another recommendation for you:

When processing things for rendering, use Java 8's streams. When I submitted everything to a map for rendering, I found that it was more efficient to use parallel streams to add each entity to a map. This way, when entities are submitted, less time is spent on computing with respect to the rendering!