WebGL – Basic Material List from Teapots.c

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.

Read more

WebGL – Converting 3D models to JSON formatted files

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, … Read more

OpenGL Selection Tutorial

Selecting, 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 … Read more

Foundations of Computer Graphics – Online Course at EdX

A Computer Grahpics course 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: Overview and … Read more

Interactive 3D Graphics – Online Course at Udacity

Eric Haines (co-author of Real-Time Rendering) is lecturing an online course at Udacity – Interactive 3D Graphics. The course covers the basic principles of 3D computer graphics, including meshes, geometric transformation, camera definition, lighting and materials, and also animation. Syllabus: Lesson 1: Introduction – Motivation and a trip down the graphics pipeline, laying out the fundamental … Read more