Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3945398
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T01:00:43+00:00 2026-05-20T01:00:43+00:00

Confusing myself with this OpenGL stuff. What I want to do is move a

  • 0

Confusing myself with this OpenGL stuff. What I want to do is move a series of vertexes to a position over a certain amount of time. Reading this tutorial I understand the keyframe and interpolation principle but the way its implemented in the tutorial is way to complex for me.
All my vertex data is in a GLfloat array

GLfloat triangle [6];
triangle[0] = 0; //x coord
triangle[1] = 10; //y coord

You get the idea ^^. There is no z coord as I don’t need 3D. I can draw it fine and have been for a while but now I want to animate.
Anyone know of any good, simple tutorials for losers like me 🙂
Any help would be much appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T01:00:44+00:00Added an answer on May 20, 2026 at 1:00 am

    What you should be looking for is tutorials addressing the matrix stacks in OpenGL. What you want to do to animate your object is not to hack your triangle array data values, but to apply transformation matrices to translate/rotate/scale your object in the scene.

    Here’s one for Android but it’s OpenGL ES so should equally apply:

    http://blog.jayway.com/2010/01/01/opengl-es-tutorial-for-android-–-part-iii-–-transformations/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is a little confusing to explain, so bear with me here... I want
This has been confusing me for some time. With the advent of UTF-8 as
Let me know if I'm not explaining this well enough as I'm confusing myself
I have just studied the RegEx and I find myself confusing from this following
I'm confusing myself reading Microsoft's documentation on the Lazy<T>(bool) constructor. The parameter is described
the question title seems pretty confusing, but this is what i want to achieve.
I'm confusing myself terribly grasping the concept of plotting on a 3D plane, if
I want to change the format of this array to match another one. One
I am using C Style strings for a project, and I am confusing myself
I've been reading a lot about this since I've been asked to fix a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.