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

  • SEARCH
  • Home
  • 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 8305691
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T18:10:14+00:00 2026-06-08T18:10:14+00:00

        I am working on making a sprite class in OpenGL

  • 0

        I am working on making a sprite class in OpenGL ES 2.0 and have succeeded to a point. Currently I have a render method for the sprite and it’s called by the render method in my EAGL layer at intervals. I was creating new vertex buffer and index buffer every time render was called but it isn’t efficient so I called glremovebuffer. Unfortunately when I do that the frame-rate is slowed down significantly.

        So currently I have the vbo and ibo created at initialization which works fine in terms of frame-rate and memory consumption but is unable to update position.

        I’m at a bit of a loss as I’m just beggining with OpenGL, any help is 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-06-08T18:10:16+00:00Added an answer on June 8, 2026 at 6:10 pm

    Typically you want to create your sprite with VBOs and IBOs once, located at the model origin. To translate, rotate, and scale, you would then use the model matrix to transform your sprite into a desired location.

    I’m fairly certain that iphone sdk provides some nice functions to do that, but I don’t know any of them 🙂 Basically, in your shader, you take your position coordinates and you multiply it by one or more matrices, one of those matrices is the model matrix, which you can change to be a translate, rotate, scale, or any combination of those matrices (in fact, it can be any matrix you want and it will produce different results).

    There’s a lot of resources out there that explain these transformation matrices. Here’s one for instance:
    http://db-in.com/blog/2011/04/cameras-on-opengl-es-2-x/

    My advise is to find a tutorial that speaks on the same level as your understand and learn from there…

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

Sidebar

Related Questions

I'm working on this html snippet: <p class=pageSelector> <a href=/BlaBla>&lt; Prev</a>&nbsp; <a href=/BlaBla>1</a>&nbsp; <a
   I'm currently looking for a more efficient method, via VBA, to get information transferred
I am currently working on a html5 and jquery project. I have an html5
I have a Visual Studio 2005/ C# ClickOnce application that gets all its data from a
I have 2 tables   1. Client   2. Operations Operations can result in:
I have a Qt application in Visual Studio 2005 which is linked using \subsystem:windows such that
Why does WPF render differently on Windows XP vs Windows 7? I'm using .NET SP1 on
  I've started working on a project that loads all of the different pages
I have been working on a Timesheet Management website. I have my home page
I'm now working on RC Windows 7 and installed Visual Studio 2008 Professional edition. But I

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.