Results 1 to 9 of 9

Thread: Eye -> Target Position

  1. #1
    Guest

    Eye -> Target Position

    Hello !
    wich command allows to change the target of the eye ? It always fixes the (0,0,0) point !
    Thanks

  2. #2
    Senior Member Frequent Contributor
    Join Date
    Aug 2000
    Location
    Cardiff University
    Posts
    653

    Re: Eye -> Target Position

    gluLookAt

  3. #3
    Senior Member Regular Contributor
    Join Date
    Dec 2000
    Location
    Slovak Republic( Slovakia )
    Posts
    110

    Re: Eye -> Target Position

    What the hell is master-up vector?

  4. #4
    Senior Member Regular Contributor
    Join Date
    May 2001
    Location
    Germany, Hannover
    Posts
    160

    Re: Eye -> Target Position

    i think the master up-vector should be the vector of the view before transforming to look at the destpoint, but dont know 100% (dont use glut...)

  5. #5
    Senior Member OpenGL Guru
    Join Date
    Feb 2000
    Location
    Sweden
    Posts
    2,978

    Re: Eye -> Target Position

    The upvector is the vector, in eyespace, telling gluLookAt where the camera's up is directed. If the camera is "up side down", the upvector would point downwards in eyespace, for example.

  6. #6
    Senior Member Regular Contributor
    Join Date
    Dec 2000
    Location
    Slovak Republic( Slovakia )
    Posts
    110

    Re: Eye -> Target Position

    So it's direction vector?
    Tk2 why I can't use glut?
    :

  7. #7
    Senior Member OpenGL Guru
    Join Date
    Mar 2001
    Posts
    3,574

    Re: Eye -> Target Position

    Glu is not Glut. Glu is a set of helper functions for OpenGL. Glut is a framework library for making OpenGL programs.

  8. #8
    Senior Member Regular Contributor
    Join Date
    May 2001
    Location
    Germany, Hannover
    Posts
    160

    Re: Eye -> Target Position

    FoxDie, i never sayed that YOU dont have to use glut, only that I dont use glut

    P.S: glu or glut, for me are both not needed/not recommended(you cannot say that apps with glut/glu run on other systems without recompile on them)

  9. #9
    Senior Member Regular Contributor
    Join Date
    Dec 2000
    Location
    Slovak Republic( Slovakia )
    Posts
    110

    Re: Eye -> Target Position

    GLUT is very good PORTABLE.
    Korval I know what is GLU and GLUT.

Similar Threads

  1. Translating Position A in relation to position B
    By imported_paul_g_griffiths in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 02-02-2017, 04:25 AM
  2. Replies: 2
    Last Post: 10-16-2012, 11:23 AM
  3. GPU target?
    By imported_Groovounet in forum OpenGL: General
    Replies: 4
    Last Post: 04-15-2009, 12:29 PM
  4. How to find the target position?
    By bobGL in forum OpenGL: General
    Replies: 2
    Last Post: 04-19-2007, 12:49 PM
  5. Camera Position / Camera Angle / Camera Target Position
    By bobGL in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 04-02-2007, 09:28 AM

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