|
-
Mar 4th, 2006, 05:32 AM
#1
Thread Starter
Junior Member
How to draw circle use openGL?
How to draw circle use openGL and then the circle move from middle top and down? use c++
-
Mar 4th, 2006, 05:37 AM
#2
Re: How to draw circle use openGL?
Take a look at the Lessons here: http://nehe.gamedev.net/
-
Mar 4th, 2006, 08:17 AM
#3
Thread Starter
Junior Member
Re: How to draw circle use openGL?
but that website doesn't have circle movement from top to down sample...
-
Mar 4th, 2006, 10:57 AM
#4
Fanatic Member
Re: How to draw circle use openGL?
if you can draw a circle, you can easily move it like you move any other object - pushMatrix(), transform / rotate it into the right spot, draw the circle, then popMatrix();
sql_lall 
-
Mar 4th, 2006, 11:37 AM
#5
Thread Starter
Junior Member
Re: How to draw circle use openGL?
but use what to display? for example squre use glRectf(x,y) how about circle?
-
Mar 4th, 2006, 02:20 PM
#6
Fanatic Member
Re: How to draw circle use openGL?
You can either do it manually (google "openGL circle" to find code)
*or* a good way is to use quadrics:
http://jerome.jouvie.free.fr/OpenGl/.../Tutorial7.php
sql_lall 
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
|
Click Here to Expand Forum to Full Width
|