Results 1 to 5 of 5

Thread: problem with rotation

  1. #1
    Junior Member
    Join Date
    Mar 2009
    Posts
    21

    problem with rotation

    i have a ceiling fan model which i made myself and rendered it in opengles window now i wnt to rotate the ceiling fan which consists of vertices array which is fixed, so can anyone tell/guide about how to approach this prob.

    my code for vertices of fan is something like below :

    GLfloat Rotor[] = {

    // strip I

    -0.545f, 2.6f, 0.20f,
    -0.495f, 2.6f, 0.0f,
    -0.435f, 2.6f, 0.20f,
    -0.485f, 2.6f, 0.0f,

    }................... So on..................................

    so can anybody tell how to make these coordinates under rotor array rotate ?

    and is the problem clear?

    Thanks and regards,
    Himanshu Sharma

  2. #2
    Junior Member
    Join Date
    Mar 2009
    Posts
    21

    Re: problem with rotation

    and one more query?

    can glMultMatrixf() be used for getting rotation effect?

  3. #3
    Junior Member
    Join Date
    Mar 2009
    Posts
    21

    Re: problem with rotation

    done with the error

  4. #4

    Re: problem with rotation

    well maybe try to get visit some technician to get fix your fan...
    ________________
    Fanimation fans

  5. #5
    Junior Member
    Join Date
    Mar 2009
    Posts
    21

    Re: problem with rotation

    i never knew that people working in some ceiling fan making company are out here will call u definitely for fixing some ceiling fan motors don't worry...

Similar Threads

  1. Opengl es 2.0 touch rotation problem
    By bharathr88 in forum OpenGL ES 2X - for programmable 3D graphics pipelines
    Replies: 1
    Last Post: 07-12-2011, 10:38 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
  •