Opengl Interview Questions And Answers

Opengl Interview Questions list for experienced

  1. How are coordinates transformed? What are the different coordinate spaces?
  2. How do I transform my objects around a fixed coordinate system rather than the object\'s local coordinate system?
  3. What is GLSL?
  4. Can I mix OpenGL and DirectX?
  5. Are OpenGL matrices column-major or row-major?
  6. What are the pros and cons of using glFrustum() versus gluPerspective()? Why would I want to use one over the other?
  7. How can I make a call to glFrustum() that matches my call to gluPerspective()?
  8. How do I set up OpenGL matrix stack for rasterization-only?
  9. What is GameGLUT?
  10. How do I access the frame/depth/texture memory directly?
  11. How can I draw more than one view of the same scene?
  12. How do I draw 2D controls over my 3D rendering?
  13. What are the Operators we use in open GL?
  14. What is MESA?
  15. What are Functions and control structures n open GL?
  16. Can We Develop an OpenGL ES Module?
  17. Write Quaternion versus Matrix performance?
  18. What about clipping?
  19. How do I transform only one object in my scene or give each object its own transform?
  20. What about the perspective divide?
  21. What is Associated utility libraries?
  22. What are the pros and cons of using absolute versus relative coordinates?
  23. What is new in GLUT 3.1?
  24. Why doesn\'t GLUT programs compiled on IRIX 6.4 or 6.3 work earlier releases?
  25. What is new in GLUT 3.4?

Opengl interview questions and answers on advance and basic Opengl with example so this page for both freshers and experienced condidate. Fill the form below we will send the all interview questions on Opengl also add your Questions if any you have to ask and for apply in Opengl Tutorials and Training course just send a mail on info@pcds.co.in in detail about your self.

Top Opengl interview questions and answers for freshers and experienced

What is Opengl ?

Answer : OpenGL is a graphics standard and API which is platform independent and available for desktop, workstation and mobile devices. It is designed to provide hardware-accelerated rendering, and hence gives greatly improved performance over traditional software rendering. OpenGL is used for applications like CAD software and computer games. The OpenGL standard, as well as OpenGL ES, is controlled by the Khronos group

Questions : 1 :: How are coordinates transformed? What are the different coordinate spaces?

Object Coordinates are transformed by the ModelView matrix to produce Eye Coordinates.Eye Coordinates are transformed by the Projection matrix to produce Clip Coordinates.Clip Coordinate X, Y, and Z...View answers

Questions : 2 :: How do I transform my objects around a fixed coordinate system rather than the object's local coordinate system?

If you rotate an object around its Y-axis, you'll find that the X- and Z-axes rotate with the object. A subsequent rotation around one of these axes rotates around the newly transformed axis and not...View answers

Questions : 3 :: What is GLSL?


  GLSL (OpenGL Shading Language), also known as GLslang, is a high level shading language based on the C programming language. It was created by the OpenGL ARB to give developers more direct...View answers

Questions : 4 :: Can I mix OpenGL and DirectX?

DirectX describes a suite of API's by Microsoft that includes DirectDraw, Direct3D, DirectInput, DirectPlay, DirectSound, etc. You cannot mix DirectDraw or Direct3D with OpenGL, but all of the...View answers

Questions : 5 :: Are OpenGL matrices column-major or row-major?

For programming purposes, OpenGL matrices are 16-value arrays with base vectors laid out contiguously in memory. The translation components occupy the 13th, 14th, and 15th elements of the 16-element...View answers

Questions : 6 :: What are the pros and cons of using glFrustum() versus gluPerspective()? Why would I want to use one over the other?


glFrustum() and gluPerspective() both produce perspective projection matrices that you can use to transform from eye coordinate space to clip coordinate space. The primary difference between the two...View answers

Questions : 7 :: How can I make a call to glFrustum() that matches my call to gluPerspective()?

The field of view (fov) of your glFrustum() call is: fov*0.5 = arctan ((top-bottom)*0.5 / near) Since bottom == -top for the symmetrical projection that gluPerspective() produces, then: top =...View answers

Questions : 8 :: How do I set up OpenGL matrix stack for rasterization-only?

Something like:glMatrixMode(GL_PROJECTION);glLoadIdentity();glMatrixMode(GL_MODELVIEW);glLoadIdentity();glViewport(0, 0, width, height); /* viewport size in pixels */will mean that the 3D point...View answers

