Hi guys.
As i have decided to program 3D graphics for my game with OpenGL, i am suprisingly picking it up quite quickly and i do not see how i got confused before, i created a notebook for myself which includes quick and understandable notes about OpenGL and 3D Graphics, since i just started i know how to create a basic triangle and add some special shading effect's with GLSL to make it look better.
Aside from that, what do i need to learn to create a 3rd person camera? Does it involve matrix manipulation? Currently i want to create a point in space that is always on the player and the camera is focused on that point focusing on where that point is. I also want to create a one point so that i can switch camera angles for cutscenes and stuff like that. Here is a diagram of what i mean:
---------------
| ==== |
| | P | |
| | | |
| X ==== |
-----------------
Key:
X = Player
P = Point that the camera focuses on.
Also how would i create a terrain that is flat. I do not want to create a terrain that is lumpy because my game will be set in a City/Fururistic environement most of the time.
Any help would be highly appreciated.