answersLogoWhite

0

OpenGL bases on the state variables. There are many values, for example the color, that remain after being specified. That means, you can specify a color once and draw several polygons, lines or what ever with this color then. There are no classes like in DirectX. However, it is logically structured. Before we come to the commands themselves, here is another thing:

To be hardware independent, OpenGL provides its own data types. They all begin with "GL". For example GLfloat, GLint and so on. There are also many symbolic constants, they all begin with "GL_", like GL_POINTS, GL_POLYGON. Finally the commands have the prefix "gl" like glVertex3f(). There is a utility library called GLU, here the prefixes are "GLU_" and "glu". GLUT commands begin with "glut", it is the same for every library. You want to know which libraries coexist with the ones called before? There are libraries for every system, Windows has the wgl*-Functions, Unix systems glx* and so on

.

A very important thing is to know, that there are two important matrices, which affect the transformation from the 3d-world to the 2d-screen: The projection matrix and the modelview matrix. The projection matrix contains information, how a vertex - let's say a "point" in space - shall be mapped to the screen. This contains, whether the projection shall be isometric or from a perspective, how wide the field of view is and so on. Into the other matrix you put information, how the objects are moved, where the viewer is and so on

.

Don't like matrices? Don't be afraid, you probably won't really see them, at least at the beginning. There are commands that do all the maths for you.

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

Some promising applications of open GL?

some of the promising applicatios of open gl


Why wont your computer support open GL for Counter Strike Source?

Why would you even want it to support Open GL


What are two examples of API's?

Open GL (Open Graphics Library) DirectX


What is the meaning of the term Open GL?

The term Open GL means Open Graphics Library. It is a program that makes up the rendering of 2 dimensional and 3 dimensional computer graphics. It is also used in the making of video games.


How do you open a passenger door in a 1999 ford contour gl when it is stuck?

Get the inner panel off and open it manually.


Which virtual graphics cards can i use to play minecraft and Starcraft?

gl 1.4, minimum. Open gl 2.0 and 128M all that minecraft says it requires


How do you fix a door on a Hyundai GL when the door won't open on the inside?

If the door on a Hyundai Gl will not open from the inside, the child safety lock mechanism should be checked. The lock mechanism is found inside the door jab underneath a label that says 'child lock'.


How do you remove the Harmonic Balancer on a 1994 Ford Tempo GL?

Works best with a air impact tool. There is room.


Free car competition sample code on opengl animation?

coding for car animation in open gl


What is the memory of Intel gma 3000 graphics card?

128 on xp and 256 on wi7 ...open gl 2.0


What are the weekend opening hours of GL Cars who are based in Surrey?

The weekend opening hours of the company GL Cars who are based in Surrey are 9:00 am whilst 3:00 pm on saturdays. Unfortunately they are not open on sundays.


How do open the glove box on a vw jetta gl 1996?

Hard to open a glove box that doesn't exist. because the mk3 jetta doesn't come with a glove box.

Trending Questions
What colors of light must be combined with blue light to obtain white light? What term describes an object that are visible because of reflected light? How long can it take some smaller diameter asbestos fibers to settle? How does friction affect motoin? Will wax float in salt water? If a wire has insulation of 150 degrees Fahrenheit what is the Celsius? A raised object has energy in its energy stores? A sample of radioactive isotope has a halflife of 1 day how much of the original sample will be left at the end of the fourth day? A person feeling weight of air feels? Natural elements don't reflect light true or false? Is sprinter run along the tracks is rectilinear motion? Does a mirror work due to refracted light? How do solar power plants capture solar energy to generate electricity? Why is the wetbulb thermometer read lower than The dry bulb thermometer? How much energy does petroleum provide? What does would you object us mean? When You Are Vacuuming Under What if your Bed A Piece Of Paper Gets Stuck On The End Of The Hose. Explain Why It Takes A Large Amount Of Force To Remove This Piece Of Paper If The Vacuum Cleaner Is St? What is the historical significance of the camera obscura in observing eclipses? What are the differences between an electromagnet and a solenoid, and how do these differences affect their respective functions and applications? The half-life of Mo-99 is 67 hours A 200 ug quantity decays over time to 25 ug How much time has elapsed?