I am having THE hardest time wrapping my head around the idea that long strings of functions and codes, written in C++ and other computer languages, are able to create a video game... Can someone please describe to me how strings of codes are able to translate into a 3D environment in a video game??? Or even just a 3 dimensional object for that matter. I COMPLETELY do not understand how this works. Please help me conceptually understand how video game programming works. Thanks.|||I suggest you read a bit about either XNA (for beginners and amateurs) or DirectX or OpenGL (both for pros).
They are API's for displaying 3D...
As a basic, you can write a function to show a pixel to the screen, right?
If so, you can probably create a function to show a triangle, right?
If so, you can probably create a function to show many triangles, right?
If so, you can probably create a function to show many triangles seen from a different angle, right?
If so, you can probably create a function to show many triangles arranged as 3D objects...
You might need to understand first 3D geometry (matrices, quaternions, vectors, R3 vectorial algebra and so on...)
As for 3D objects, they are made from polygons (triangles).|||well it is maybe the scripting that you do in c++ and you need to learn math for that, scripting like: Xposition=13 Yposition=15 Zposition is for 3d function and you need a program to export and see what you've done
a link to a forum for you to learn more:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment