LearnOpenGL - translated examples for PureBasic - modern openGL

Everything related to 3D programming
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

LearnOpenGL - translated examples for PureBasic - modern openGL

Post 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.
User avatar
Keya
Addict
Addict
Posts: 1891
Joined: Thu Jun 04, 2015 7:10 am

Re: LearnOpenGL - translated examples for PureBasic - modern openGL

Post by Keya »

that sounds amazing!!! :) any chance of some screenshots?
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

Re: LearnOpenGL - translated examples for PureBasic - modern openGL

Post 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.
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

Re: LearnOpenGL - translated examples for PureBasic - modern openGL

Post by GPI »

i upload chapter 4 of the example code:
https://github.com/GPIforGit/LearnOpenGL/releases/
(and rework all example a little bit)
Post Reply