C++ - Qt Framework - Using QOpenGLWidget to display a shape with lighting and normal vectors

Lighting is certainly one of the most interesting effect that we can make with OpenGL.

Combined with colors and normal vectors, lighting becomes visually realistic.

C++ - OpenCV - Hello world

In a previous tutorial we set up OpenCV with Visual Studio.

This time we are going to make our first Hello world OpenCV project.

Let's see that.

C++ - OpenCV - Setting up with Visual Studio

OpenCV is an interesting library aimed to computer vision.

But before playing with it, it's necessary to set up your IDE.

This IDE will be Visual Studio for this tutorial.

So let's get started.

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.


Subscribe to BadproG.com RSS