It is currently Tue Mar 31, 2020 7:54 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: OpenGL v4+ Support for Libraries GLEW and GLM
PostPosted: Tue Dec 24, 2019 7:00 pm 
Offline
Always Here
Always Here

Joined: Fri Oct 23, 2009 2:33 am
Posts: 6092
Location: Wales, UK
OpenGL 4.0 was introduced in 2010 - you would struggle to find someone that needed high performance OpenGL but doesn't have a Graphics card that supports at least OpenGL 4.0.

For the Pure Basic Developer to work with the later versions of OpenGL, we need support for the modern extensions it deploys, GLEW and GLM.

The OpenGL Extension Wrangler Library (GLEW) is a cross-platform open-source C/C++ extension loading library. GLEW provides efficient run-time mechanisms for determining which OpenGL extensions are supported on the target platform. OpenGL core and extension functionality is exposed in a single header file. GLEW has been tested on a variety of operating systems, including Windows, Linux, Mac OS X, FreeBSD, Irix, and Solaris.

GLEW is distributed as source and precompiled binaries.
The latest release is 2.1.0[07-31-17]
http://glew.sourceforge.net

GLM is a header only C++ mathematics library for graphics software based on the OpenGL Shading Language (GLSL) specifications.
The latest release is 0.9.9.6 2019-09-08
https://glm.g-truc.net/0.9.9/index.html

In earlier versions, OpenGL provided support for managing coordinate transformations and projections using the standard matrix stacks #GL_MODELVIEW and #GL_PROJECTION with glMatrixMode_(). In core OpenGL 4.0+, all functionality
supporting the matrix stacks has been removed!

_________________
IdeasVacuum
If it sounds simple, you have not grasped the complexity.


Top
 Profile  
Reply with quote  
 Post subject: Re: OpenGL v4+ Support for Libraries GLEW and GLM
PostPosted: Tue Dec 24, 2019 8:21 pm 
Offline
Addict
Addict
User avatar

Joined: Mon Jun 02, 2003 9:16 am
Posts: 2096
Location: Germany
By far not necessary. GLFW and GLM are not worth integrating officially into PureBasic. I wouldn't even use them in other languages. Matrix functionality is implemented within a few days (you'd only need 4x4 matrices).

GLM/GLEW are no official extensions to OpenGL. If you'd wrap GLM, you'd hear complaints why it is not Eigen being wrapped. If you'd wrap GLEW, they'd complain why it is not SDL or GLFW ...

_________________
bye,
Daniel


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye