Beruflich Dokumente
Kultur Dokumente
(LBW SYSTEM)
CONTENTS
Introduction
Requirement Specifications
System Design
Conclusion
Bibliography
INTRODUCTION
2D TRANSFORMATIONS [Translation]
Step 1: Initialize and draw the input object.
Step 2: Accept the necessary input data (such as distance
parameter, rotation angle, point of reference, shear
parameters, scaling parameter) required for step 3
Step 3: To perform
Translation:
x = x + dx & y = y + dy
DESIGN MODULES
glClearColor()
glClear()
glPushMatrix()
glTranslatef()
Inbuilt
glColor3f()
glPopMatrix()
functions
glutSwapBuffers()
glLoadIdentity()
glRasterPos2f()
glutBitmapCharacter()
glutMainLoop()
DESIGN MODULES(contd.)
glutPostRedisplay()
glOrtho2D()
glutInit()
glutInitDisplayMode()
Inbuilt
glutInitWindowPosition()
glutCreateWindow()
functions
init()
glutDisplayFunc()
glutReshapeFunc()
glutMouseFunc()
glutIdleFunc()
DESIGN MODULES(contd.)
Sprint()
User display()
defined
spindisplay()
functions
spindisplayy()
SOURCE CODE EXPLANATION
Books referred
Interactive Computer graphics A Top Down Approach with
OpenGL-Edward Angel,5th Editon, Addison Wesley,2008.
OpenGL programming guide. The official guide to learning
OpenGL Version 2.1. 6th edition (2007).