Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: How change the state

  1. #1
    Junior Member Newbie
    Join Date
    Mar 2001
    Location
    earth
    Posts
    1

    How change the state

    hi there!

    I m in trouble with Opengl...
    have task to rotate a text ( for instance: matata) and have to rotate it on it s own axes and also to each letter on its . I have to achieve without using the Rotatef function . I have used y'=ysin(angle)...
    this formulas actually I have designed them seperately but I cant combine them..
    pls do me favor with helping how to translate the x,y,z to new x',y',Z'
    my prethanx
    Akuna Matata

  2. #2
    Junior Member Newbie
    Join Date
    Feb 2001
    Location
    slovakia
    Posts
    13

    Re: How change the state

    the formula for sferic coordinates is:
    x=r*cos(a)*cos(b)
    y=r*cos(a)*sin(b)
    z=r*sin(a)(I think)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •