C++ - Qt Framework - Using QOpenGLWidget to display a window for moving shapes with keyboard and mouse

In the past tutorials about Qt and OpenGL we saw how to deal with some basic tasks.

Let's see this time something a bit more advanced with the QOpenGLWidget class in order to display a scene from a window with a shape.

C++ - Qt Framework - Using OpenGL texture with index array

 Playing with colors can be fun but what about textures?

What about something really realistic?

In this OpenGL tutorial for Qt we are going to apply a texture on our dear triangles.

C++ - Qt Framework - Using OpenGL VAO and VBO to handle 2 different objects on the scene

VAO (Vertex Array Object) and VBO (Vertex Buffer Object) were introduced to help programmers since OpenGL 3.0.

So it’s not a recent features but if you just started learning OpenGL it could be very complex to understand.

Android - API - Creating a Spinner with colors as choices

With Android we haven't a classic ComboBox like in other frameworks but we have instead a Spinner.

Actually it's exactly the same and only the name differs.

Python 3 - PySide2 - Setting up and using Qt Designer

PySide2 is a Python API for the Qt framework.

This API is made with Shiboken2, the Python binding generator.

It means that you can write your code in Python and use the Qt framework as you’d do with C++.

C++ - Boost - Converting std::vector to Boost.Python Numpy ndarray

You have a C++ std::vector and you want to convert it to a Boost.Python Numpy ndarray.

But, once the ndarray got, you want to get back to the C++ array.

How to do that?

Let's see that in this Boost.Python tutorial.

C++ - Boost - Using Boost.Python Numpy from_data()

If you are using Python then NumPy is quite interesting for manipulating arrays.

But how do we do that with C++ and Boost.Python NumPy extension?

C++ - Boost - Building the Boost.Python NumPy extension as a library

If you are a scientist and interested in Python, you certainly already know the NumPy package.

In this tutorial I'll propose to explain how to install it on Windows in order to be used with the Boost.Python library.

We'll also make an Hello world example.

C++ - Boost - Using Boost.Python library on Windows to create a DLL

Communication between 2 different language isn't so easy.

It's often possible to find libraries to help us achieve this behaviour.

That's what we are going to see in this Boost.Python tutorial for Windows.

Let's get started.


Subscribe to BadproG.com RSS