PDA

01-01-2008, 09:42 AM
Hello expert and helper

i am having OpenGL exam but i have not understand some last year passpaper question. so will you please help me to answer these question for me so then i can understand bit more. thank you advance.

1.) A Cube is defined as a series of 8 vertices and six facets on a coordinate system whose origin is at the centre of the cube. A cube can be used to define the buildings on the street. several instances of the cube model will be used to generate the following buildings.

a.) A hight rise block of flats of width = 1 unit, height = 10 units, depth = 1 unit.

b.) A department store of width = 4 units, height= 2 units, depth = 1 unit.

c.) A small house of width = 1 unit, height = 1.5 units, depth = 1.5 units.

what matrices would be used to scale the cube so as to create instances of the buildings suggested above?

(10 marks Worth Question)

2.) What technique could be used to give the cuboids described in the above question the appearance of real buildings?

(10 marks Worth Question)

3.) Outline the file reading process by which

*) a binary format file defining a model is read

**) and its details is stored in a data structure designed to accommodate a collection of geometric objects possibly connected and possibly textured.

(10 marks Worth Question)

please answer the question to help me to revise this sample exam question. thank you again.

PS: Problem is our uni is in holiday and my teacher wont be answer my emails. i try to contact them past few days but they are not responding. therefore, i am asking here that some one could help me because i am running out of my time for the exam.

knackered
01-01-2008, 10:46 AM

Zengar
01-01-2008, 11:11 AM
To the first question: read how the scale matrices work. I won't comment on another two.

pudman
01-01-2008, 11:14 AM
1) Matrices 1 through 3 (Yes, especially Matrix Revolutions)
2) Dreamworks or Pixar
3) If using a "super model" then a) Don't worry, models can't read and b) they are geometrically perfect and have no need to be "textured".

Happy New Year.

bobvodka
01-01-2008, 12:19 PM
For the record I've closed two of his threads over on gamedev.net for asking the same questions :D

jwatte
01-01-2008, 12:31 PM
You know, even if he can get through the exam by having someone else answer the questions (rather than just using Google and simple linear algebra), any decent interview process will immediately weed him out. So I guess he'll work at some place that isn't smart enough to have a decent interview process ;-)

01-02-2008, 04:46 AM
thank u guys

k_szczech
01-02-2008, 11:18 AM
1. A tricky question? My answer: Size of cube is unknown, therefore contents of matrices are unknown ;)
2. Raytracing?

None of these questions require any OpenGL knowledge. First one is a matrix math question, second one is general computer graphics question, third one is basic data structures handling question.

Hell, what's this post doing in "advanced" forum, anyway?

pudman
01-02-2008, 03:45 PM
Hell, what's this post doing in "advanced" forum, anyway?

Any questions regarding knowing the Matrix (see my answer to question one) require Neo-like knowledge which at a minimum would be "advanced".

Idiocy meets absurdity.

knackered
01-02-2008, 05:42 PM
Seems he needs to be spoon fed.

k_szczech
01-03-2008, 06:40 AM
Seems he needs to be spoon fed.
"There is no spoon." (that's from Matrix of course).