Help end child hunger
Jan 032017
 

VSL has been updated to work with CMake. It works on Linux (tested on Ubuntu 16.04) and Windows (Windows 10 with VS 2015). The full project can be downloaded at GitHub.

The only requirement besides the stuff at Lighthouse’s github reps is DevIL when working in Linux, which must be installed separately.

Jul 192013
 

vslSampleThe Very Simple * Libs pages have been updated, merging the information into less pages and adding a few relevant updates. The lib is now compatible with Assimp 3.0, and a bug which appeared with recent nvidia drivers when using multiple shaders with uniform blocks has been fixed.

The sample code has been updated to reflect these changes and a Visual Studio 2012 project is included.

Jul 052013
 

fourpawnsSelecting, a particular item in a 3D scene may prove useful for some applications. The selection can be performed by clicking on an object, requiring a way to determine over which object was the mouse placed.

This short tutorial shows how to select objects with the mouse using color coding. Source code and a VS2010 project are provided.

Apr 022013
 

A Computer Grahpics courseedxcourse is available at EdX, by Ravi Ramamoorthi, a Professor at UC Berkeley. By the end of the course students should understand the concepts of 3D graphics, and develop programs that create images of a 3D scene with lighting, using both real-time OpenGL and GLSL programming, as well as offline raytracing.

Syllabus:

  1. Overview and Basic Math
  2. Transformations
  3. OpenGL and Lighting
  4. Raytracing

 

Feb 152013
 

texturedThe GLSL Core Tutorial has a new section for image texturing. Images are commonly used as wallpaper applied to 3D shapes to create a variety of effects. In this section we focus on the OpenGL and GLSL typical scenario of texture usage, and explore a few new GLSL functions, such as textureSizetextureQueryLod, and textureQueryLevels.

Jan 282013
 

OpenGL, unlike Direct3D, is operating system independent. While this eases the portability among different OS, it implies that we have to resort to external libraries for a number of tasks, loading images being one of the most used.

There are many libraries to load images, DevIL being one of them. It loads a large number of image formats and it is cross platform.

A short tutorial for loading an image, getting its data and attributes, and finally creating an OpenGL texture is available in here.