By Jon Jacobs

A finished name distinct at skilled 32-bit Delphi programmers and builders within the use of the photos normal library, OpenGL, which has turn into a regular for programming within the animation and desktop video game industries.

Show description

Read or Download Delphi Developer's Guide to OpenGL (first 5 chapters only) PDF

Best programming: programming languages books

Essential Java Fast : How to write object oriented software for the Internet

Java is a brand new and fascinating object-oriented programming language that's set to rework the realm extensive internet. Java permits clients to write down functions which are accessed throughout varied systems and offers a good technique of development small yet robust courses that allow a massive diversity of recent purposes - reminiscent of animation, reside updating, two-way interactions and so on.

Designing SQL Server 2000 Databases. for .Net ™ Enterprise Servers

The Microsoft . internet initiative is the way forward for e-commerce - making it attainable for corporations to construct a safe, trustworthy e-commerce infrastructure. this can be the 1st booklet to stipulate the services of SQL Server 2000, one of many key elements of . web. SQL Server 2000 introduces robust new info mining performance designed in particular to catch and procedure consumer profiles and to foretell destiny deciding to buy styles on e-commerce websites.

Additional resources for Delphi Developer's Guide to OpenGL (first 5 chapters only)

Sample text

Other paramter types are possible, so as many as 24 different versions of the glVertex command are available. The FormPaint method used the glColor3f command. The “3” indicates that this version of the command takes three parameters, but there is another version of the command that takes four parameters. The “f” indicates that the parameters are of type glFloat. Previous Table of Contents Next Products | Contact Us | About Us | Privacy | Ad Info | Home Use of this site is subject to certain Terms & Conditions, Copyright © 1996-2000 EarthWeb Inc.

Of the pixels that map to the same spot on the screen, OpenGL draws only the one nearest the viewer. This process is OpenGL’s method of hidden surface removal. 0); glEnable(GL_DEPTH_TEST); end; {FormCreate} Matrices Revisited Save, compile, and run. Observe that no change is evident. This means that more must be done to make the depth test work. Therefore it is time to give more consideration to matrices. OpenGL is full of them. Matrices describe the very scene itself, and there are matrices for texture, for projection, etc.

This ability, as well as others, becomes effective by means of the glEnable command: procedure glEnable(cap:GLenum); stdcall; Turn on each capability by passing the appropriate constant. Here is the declaration for the depth-testing constant: GL_DEPTH_TEST = $0B71; Enabling depth testing sets up a depth buffer that contains depth information on each pixel within the clipping volume. Of the pixels that map to the same spot on the screen, OpenGL draws only the one nearest the viewer. This process is OpenGL’s method of hidden surface removal.

Download PDF sample

Rated 4.59 of 5 – based on 18 votes