The Eduladder is a community of students, teachers, and programmers just interested to make you pass any exams. So we help you to solve your academic and programming questions fast.
In eduladder you can Ask,Answer,Listen,Earn and Download Questions and Question papers.
Watch related videos of your favorite subject.
Connect with students from different parts of the world.
Apply or Post Jobs, Courses ,Internships and Volunteering opportunity. For FREE
See Our team
Wondering how we keep quality?
Got unsolved questions? Ask Questions

Computer-Graphics-and-Visualization-10CS65-->View question


Asked On2017-06-07 06:48:22 by:Aparna-Dasgupta

Taged users:
arunwebber

Likes:
Be first to like this question

Dislikes:
Be first to dislike this question
Talk about this  Like  Dislike
View all qusetions
Answers
A software API consisting of around several hundred 
functions that allow you to talk to your graphics hardware. 
 It is cross-platform and the most commonly used in 
professional graphics applications
   1.Primitive functions
2.Attribute functions
3.Viewing functions
4.Transformation functions
5.Input functions
6.Control functions
7.query functions.
Primitive functions
Define the low level objects or atomic entities that our system can    
     display. 
Depending on the API,the primitives can include points, line, segments, polygons, pixels, text , and various type of curves and surfaces.
Example
    glBegin(GL_POINTS);
       glVertex2f(100.0,200.0);
    glEnd();
Attribute functions
To perform operations ranging from choosing the color with which we display a line segment.
Eg   glColor3f(1.0,0.0,0.0);
       glLineWidth(1.0);
To picking a pattern with which to fill the inside of a polygon.
To selecting a typeface(font) for the title on a graph.
Viewing functions

The viewing functions allows us to specify various views,although APIs differ in the degree of flexibility they provide in choosing a view.
glViewport (xvmin, yvmin, vpWidth, vpHeight); 
gluOrtho2D (xwmin, xwmax, ywmin, ywmax); 
gluLookAt(…);
Transformation functions
Transformation function that allows  to carry out transformations of objects,such as rotation, translation and scaling.
glTranslatef (tx, ty, tz); 
glRotatef (theta, vx, vy, vz);
 glScalef (sx, sy, sz);
Input function
 Allows us to deal with the diverse forms of input that characterize modern graphics systems.
void glutKeyboardFunc(void (*func) (unsigned char key, int x, int y)); 

Answerd on:2017-06-27 Answerd By:13priya

Likes:
Be first to like this answer

Dislikes:
Be first to dislike this answer
Talk about this  Like  Dislike

You might like this video:Watch more here

Watch more videos from this user Here

Learn how to upload a video and start earning here



Lets together make the web is a better place

We made eduladder by keeping the ideology of building a supermarket of all the educational material available under one roof. We are doing it with the help of individual contributors like you, interns and employees. So the resources you are looking for can be easily available and accessible also with the freedom of remix reuse and reshare our content under the terms of creative commons license with attribution required close.

You can also contribute to our vision of "Helping student to pass any exams" with these.
Answer a question: You can answer the questions not yet answered in eduladder.How to answer a question
Career: Work or do your internship with us.Work with us
Create a video: You can teach anything and everything each video should be less than five minutes should cover the idea less than five min.How to upload a video on eduladder