openGL program

4 views
Skip to first unread message

elena

unread,
Oct 29, 2010, 7:32:01 PM10/29/10
to webkit-meta
write an OpenGL program which can be used to model 2D Objects ,use
your 2D modeling tool to model a nice 2D scene with at least 5 2D
objects
program must contain all of the following features:
For drawing
• Can draw lines, circles, triangles, rectangles, polygons with
arbitrary number of edges. You must have menu items include all kinds
of shapes you want to draw. By selecting one of menu item, you can
draw it out.
• Each object must have a submenu to choose the object color. The
object must be drawn using the selected color. Your program may
support up to 5 different colors.
• When drawing triangles, and polygons, you need to specify the
position of each vertex using mouse (maximum of 10 vertices).
• When drawing rectangles, you only need to specify two vertices.
• Circle must be drawn using the GL_TRIANGLE _FAN, you need to select
the circle center by the mouse and the circle radius is 20.
• When drawing lines, you need to specify the beginning and end of the
line using the mouse, the first click indicates the beginning and the
second click indicates the end..

Ivan Vučica

unread,
Oct 30, 2010, 1:45:17 AM10/30/10
to webki...@googlegroups.com, webkit-meta
Are you trying to ask us to solve your homework?

Regards,

Ivan Vučica
via phone

> --
> You received this message because you are subscribed to the Google
> Groups "webkit-meta" group.
> To post to this group, send email to webki...@googlegroups.com.
> To unsubscribe from this group, send email to webkit-meta...@googlegroups.com
> .
> For more options, visit this group at http://groups.google.com/group/webkit-meta?hl=en
> .
>

elena

unread,
Oct 30, 2010, 5:29:53 AM10/30/10
to webkit-meta
hellow , thanks for your reply ,,, i am asking to solve my question ,,
because it is home work and today is the due date for upload it .
please could you solve my question ? thanks

On Oct 30, 7:45 am, Ivan Vučica <ivuc...@gmail.com> wrote:
> Are you trying to ask us to solve your homework?
>
> Regards,
>
> Ivan Vučica
> via phone
>
> > .- Hide quoted text -
>
> - Show quoted text -

Ivan Vučica

unread,
Oct 30, 2010, 8:34:49 AM10/30/10
to webkit-meta
People online will probably not be solving your problems from beginning all the way to the end, especially complex ones, and at that on a mailing list that is quite specialized and mostly unrelated to your problem.

Your problem would  take at least an hour or two (minimum) to solve, and is quite uninteresting. That time is something most people won't give you easily.

What I'm trying to say can be summed up like this: If you're too lazy to do your own homework, then others are even lazier and even less interested. Do your own homework!
--
Regards,

Ivan Vučica

Reply all
Reply to author
Forward
0 new messages