| [UPDATES]
| 30-04-2011 - Moved to Dubai, UAE and now I don't have time to work on this. Well but I added some other functionality in it as well like you can walk inside the building now. Will post the code soon as soon as I get free.
| 03-05-09 - Added Scene 2 which contains very basic lighting and shading.
Hello PG,
I am opening this thread so I can show off what I have been upto in recent days. If anyone of you want to show his/her work of 3D Graphics Programming then he is welcome to use this thread.
Now, my part of the show.
I have been learning OpenGL since february and I have written a program which renders a 3D Scene of a Roman like structure(insipred by God of War) in real time. You can move through the scene with first person camera.
The 3D Model you are seeing in the scene has been hardcoded in the code(no external model loading). I have done this for the sake of learning 3D co-ordinates better. It was frustrating but rewarding.
Actually I have a computer graphics course this semester so thats why I am doing this. As the course proceeds I will be adding lighting, texture, shading, and other elements to the scene as well.
[Checklist]
1) Render a scene in OpenGL... Done.
2) Basic Lighting and Shading... Done.
3) Texture Mapping... I am on it.
.
.
.
.
Hope I contributed for the good.
Cheers!
Imran Hashmi
Karachi.
[SCREENSHOTS]
[SCENE 1: Basic Rendering]
[SCENE 2: With Lighting and Shading]
Now, I thought lighting would be easy to implement in OpenGL and yes it is easy to implement simple lighting in OpenGL but controlling it is rather hard. First I had to make all my polygons and triangles counter clockwise(CCW) because when I started 3D in OpenGL I didn't paid much attention to the winding details. So it was time consuming and frustrating. Now this is a very basic OpenGL lighting and nothing fancy in it. I did experimented a lot with lighting in OpenGL. I guess that was the reward I got this time.
| 30-04-2011 - Moved to Dubai, UAE and now I don't have time to work on this. Well but I added some other functionality in it as well like you can walk inside the building now. Will post the code soon as soon as I get free.
| 03-05-09 - Added Scene 2 which contains very basic lighting and shading.
Hello PG,
I am opening this thread so I can show off what I have been upto in recent days. If anyone of you want to show his/her work of 3D Graphics Programming then he is welcome to use this thread.
Now, my part of the show.
I have been learning OpenGL since february and I have written a program which renders a 3D Scene of a Roman like structure(insipred by God of War) in real time. You can move through the scene with first person camera.
The 3D Model you are seeing in the scene has been hardcoded in the code(no external model loading). I have done this for the sake of learning 3D co-ordinates better. It was frustrating but rewarding.
Actually I have a computer graphics course this semester so thats why I am doing this. As the course proceeds I will be adding lighting, texture, shading, and other elements to the scene as well.
[Checklist]
1) Render a scene in OpenGL... Done.
2) Basic Lighting and Shading... Done.
3) Texture Mapping... I am on it.
.
.
.
.
Hope I contributed for the good.
Cheers!
Imran Hashmi
Karachi.
[SCREENSHOTS]
[SCENE 1: Basic Rendering]
[SCENE 2: With Lighting and Shading]
Now, I thought lighting would be easy to implement in OpenGL and yes it is easy to implement simple lighting in OpenGL but controlling it is rather hard. First I had to make all my polygons and triangles counter clockwise(CCW) because when I started 3D in OpenGL I didn't paid much attention to the winding details. So it was time consuming and frustrating. Now this is a very basic OpenGL lighting and nothing fancy in it. I did experimented a lot with lighting in OpenGL. I guess that was the reward I got this time.
Last edited: