1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Asking On OPENGL

Discussion in 'C' started by Tango Issac Debian, Jan 22, 2007.

  1. Tango Issac Debian

    Tango Issac Debian New Member

    Joined:
    May 3, 2006
    Messages:
    31
    Likes Received:
    1
    Trophy Points:
    0
    hi,guys...
    i am a newbie in OpenGL...some tpoics create conflicts
    to me .....Ples help me.....

    1) what is the default Axis and origin of the OpenGL??
    2)When we draw a point as

    glBegin(GL_POINTS);
    glVertex3f(9.0f,0.8f,89.0f);
    glEnd();

    Here,in some codes the different programmers use (-ve) as
    notifying vertex position...how is this possible??how
    they think here as their Axis and origin???
    pls help me...
    regards tango
     
  2. DaWei

    DaWei New Member

    Joined:
    Dec 6, 2006
    Messages:
    835
    Likes Received:
    5
    Trophy Points:
    0
    Occupation:
    Semi-retired EE
    Location:
    Texan now in Central NY
    Home Page:
  3. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,283
    Likes Received:
    364
    Trophy Points:
    83
    You are probably talking about specific program and I dont see anything that is such a strictness of assigning -ve values.

    You can refer to the OpenGL program in SolarSystem--My first OpenGL program.
     
  4. Tango Issac Debian

    Tango Issac Debian New Member

    Joined:
    May 3, 2006
    Messages:
    31
    Likes Received:
    1
    Trophy Points:
    0
    hai
    Guys,
    Thank very much to give me a
    so good resource....

    But, my asking is
    1)in this program what is the position of
    your 3D axis??Please say me
    this i cannot understand...

    2)At glTranslatef(-1.0,0.0f,-9.4f);

    pLease explain me the meaning of the
    Function??
    Please!!!!!
    Thanks guys
    Tango
     

Share This Page