OpenGL Pipelined Project

Project started at Sterling Systems. Project was started with intention of learning OpenGL. Starting with core Fix function pipeline to higher  version of shaders.

My machine overheated  because of my heavy graphics processing (sending lots VBOs). First time in life i damaged hardware by my code, my machine BSOD’ed me since then i had my laptop serviced thrice but no change. I am not able to do graphics on my machine for now. May be this time i will buy a good badass PC with badass GC.

Below OpenGL projects are in queue and are expected to completed by couple of months after i get new PC, Hope so.

City

city using instancing feature of OpenGL

??????????

??????????

??????????

??????????

Castle

small castle attacked by fireball.

sp7wp

gone wrong somewhere during texture mapping

??????????

Sunrise

In this project i want to prepare a sunrise experience using OpenGL shaders. I have sorted out some good music to fit in.

Initial Setup 1

??????????

Height Map gone wrong

??????????

Race Car

normal car may be with car driving capability
??????????

??????????

Advertisements

Desert God

This a plain OpenGL project. I am going to use Windows SDK  and OpenGL for this project without any game engine. I am going to log the output and screenshot for better understand of OpenGL API. This will guide newbie to get an idea about what may go wrong in the code and where to start searching for. I am documenting most probable undesirable effect which i get through out the project . What i have done so far.. Have done some snippets from Super Bible and Red Book (Not all Though). written a code for .obj model loading by selecting key option you  ca n switch to

  1. Drawing is done using simple triangle
  2. Drawing using data array
  3. Drawing with DrawArray
  4. Drawing with Draw Elements with array pointers
  5. Drawing with Draw Elements with Interleaved Array

Well i am keeping data for all options so, Space and the speed of the program is not into consideration.

I have NOT done any optimization of the code. I have kept for learning purpose.

Loading a .obj model

Desert God 1

Initializing model with Normal, Light

Desert God 2

Initializing with SkyBox (Tried loading some Texture)

Desert God 3

Loaded Skybox, Light, .. (Found Geometry too heavy)

Desert God 4

Lots of  time i am playing with models in Blender 2.6 (I love this Software)

  • Added some texture to models in Blender
  • Changed the plane which was too heavy

Texture Mapping

My DELL Studio laptop 1558 with ATI 5000 HD  series has be up 24 hrs for few days now. It have suddenly stopped and showed me BSOD. I am worried that i might have broken something (i though maintain sufficient airflow but ) it gets heated up in quite a less time.

bsod

Over a month same problem continued so i submitted laptop for minor repair but same problem persist. Its has been over a months now i haven’t done any heavy graphical activity on GC.

Traditional Triangle Example 1

This is a classic “Hello world” Triangle Example in Graphics Programming

OpenGL Sample Using Win32 SDK

Triangle_windows(win32)

Source for Above Example

https://github.com/MSLabs/OpenGL-Sample1_Triangle/tree/master/GL_1_Triangle(win32)

 

OpenGL Sample Using Freeglut

Triangle_windows(freeglut)

OpenGL Sample Using Android

https://github.com/MSLabs/OpenGL-Sample1_Triangle/tree/master/GL_1_Triangle(freeglut)

 

Triangle_android

Source for Above Example

https://github.com/MSLabs/OpenGL-Sample1_Triangle/tree/master/GL_1_Triangle(android)