Questions : 9 :: What is GameGLUT?


GameGLUT is a set of API extension to GLUT to be released in GLUT . These extensions provide keyboardrelease callbacks, disabling of keyboard auto repeat, joystick callbacks, and full screen...View answers

Questions : 10 :: How do I access the frame/depth/texture memory directly?

You don't. OpenGL does not provide any interface for accessing this memory directly. You can get access to the contents of those buffers by using glReadPixels() but it is slow. There has...View answers

Questions : 11 :: How can I draw more than one view of the same scene?

You can draw two views into the same window by using the glViewport() call. Set glViewport() to the area that you want the first view, set your scene?s view, and render. Then set glViewport() to the...View answers

Questions : 12 :: How do I draw 2D controls over my 3D rendering?

The basic strategy is to set up a 2D projection for drawing controls. You can do this either on top of your 3D rendering or in overlay planes. If you do so on top of a 3D rendering, you'll need to...View answers

Questions : 13 :: What are the Operators we use in open GL?

The OpenGL Shading Language provides many operators familiar to those with a background in using the C programming language. This gives shader developers flexibility when writing shaders. GLSL...View answers

Questions : 14 :: What is MESA?

A mesa (Spanish and Portuguese for "table") or table mountain is an elevated area of land with a flat top and sides that are usually steep cliffs. It takes its name from its characteristic...View answers

Questions : 15 :: What are Functions and control structures n open GL?

Similar to the C programming language, GLSL supports loops and branching, including: if-else, for, do-while, break, continue, etc.User-defined functions are supported, and a wide variety of commonly...View answers

Questions : 16 :: Can We Develop an OpenGL ES Module?

Box3D looks nice and seems like it would be pretty easy to add support for. I really want to bring in the following soon: * OpenGL * Canvas (we have a working module for this but didn't make final...View answers

Questions : 17 :: Write Quaternion versus Matrix performance?

When doing 3D graphics programming, you will be dealing with vertices, vectors, translations and rotations. OpenGL will happily do the translations and rotations for you, but in some cases you will...View answers

Questions : 18 :: What about clipping?

Most OpenGL implementations, including SGI''s for Windows, haveextremely efficient clip-check code. The cost varies betweennegligible and zero. Some hardware can rasterize primitives that gooutside...View answers

Questions : 19 :: How do I transform only one object in my scene or give each object its own transform?

OpenGL provides matrix stacks specifically for this purpose. In this case, use the ModelView matrix stack. A typical OpenGL application first sets the matrix mode with a call to...View answers

Questions : 20 :: What about the perspective divide?

You _can_ supply coordinates with (w == 1.0f), if you''re prepared todo the perspective divide yourself. However, you might miss out onacceleration (for a similar reason to part 4 above), plus...View answers

Questions : 21 :: What is Associated utility libraries?

Several libraries are built on top of or beside OpenGL to provide features not available in OpenGL itself. Libraries such as GLU can be found with most OpenGL implementations, and others such as GLUT...View answers

Questions : 22 :: What are the pros and cons of using absolute versus relative coordinates?

Some OpenGL applications may need to render the same object in multiple locations in a single scene. OpenGL lets you do this two ways: 1) Use ?absolute coordinates". Maintain multiple copies of each...View answers

Questions : 23 :: What is new in GLUT 3.1?

GLUT 3.1 is largely a maintence release. There are some new programs, a few minor GLUT library bug fixes, but mostly GLUT 3.1 is to make sure GLUT builds cleanly on various platforms like SunOS,...View answers

Questions : 24 :: Why doesn't GLUT programs compiled on IRIX 6.4 or 6.3 work earlier releases?

First, SGI never guarantees that an executable built on a later IRIX release will work on an earlier release. Sometimes it works; more often than not it does not. GLUT takes advantage of a new X...View answers

Questions : 25 :: What is new in GLUT 3.4?

GLUT 3.4 is an incremental release. An Ada binding for SGI machines is included along with an Ada example. Many new sample programs. Several such as dinoshade.c demonstrate real-time rendering...View answers
More Question

Ask your interview questions on Opengl

Write Your comment or Questions if you want the answers on Opengl from Opengl Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---