Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Retrieving Coordinates after rotations

  1. #1
    Member Contributor
    Join Date
    Feb 2000
    Location
    Stafford, UK
    Posts
    60

    Retrieving Coordinates after rotations

    Hi all,

    I am rotating my camera using GlRotatef which works fine, but once I have rotated how do I get the new coordinates?, same goes for objects...

    thanks

  2. #2
    Senior Member Regular Contributor
    Join Date
    Feb 2000
    Posts
    122

    Re: Retrieving Coordinates after rotations

    I don't know, but I'm also very interested in it. If you find/get an answer, please let me know.

    Thx

  3. #3
    Guest

    Re: Retrieving Coordinates after rotations

    Hi !
    I`m working on a project that enables 3d navigation in a closed box.
    I`ve created a class called camera and it is responsible for the rotation , and the different moves of the camera
    if you think it is suitable for you !!

  4. #4
    Member Contributor
    Join Date
    Feb 2000
    Location
    Stafford, UK
    Posts
    60

    Re: Retrieving Coordinates after rotations

    gvilir - Yes that would be great, if you could post it here or mail it, thanks.

    Marc, once I find out I'll tell you!, post me your mail address.

  5. #5

    Re: Retrieving Coordinates after rotations

    It's not possible to get those transformed coordinates in OpenGL.
    Just think the hardware case, how on earth could you access the data on the cards pipeline?
    Or using several glVertex calls. IF there was some glGetTransformedVertex function, you should call it after each glVertex call. Doesn't sound too nice.
    I think it could be possible to make this with some kind of vertex array extension where you can pass OpenGL source and destination arrays. But afaik there is now such thing...

  6. #6
    Guest

    Re: Retrieving Coordinates after rotations

    Hi david !
    it seems that your email adress is wrong or something like this .

  7. #7
    Senior Member Regular Contributor
    Join Date
    Feb 2000
    Posts
    122

    Re: Retrieving Coordinates after rotations

    David, my e-mail-address is available in the profiles-section (left one of the four icons on top of postings of registered contributors). But here it is, too:
    m.schneider@oe.uni-duisburg.de

    thx for your offer

  8. #8

    Re: Retrieving Coordinates after rotations

    Just thought about something...

    You could use glProject, but it's not a very good solution...

  9. #9
    Member Contributor
    Join Date
    Feb 2000
    Location
    France
    Posts
    55

    Re: Retrieving Coordinates after rotations

    I can't believe what I saw ! Of course you can get the final coordinates of your points ! Have you ever heard of feedback mode ???
    Antoche

  10. #10

    Re: Retrieving Coordinates after rotations

    Doh, the problem is that you can't render while in feedback mode! So, you would have to switch into feedback mode, do the stuff you like, switch back to render mode...

    Oh yes, and it's in window coordinates.

    [This message has been edited by Hude (edited 03-05-2000).]

Page 1 of 2 12 LastLast

Similar Threads

  1. retrieving pixel coordinates
    By bamba in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 04-12-2004, 08:34 AM
  2. retrieving mouse 3d coordinates
    By Alessandro_dup1 in forum OpenGL: Advanced Coding
    Replies: 5
    Last Post: 01-28-2003, 05:16 PM
  3. Retrieving Coordinates after rotations
    By J_Ramone in forum OpenGL: Basic Coding
    Replies: 11
    Last Post: 04-19-2001, 11:44 AM
  4. Retrieving Coordinates after rotations
    By J_Ramone in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 04-16-2001, 12:28 PM
  5. Retrieving Coordinates after rotations
    By J_Ramone in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 04-15-2001, 11:09 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