Freeglut ( OpenGL ) in C

Posted by user1832149 on Stack Overflow See other posts from Stack Overflow or by user1832149
Published on 2012-11-17T16:31:17Z Indexed on 2012/11/17 17:00 UTC
Read the original article Hit count: 181

Filed under:
|

I would like to ask for you a little help in my homework. I'm learning at an university of Debrecen, and I would like to be a programmer, but I'm stuck with this homework.

It's a OpenGL project in C. (freeglut)

The next task is about:

Window to viewport transformation. Draw graphs of functions, as shown below. The individual views (viewport) defines four different rectangles.

Functions look like this picture: one window in 4 piece, and one pice of one function.

The functions, respectively:

f(x)=x2
g(x)=x3
h(x)=sin(x)
i(x)=cos(x)

Heres a pic what I need to make:

http://i.stack.imgur.com/t9aKS.png

How would I approach such a task?

© Stack Overflow or respective owner

Related posts about c

    Related posts about opengl