![]() OpenGL is an excellent choice for graphics development on the Macintosh platform because it offers the following advantages: OpenGL greatly eases the task of writing real-time 2D or 3D graphics applications by providing a mature, well-documented graphics processing pipeline that supports the abstraction of current and future hardware accelerators. The OpenGL client-server model abstracts hardware details and guarantees consistent presentation on any compliant hardware and software configuration. Every implementation of OpenGL adheres to the OpenGL specification and must pass a set of conformance tests. Applications can harness the considerable power of the graphics hardware to improve rendering speeds and quality. The specification for OpenGL is controlled by the Khronos Group, an industry consortium whose members include many of the major companies in the computer graphics industry, including Apple. In addition to OpenGL for OS X, there are OpenGL implementations for Windows, Linux, Irix, Solaris, and many game consoles. OpenGL Is a C-based, Platform-Neutral APIÄ«ecause OpenGL is a C-based API, it is extremely portable and widely supported. As a C API, it integrates seamlessly with Objective-C based Cocoa applications. OpenGL provides functions your application uses to generate 2D or 3D images. Your application presents the rendered images to the screen or copies them back to its own memory. The OpenGL specification does not provide a windowing layer of its own. ![]() It relies on functions defined by OS X to integrate OpenGL drawing with the windowing system. Your application creates an OS X OpenGL rendering context and attaches a rendering target to it (known as a drawable object). The rendering context manages OpenGL state changes and objects created by calls to the OpenGL API. Relevant Chapters: Choosing Renderer and Buffer Attributes, Working with Rendering Contexts, and Determining the OpenGL Capabilities Supported by the Renderer The drawable object is the final destination for OpenGL drawing commands and is typically associated with a Cocoa window or view. #Java for mac os x 10.10.2 for mac os x#.
0 Comments
Leave a Reply. |