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 3 of 3

Thread: what's the use of gltransferf() and how can use it?

  1. #1
    Junior Member Newbie
    Join Date
    Aug 2001
    Location
    hk
    Posts
    16

    what's the use of gltransferf() and how can use it?

    what's the use of gltransferf() and how can use it?
    kim

  2. #2
    Senior Member OpenGL Pro
    Join Date
    Jun 2000
    Location
    Shreveport, LA, USA
    Posts
    1,505

    Re: what's the use of gltransferf() and how can use it?

    I'm guessing you mean glTranslatef(x,y,z).
    It translates (i.e. linearly displaces) the current matrix by the vector (x,y,z). You can use it anytime, assuming a valid render context is current, and as long as it is not called between a glBegin()/glEnd() block.

  3. #3
    Senior Member OpenGL Pro
    Join Date
    May 2001
    Location
    Kristianstad,Skåne,Sweden
    Posts
    1,595

    Re: what's the use of gltransferf() and how can use it?

    You might find in useful to take a look at the OpenGL faq:
    http://www.opengl.org/developers/faqs/technical.html

    There you will find lot's of tips. I do think you should read a book on OpenGL (there are some available on line) to get some understanding of how it works, this will make it a lot easier to understand how it works.

    Just a tip.
    Mikael

Posting Permissions

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