Lecture #1
Lecture #1
OpenGL is an API (libraries) that is called inside the code. The • Pipeline: the architecture or
Computer Graphics involve displaying and manipulating data for proper the block diagram.
visualization using computer. The main tasks of the computer graphics are: • GPU: Graphical processing
• Modeling: creating and representing the geometry of objects unit.
in the 3D world.
• Rendering: generating 2D images of the objects.
• Animation: describing how objects change in time.
The rendered image is displayed on monitors (CRT, LCD, LED, plasma and head mounted display). The
object to be modeled consists of Primitive Objects.
The Primitive Objects are three: the Point, the Line and the Triangle. Some of the modeling software
programs offer more primitive objects, like Cubes, Quads, Rectangles.
Hence, modeling is using computer graphics packages (like MAYA, 3D Max, 3D Studio, Quest 3D…etc.)
to create geometry of objects (2D or 3D).
When viewing a 3D model, we need lighting to see its details. OpenGL has
commands for lighting, yet we can simply ignore them. Also, there’s the Camera that allows Display
us to see these objects. screens are
The rendering process is collecting the primitive objects created for each object, 2D
adding the selected attributes like color of the object, and adding the defined lighting and the
camera. There are two types of Rendering: Hardware Rendering and Software Rendering.
The head mounted display has Stereoscopic view feature, which is used to render 3D objects in 3D cinemas.
Scene is the current view of the eyes/camera, meaning that when a person looks right, he observes a certain
scene, and when he looks left, he sees another scene. Environment consists of a set of Scenes. A Scene consists
of a set of Objects. An Object consists of a set of Primitive Objects.
Stereoscopic Projection: obtaining two views of a scene generated with viewing directions along the lines
from the position of each eye to the scene, it’s mostly used in the Virtual-Reality applications.
Today, it’s not needed to model an object from scratch, in other words, a 3D scanner makes the job of
modeling an object much easier, yet, it has its flaws, as if you have an object that consists of smaller objects (say a
statue of a man and a horse) you can't separate them from each other. The 3D scanner has three lenses, just like the
3D camera.
Page #1
Figure 1 – Interactive Graphics system
Page #2