Search:

Type: Posts; User: Xavier

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    4,026

    Re: Problem of colors when drawing lines

    That's it, texturing was not disabled.

    Thanks a lot !
  2. Replies
    3
    Views
    4,026

    Problem of colors when drawing lines

    Hi,

    I have written a drawLine method, but no matter what color I specify, my lines are always black.



    void Game::drawLine(CGPoint origin, CGPoint dest, CGFloat width)
    {...
  3. Replies
    5
    Views
    7,738

    Re: Rotation about an axis other than 0,0,0

    Ok, I forgot the translate back...
  4. Replies
    5
    Views
    7,738

    Re: Rotation about an axis other than 0,0,0

    Well I alos got an issue with rotation:

    I use glTranslate / glRotate to rotate my object around its own axis, fine.
    But in fact my object is making circles around that axis, and the farer I am...
  5. Replies
    4
    Views
    5,370

    Re: Animated Sprites

    I finally managed to draw my animated textures, thanks for your answers.
  6. Replies
    4
    Views
    5,370

    Re: Animated Sprites

    Using glTexSubImage2D is thus the good idea ?
    Or there is another way to set the texture coordinates ?
  7. Replies
    4
    Views
    5,370

    Animated Sprites

    Hi,

    I just started to developon iPhone, so I'm discovering OpenGL:)

    I want to create animated sprites using glTexImage2D.
    What's the best way for this purpose ?
    - use glTexSubImage2D ?
    -...
Results 1 to 7 of 8