Help end child hunger


An impressive 3D work inspired on a painting by Gyula Benczúr (1844–1920), an Hungarian painter. The painting, entitled Budavar visszavetele, portrays the recapture of the Buda Castle in 1686 (see here for more info)

The 3D modelling and texturing is by Zsolt Ekho Farkas, an Hungarian digital artist. A short “making of” is provided by the artist himself in Buda repossession on Behance.

This is just one of the many videos available at the ACM Siggraph YouTube Channel. Definitely worth a visit.

teapots The Red Book samples included a short demo on OpenGL materials. The demo is quite old but is still valuable when considering the Phong lighting equation. In the original C source file several materials are defined and the resulting app produces an image such as the icon of this post.

This post contains a WebGL demo where the different materials can be applied to a model.

Continue reading »

The JSON format is an easy and simple way to get 3D models uploaded into a WebGL application. Lighthouse3D provides a tool (source code and visual studio project available) that uses Assim to read standard 3D model files (OBJ, Collada, 3ds, among many others) and produces a JSON formatted file containing the vertex information (positions, normals and tex coords) as well as material description.

An example of a WebGL page where such content is used is available in here.

The Demo

This demo uses multiple shaders, loaded models in JSON format and creates its own models (the grid and axis).
Continue reading »

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.

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.

A code sample has been uploaded with a Visual Studio 2010 project, with source code and shaders, to illustrate the process of loading an image with the DevIL API and creating a texture in OpenGL.

multisampleThe code sample for importing and displaying 3D models with Assimp, using modern OpenGL, has been updated to cover Assimp 3.0.

A Visual Studio 2010 project has also been added to help readers to get started.

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.


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


© 2014 Suffusion theme by Sayontan Sinha