Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

OpanGL

Name: Anonymous 2008-09-11 18:02

So I'm working on this OpanGL animation program for school, and I am curious about glTranslate function. Does this function is able to move a circle that I have drawn to a different part of screen?

Also, I have circle to move around screen, what is the best way to make circle move in a straight line at an angle from origin?

Thank you, [ßpoiler]/prog/[/spoiler]

Name: Anonymous 2008-09-11 18:08

[quote]ßpoiler[/quote]

What the fuck

Anyways, yes. Since it takes a matrix, you call it on the matrix with the desired co-ordinate change.

Name: Anonymous 2008-09-11 18:22

>>1
No, it does not is able to move a circle that you have drawn to a different part of the screen. What's drawn is drawn.

Name: Anonymous 2008-09-11 18:38

¸˛

Name: Anonymous 2008-09-11 18:42

It's OpenGL.

Name: Anonymous 2008-09-11 19:38

>>2

[quote]

What the fuck

Name: Anonymous 2008-09-11 19:50

>>1-2
Sloppy BBCode programmers

Name: Anonymous 2008-09-11 21:14

i have a circle at location (x,y) and a vector (-3,4) and i want to move the circle in that direction of the vector do i just divide (-3,4) by its length and then keep adding this value to (x,y) or is there a smoother way to do this in opengl also does opengl work in pixel or float coordinates thanks

Name: Anonymous 2008-09-11 21:24

>>8
Read the documentation like grown-ups.

Name: Anonymous 2008-09-11 22:19

>>8
A. No. This is basic geometry, get it right.
B. Read the docs.

Name: Anonymous 2008-09-12 1:49

Name: Anonymous 2008-09-12 1:59

>>11
Not that.

Name: Anonymous 2008-09-12 2:22

lol [スポイラ]/prog/[/スポイラ]

Name: sage 2008-09-12 4:12

obvious troll is obvious.

Name: Anonymous 2008-09-12 6:09

Before you start coding it might be good to have read at least one page from an OpenGL tutorial.

Name: Anonymous 2008-09-12 7:12

>>8
Forget it, it's NP-Complete.

Name: ​​​​​​​​​​ 2010-10-23 9:19

Name: Anonymous 2011-02-04 16:58

Don't change these.
Name: Email:
Entire Thread Thread List