-
How can i draw a star using glut and basic glVertex function?
How can i draw a star using glut and basic glVertex function?
Can anyone post example code for this and the complete command to compile this program?
-
Senior Member
OpenGL Pro
Nobody is going to do your homework assignment for you.
I suggest you plot the point on graph paper and use glVertex3f to draw the polygon.
It's very simple and there are plenty of beginner tutorial sites to get you started. Don't be lazy and do your research!
-
Yes, draw it on paper first (remember the axis representation). Use triangles and then use glVertex (MAN) to draw the points!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules