Results 1 to 6 of 6

Thread: Translation and rotation after glBegin()

  1. #1
    Guest

    Translation and rotation after glBegin()

    Is there anyway of doing translation and rotations between the glBegin() and glEnd() functions ?

  2. #2
    Senior Member Frequent Contributor
    Join Date
    Feb 2004
    Location
    Long Island, New York
    Posts
    569

    Re: Translation and rotation after glBegin()

    nope.

  3. #3
    Guest

    Re: Translation and rotation after glBegin()

    thanks, what about getting the absolute coordinates of a vertex. I mean after all the translations and rotations can we get the coordinates of a vertex from the ( 0, 0, 0 ) matrix ?

  4. #4
    Member Contributor
    Join Date
    Feb 2004
    Location
    Dallas/ Nottingham
    Posts
    96

    Re: Translation and rotation after glBegin()

    While you cannot use glTranslate etc between begin and end

    There is nothing stopping you from doing the math directly on the vertices positions you are giving to glVertex, this would have to be in immediate mode redendering as well

  5. #5
    Guest

    Re: Translation and rotation after glBegin()

    yeah thanks, i'll do that

  6. #6
    Member Newbie
    Join Date
    Jul 2005
    Location
    Russian federation
    Posts
    36

    Re: Translation and rotation after glBegin()

    ...

Similar Threads

  1. rotation after translation
    By nemolionak3 in forum OpenGL: Basic Coding
    Replies: 6
    Last Post: 12-16-2018, 03:30 PM
  2. Translation after rotation
    By manni in forum OpenGL: Basic Coding
    Replies: 7
    Last Post: 09-11-2010, 09:15 PM
  3. translation and rotation
    By h333 in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 04-11-2004, 02:03 PM
  4. translation instead rotation
    By Maxmagnus in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 07-10-2002, 11:22 AM
  5. rotation and translation
    By joeyx in forum OpenGL: Basic Coding
    Replies: 14
    Last Post: 04-23-2001, 12:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean