Escolar Documentos
Profissional Documentos
Cultura Documentos
OpenGL is the core graphics rendering option for many 3D games, such as Quake 3. The
providing of only low-level rendering routines is fully intentional because this gives the
programmer a great control and flexibility in his applications. These routines can easily be
used to build high-level rendering and modeling libraries. The OpenGL Utility Library (GLU)
does exactly this, and is included in most OpenGL distributions!
Unlike DirectX, OpenGL is only a graphics API; it doesn't include support for functionality
such as sound, input, or networking (or anything not related to graphics). That's ok,
however, because in future tutorials I will teach you how you how to use DirectX for these
things.
OpenGL was originally developed in 1992 by Silicon Graphics, Inc, (SGI) as a multi-purpose,
platform independent graphics API. Since 1992 all of the development of OpenGL has been
headed by the OpenGL Architecture Review Board (ARB). This exclusive board is composed
of the major graphics vendors and industry leaders. Some of these are Intel, IBM, NVIDIA,
Microsoft, and Silicon Graphics.
OpenGL is a collection of several hundred functions that provide access to all of the features
that your graphics hardware has to offer. Internally it acts like a state machine-a collection
of states that tell OpenGL what to do. Using the API you can set various aspects of this state
machine, including current color, blending, lighting effect, etc.
This is a very general introduction to OpenGL, and you may find other in-depth introductions
elsewhere. There is a reason, however, to my generalized introduction. I don't want to slam
you with specifics, but give you an idea as to what OpenGL is so that you may decide for
yourself if this set of lessons is for you. As always, happy coding, and see you next lesson (I
hope)!
No obstante, crear un buen juego es un desafío que está fuera del ámbito de este paseo
guiado. Si está considerando ese desafío, examine los vínculos siguientes para obtener
información que le ayudará a crear su primer juego.
Requisitos previos
En este tema se da por supuesto que conoce los fundamentos del lenguaje C++. Si está
empezando a aprender C++, le recomendamos el libro "C++ Beginner's Guide" escrito
por Herb Schildt, disponible en línea en http://go.microsoft.com/fwlink/?
LinkId=115303.
1. Para crear juegos mediante DirectX, deberá instalar el SDK de DirectX desde
DirectX Developer Center Después de haber instalado el SDK, encontrará varios
ejemplos que le ayudarán a iniciarse en la programación con DirectX.
2. Examine la página web Visual C++ Express Edition de MSDN para buscar juegos
existentes que puede descargar, estudiar y modificar como desee. Desde allí,
puede descargar juegos de Microsoft Research e incluso el código fuente
completo del popular juego Quake II .NET
http://www.taringa.net/posts/juegos/4414418/Cubo-
Rubik-3D.html
http://www.programaciongrafica.com/index.php
http://www.programaciongrafica.com/modules.php?
name=Downloads&d_op=viewdownload&cid=2