Page 1 of 1

LearnOpenGL - translated examples for PureBasic - modern openGL

Posted: Sat Jun 05, 2021 1:46 pm
by GPI
I translated the examples from

https://learnopengl.com/

for PureBasic

https://github.com/GPIforGit/LearnOpenGL/releases

I use SDL, Assimp and my Math-includefiles, you need them to compile the examples

https://github.com/GPIforGit/SDL_For_PB/releases
https://github.com/GPIforGit/math/releases
https://github.com/GPIforGit/assimp-for-PB/releases

all codes expect, that you use the installscript and the include-files are in the pb-compiler-directory

All codes should work in Windows, MacOs and Linux.

I had to rewrite many codes to work with PB. I tried to remain the structure of the original, but it was not always possible. But the comments in the source should guide you.

I also add many cleanup, since the original code doesn't do this everywhere (for example release a scene when loading a model with assimp).

At the moment I have translated the first three chapters, but this is engought to start.

Re: LearnOpenGL - translated examples for PureBasic - modern openGL

Posted: Sat Jun 05, 2021 2:01 pm
by Keya
that sounds amazing!!! :) any chance of some screenshots?

Re: LearnOpenGL - translated examples for PureBasic - modern openGL

Posted: Sat Jun 05, 2021 2:07 pm
by GPI
many :) - on the LearnOpenGL-Homepage, for example here https://learnopengl.com/Model-Loading/Model - scroll down (nearly at the end) to the backpack-screenshot.

Re: LearnOpenGL - translated examples for PureBasic - modern openGL

Posted: Fri Jun 18, 2021 4:58 pm
by GPI
i upload chapter 4 of the example code:
https://github.com/GPIforGit/LearnOpenGL/releases/
(and rework all example a little bit)