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 8827039
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T07:17:14+00:00 2026-06-14T07:17:14+00:00

I am a little confused when it comes to what function i should be

  • 0

I am a little confused when it comes to what function i should be using for my OpenGL Deferred Rendering.

I have a list of VBO( vertex buffer objects )

each one represents a type of vertex such a one might be (Position + Color)

I also have one for indeces

my problem comes when i want to render different objects

im use to the directX way where you
1)activate your vertex buffer
2)activate your index buffer
3) then you specify on your draw call your primitive type
the start vertex from the vertex buffer, the min vertex index, the vertex count, the start indice and the primivite count

with openGL im lost because i can use:

glDrawElements – but this uses render mode, object count, the indice byte type and the indices

this just basically tells me it will render at the start of the VBO which wont help me any if i have multiple objects in there.

Anyone have any clue what rendering function openGL has that I can specify where in the VBO to start rendering from and specify my start vertex position? I hope someone has any idea =\

  • 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-14T07:17:15+00:00Added an answer on June 14, 2026 at 7:17 am

    You have several options.

    You can reposition the start of each particular object’s vertex data by issuing more glVertexAttribPointer calls before you draw that object. Or you can use glDrawElementsBaseVertex, where you get to specify a vertex index that all of the indices fetched by gets added to.

    The latter should be available on any non-Intel hardware still supported.

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

Sidebar

Related Questions

I'm a little confused as to how I should be using didSelectRowAtIndexPath . Without
I'm getting a little confused with using Absolute and Relative positioning. Basically I have
I am a little confused about Accept-Encoding . I have Web Service which would
I still get a little confused when it comes to selectors and patterns... Basically,
I'm a little confused when it comes to socket servers in terms of deploying
I'm a little confused about how EGit workes. I have an existing git repository
OK, I am a little confused. I have a subclass of UIScrollView, which is
I'm a little confused about the Swing painting model. Suppose that I have a
I'm a little confused, when I try to Bind a Function to an event
I am a little confused in my about permissions, in my dev environment 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.